Page 1 of 2

GPS tool

Posted: October 30th, 2014, 2:49 am
by imade
Hi,
I have a data dictionary that consistes of : my item set + gps coordinate. Actually, I'm looking for tools that can help me to map (display and track) the mobility of my operators by reading the exported data from my dictionary. do you have any idea about that ?

thanks

Re: GPS tool

Posted: October 30th, 2014, 5:24 pm
by Gregory Martin
Are you trying to map these reading on Windows or on Android?

Google Earth or Maps has a file format where it's really easy to write out geographic points to then view in that software / on the Internet. That's a free option.

Of course, if you export the latitudes and longitudes to a format like .csv, you'll be able to use it with many software products, including ArcGIS.

Re: GPS tool

Posted: November 1st, 2014, 9:20 am
by imade
I'm typing on Android.
Thanks for help. I'm now trying "Batch Geocode", it's very easy, it uses csv file with the following format :
AddressName, Address, City, State

but in my files i have the following format :
Longi, latit, itemId

can i convert this geo coordinates using a specific tool ?

thanks

Re: GPS tool

Posted: November 3rd, 2014, 9:53 am
by imade
This problem has been solved by specific development using HTML and Javascript.
Now, we can track all operators using google maps.

Thanks for all

GPS Reading

Posted: December 4th, 2014, 2:40 am
by tvr557
Hi

I need to Capture GPS in the attached program in Andriod Tab Leneovo A1000


I have Pasted GPS coded in Global and Under Latitude variable in Preproc added user button for reading GPS
Please Help me

Re: GPS tool

Posted: December 4th, 2014, 8:00 am
by josh
With only the .pen we cannot see your CSPro logic to determine what the problem is. Please post the entire application (you can use Pack Application from the Tools menu in CSPro to create a zip file of everything).

Re: GPS tool

Posted: December 5th, 2014, 1:53 am
by tvr557
Hi

Here is the application , Also I want ,Need logic for automatic generation of HHNo Respective of Intv_Code

Regards
Rajesh

Re: GPS tool

Posted: December 5th, 2014, 7:56 am
by josh
It seems like CSPro doesn't like it if you set the value of the LATITUDE field from a userbar button while you are in that field. It works fine if I call the GetGPS() function directly from the preproc of LATITUDE or if I create and use the userbar button in a different field. How about if instead of using the userbar you just use errmsg to prompt the user that they are about to take the GPS reading and need to get to a place where the view of the sky is not obstructed:

Code: Select all

PROC LATITUDE
preproc

errmsg("Please take a GPS reading. Make sure you have a clear view of the sky"), select("OK",continue);
GetGPS();
If you really want the userbar button then create a dummy GPS field before LATITUDE, create the userbar button there and make LATITUDE and LONGITUDE protected.

Re: GPS tool

Posted: December 6th, 2014, 4:25 am
by tvr557
I am Getting Eror Code (-27) UNabe to read GPS Corrdinates

Re: GPS tool

Posted: December 6th, 2014, 8:29 am
by josh
Does the message pop up saying "Obtaining GPS location" or do you get the error right away?

Make sure that GPS is enabled in you Android settings. On my tablet this is under Settings-->Location Services-->Use GPS satellites. Also make sure that you have unobstructed view of the sky. It usually won't work if you are inside.