Hi Guys
I need a code on how to search for location or area via GPS, instead of longitude?
i know longitude and latitude already
Thanks
Thabiso
Location search
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Location search
I think you will need to explain what you mean.
-
MrTaco
- Posts: 128
- Joined: November 18th, 2014, 1:55 am
Re: Location search
Let's say am doing a survey in Ohio and i want to locate the area am at, and i want my tablet to search the automatically...
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Location search
You want CSPro to tell you the name of the town you are in?
-
MrTaco
- Posts: 128
- Joined: November 18th, 2014, 1:55 am
Re: Location search
the function that i can use to extract to location
Something like this: execsystem("gps:38.8977,-77.0365,Cape Town");
Something like this: execsystem("gps:38.8977,-77.0365,Cape Town");
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: Location search
Sorry, I still don't understand what you are asking to do. Does execsystem with gps coordinates like you wrote above not work?
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Location search
There is no way to directly lookup the city / location where you are located using the GPS coordinates. There are web services that will do this for you, but you could not call them directly from within CSEntry.
If your survey were in a location and you knew all the city names for that area, you could use the gps(distance,...) function, with the cities and the coordinates of those cities stored in a lookup file, to figure out the closest city to your position.
If your survey were in a location and you knew all the city names for that area, you could use the gps(distance,...) function, with the cities and the coordinates of those cities stored in a lookup file, to figure out the closest city to your position.