Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a webservice which get GPS data (lat/lon) from android phone every 30 sec. The webservice (currently) write the data to local log file (any format I decide). which format/way will be best to read and refresh the layer every X seconds to show the location of the phone on OpenLayers OSM layer ?

share|improve this question
    
I think the most "digestible" format is GeoJSON –  Gery May 25 '13 at 20:47
add comment

1 Answer

up vote 0 down vote accepted

I think for that a simple JSON with the lat/lon can do the work. Also it's something light, so it won't consume a lot of bandwidth from the phone.

If you want something more complete you can go to GeoJSON, that also would work.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.