GPS function not returning Longitude reading

Discussions about CSEntry
Post Reply
jbthompson21
Posts: 18
Joined: April 2nd, 2015, 4:05 pm

GPS function not returning Longitude reading

Post by jbthompson21 »

Hi everyone, I am in the final stages of testing a survey I've designed and I am using Samsung Galaxy Tab 4 7" tablets running the newest version of CSEntry and although the GPS receiver is on and my code seems to be fine (it has worked in the past on other surveys) for some reason it is giving me longitudinal coordinates. It gives me good reading for latitude and altitude. Can't seem to figure out what the problem is. Has anyone else had this issue?

Thanks
Gregory Martin
Posts: 1948
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: GPS function not returning Longitude reading

Post by Gregory Martin »

Are you sure that the variable that you are assigning the longitude to can fully support the values that you are receiving? Longitudes can range from basically -180 to 180, so make sure that your dictionary variable has at least four digits before the decimal. I've seen programs that have dictionaries that only support two or three digits before the decimal, and this won't support all longitude values.
Post Reply