variables to capture gps coordinates
variables to capture gps coordinates
What must be the length and data type for variables to capture gps coordinates.
-
- Posts: 1812
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: variables to capture gps coordinates
Latitude and longitude are numeric values. Personally, when using a decimal character in my dictionary, I make the fields length 14 and set the number of decimals to 9. That way you can safely store the maximum and minimum longitudes, which go from -180 to 180.
Re: variables to capture gps coordinates
Thank you Martin
Re: variables to capture gps coordinates
my variables (latitude and longitude) are numeric of length 14 with 9 decimals. But after exporting data to spss, the two variables are blank. What can be again the problem Please help
Re: variables to capture gps coordinates
Are the variables blank when you open the CSPro data file in DataViewer? If not, are they blank in the .dat file generated by CSExport? Do you see any warnings or errors in the listing file generated by export (CSExpRun.lst)?
Re: variables to capture gps coordinates
I discovered the problem. When exporting, i should check the "use comma for decimal mark" option in "additional options" group. Everything is okay now.