Is it possible to use 1 wifi access point to locate android mobile or would i need 3 to triangulate? - geolocation

I'm working on a project but i want to try if i can locate my position using 1 wifi access point because i only have 1 at home, or would i need to go somewhere where there are atleast 3?

It depends on how accurate you need the reading to be. A typical wi-fi point will have a range of something like 30m indoors or 90m outdoors.
So, if you can actually locate the wi-fi point perfectly and you don't need better than 90m resolution (although, technically, that's probably an up-to-180m error), one should be fine.
If you need more resolution, the more points you can get (assuming of course the points aren't sitting on top of one another in a rack or something) should allow you to refine your position.

It is like xyz coordinate system. With one Wifi AP you will know the distance from the AP but not the direction. With two wifi APs you will know the location within a 2d plane (only the positive plane). You will need a third wifi AP for the 3rd dimension.

Related

Indoor Atlas: iOS SDK doesn't give accurate position when device stops moving

I downloaded the Indoor Atlas iPhone SDK and also generated path maps and test paths for my venue. SDK navigates me perfectly when I am moving from one place to another but when I stop moving it generates scattered output with the position radius from 10 to 25. I am expecting precise co-ordinates in both the above cases in my project.
Is there any way to get more precision?
IndoorAtlas technology is using the history of magnetic field observations for computing the precise location. This means that the device needs to move some distance in order to collect enough data to converge to a correct location estimate, i.e., to have a location fix. We are constantly improving our service to decrease the time needed for the first location fix.
If you experience your position moving after you've already stopped walking yourself, please contact support#indooratlas.com with details of your application and venue where this is experienced and we'll look into it. Thanks!

How to build inhouse map navigation for iOS application?

I have a requirement mentioned below:
Already have a floor plan map image
First detect current location on floor
Then select the destination location using floor plan map image
Now application should provide direction & distance for that source to destination path
This is like how google direction works, but its in-house map require.
For example,
- Current position of user is: At his desk
- Where is Meeting Room #11
- So application should provide direction and distance updates on the map/floor plan image.
Any kind of suggestions/help would be great.
Thanks in advance
Couple of points...
You could create various audio files and play them as way points based on routing. Same principal as 'turn right at the next light'.
Definitely want to set your accuracy to: kCLLocationAccuracyBest. But this will still probably only get you accuracy of around +/- 10 meters at best.
Do a floor plan overlay using MapOverlayView.
If you are indoor, iPhone uses cell towers or WIFI for a location fix. This might be a problem for you because if you are looking to map multiple floors, only GPS can give you altitude readings - ground floor, second floor, etc...
I don't want to pour cold water on your idea but I have not heard of anyone successfully doing an indoor navigation app on an iPhone using standard stuff. If you really wanted to move forward on this project, your best accuracy might be using indoor bluetooth transmitters as navigational beacons...?
What you want is path-planing in the map, is that? If so, there is lot of algoritms you can use. You can choose a block size based on your map and resolution needs, divide de map into this, amd mark each block as navegable or not. Then getting from the first block trying in the direction of the destionation block, check if the neighboor block is blocked or not, and get going, until you reach (or not, if its not reacheable) the destination block.
Thats a pseudo-implementation, you have some option to do it, if I understand your needs.
(I dont know your hardware as said by others, with simple GPS and indoor navigation, assuming a 15m resolution is a good balance between optimistic/pesimistc signal, If its for robot-navigation, its not a goos approach in the GPS terms, but the algorimt is).

iOS Accelerometer and Spacial Navigation?

I'm trying to build a web app specifically for iOS that relies on accelerometer data for navigation. (A site that you could theoretically move through (from page to page) spatially.)
For example, taking a step (or moving the device) forward would take you to one web page or URL, and left, right, or backwards would take to their own unique URLs. Any ideas on how to make this happen?
I spent quite a lot of time looking in to this for an experiment I was writing.
The trouble is that it is very hard/impossible to get an accurate (or even approximate) location in space from your device.
The trouble is that the device measures acceleration which needs a couple of calculations to get down to position.
You can use this value to measure location relative to a start point but the next problem is the noise that the accelerometer receives.
The closest I could get to getting it working was to smooth out the noise of the accelerometer and then calculate back to try and determine location. But due to the noise I found that the device would constantly think it was moving in one direction.
After a number of days of trying different methods I determined that it really isn't possible without external tracking of the device.
What you can do is use the orientation of the device to navigate. i.e. tilt forwards, tilt backwards, tilt left, tilt right do do different things.

iOS Dev: Map Offset in China

I made a very simple APP in which I can throw a pin right onto the location I am standing at (just a beginner's practice). But I found a problem.
I swear neither I was moving nor the device thought I was moving. And I directly use the geolocation to set the pin. but the pin and the current-location blue point are hundreds of meters apart.
(By the way, the blue point expressed my real location at the time.)
This is a famous problem of Google Map on iOS in China. Put aside the complicated issue of the so-called national security, where I want help is what should we do as a developer. Technically, is there a way, in programming, to figure out what exactly the offset is and correct it?
Does anyone have any idea?
At what time did you place the pin? iOS has up to three sources of location data (cell tower triangulation, Wifi sniffing and GPS) and will keep you up to date with the most accurate. So often you get a not very accurate location, then a more accurate location, then an even more accurate location.
If you have a MKMapView open then something you can do is key-value observe on its userLocation property rather than starting any sort of CLLocationManager. That way you'll always be updated with whatever the map view has decided is the current location, meaning that you don't need to try to match your logic to its.
I did some research on the offset, but haven't gotten a satisfying result yet. The added offset is deterministic, i.e. given a location, the deviated location is fixed. So my goal is to get the deviation function, f(p)=p', where both p and p' are 2D points. You can check here if you are interested.

iphone map kit indoors?

i'm trying to develop a small application that is able to track the position of the user indoors. I also want to create a small map of the building floor, so the user can see a image of it and his/her current position as they travel though the building. They would be able to connect via wifi.
Are there any tutorials/examples of how to create a navigational map indoors on the iphone? furthermore is it possible to accuratly track the position of the player by the use of wifi indoors?
Your second question is IMHO much more crucial, and the answer is "not very easily, and not very accurately". You'd have to see multiple APs (4+) located at well known positions at the same time, and triangulate your position from the signal strengths. This would also require that the phone scans for networks all the time but doesn't connect to any.

Resources