Page 1 of 1
Location search
Posted: February 1st, 2016, 1:52 am
by MrTaco
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
Re: Location search
Posted: February 1st, 2016, 6:45 am
by josh
I think you will need to explain what you mean.
Re: Location search
Posted: February 2nd, 2016, 1:33 am
by MrTaco
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...
Re: Location search
Posted: February 2nd, 2016, 6:35 am
by josh
You want CSPro to tell you the name of the town you are in?
Re: Location search
Posted: February 2nd, 2016, 7:53 am
by MrTaco
the function that i can use to extract to location
Something like this: execsystem("gps:38.8977,-77.0365,Cape Town");
Re: Location search
Posted: February 3rd, 2016, 7:14 am
by josh
Sorry, I still don't understand what you are asking to do. Does execsystem with gps coordinates like you wrote above not work?
Re: Location search
Posted: February 3rd, 2016, 11:40 am
by Gregory Martin
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.