Select to view content in your preferred language

Determining location via wifi if gps not available

465
2
05-13-2013 10:11 AM
SimonFisher
Frequent Contributor
It looks like the the ArcGIS runtime WPF API only supports looking for GPS devices connected to a serial port for location. 
Is there anyway of getting location based on wifi or cell triangulation if gps is not available?
Or do I need to implement my own code using .Net 4 location api?
System.Device.Location -  http://msdn.microsoft.com/en-CA/library/system.device.location(v=vs.100).aspx
If so has anyone done this with success or have a sample?
0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

I believe there's a component called Geosense for Windows which hooks into WIFI services to determine location. It integrates with the Windows Sensor and Location platform. You might find the GPSLayer just works in that case, having been given a more accurate location fix from Windows. Or, you may need to investigate writing your own GeocoordinateWatcher that you can use in conjunction with the GPSLayer, see http://www.sharpgis.net/post/2010/12/09/Simulating-GPS-on-Windows-Phone-7.aspx for a good example.

Cheers

Mike
0 Kudos
BrianLocke
Frequent Contributor
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/8970b8d2-eeb4-48bd-b883-18b75fb47b74/

I am still trying to figure this stuff out 😞 with windows 8 and in the Runtime you may be able to use just the simple GPS Layer if you read through all the MSDN and ESRI docs as the GPS Layer uses GeoPositionWatcher, and I think that the the Windows Location may be used for WiFi at least this is where I am Stuck like Mike was Saying I think that I may be on the Right track????
0 Kudos