Skip to content

abolhoseinisina/fetch_HERE_speedLimit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script reads a road spatial layer and retrieves the speed limit (in KPH) for each road section using the HERE API. To use this script:

  1. Install required Python dependencies: pip install -r requirements.txt
  2. Obtain a HERE API key from HERE
  3. Enter your API key in the script by setting the HERE_API_KEY variable.
  4. Place your spatial layer (in Shapefile, JSON, GeoJSON, or KML format) in the data folder.
  5. Update the ROAD_LAYER_PATH variable in the script to match your spatial layer’s filename. If not specified, the sample file LRS_HIGHWAY_NETWORK_2018.kml will be used.
  6. Run the script: python main.py

About

Read a road layer and retrieve the speed limit for each segment using the HERE API.

Topics

Resources

License

Stars

Watchers

Forks

Languages