Page 1 of 1

GPS function not returning Longitude reading

Posted: June 1st, 2015, 1:04 pm
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

Re: GPS function not returning Longitude reading

Posted: June 7th, 2015, 3:37 pm
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.