get speed limits from OpenStreetMap

后端 未结 3 1327
不知归路
不知归路 2021-02-05 18:39

I\'m creating a mobile app that determines if someone if a good driver. The phone sits on the dashboard and collects GPS information while the user is driving. I need to determi

3条回答
  •  清酒与你
    2021-02-05 19:25

    There is a maxspeed tag that is used to for roads and waterways in the OpenStreetMap data (link). The OSM data itself is available in a number of formats. The easiest to get started with is the human readable XML format which can be exported directly from OpenStreetMap.org. below is an example entry for The Strand in London showing the data format and how maxspeed is expressed.

    
      
      
      
      
      
      
      
      
      
    
    

提交回复
热议问题