How to get all gps points on a road from osm data?

المشرف العام

Administrator
طاقم الإدارة
I'm trying to extract gps points on roads in a region. For each road, I need a gps point on that road every 10 meters.

I'm aware that Google Map API offer such way points, but due to the latency-sensitive nature of this application and amount of data needed, I cannot afford to do network communications to Google server.

I came across OSM this wonderful opensource map data. But as a newbie, it's very unclear how I can extract gps points on roads from OSM. I know roads are stored as "line string" with keyword "highway". Some geojson file includes start and end gps locations for each road. But how do I extract all gps points (Lat,Lng) along the road? Any help or pointers are highly appreciated.



أكثر...
 
أعلى