High-level method for offline future road elevation data

المشرف العام

Administrator
طاقم الإدارة
I am new to GIS, so please do not hesitate to call me out in providing limited information.

I have a .tiff Terrain (elevation) data file for the east coast of the US and a .osm.pbf OSM file for North America. My objective in Python is as follows:

  1. Using a gps coordinate, get the closest road a vehicle could be on (using the .osm.pbf OSM data?)
  2. Get the gps coordinates for this road for the next and previous 5 miles
  3. Finally, use these future road gps coordinates to get the estimated elevation data for the road (using the .tiff Terrain data?).
Requirements: Only offline use. (Ex. Can't use Google snap to road APIs)

I've been playing with the .tiff in QGIS and using the profile tool to draw polylines and seeing the elevation over the line. I've also been reading up on programming with it using Python.

I'm looking for some advice on completing #1 and #2 and if it is doable with QGIS (is there QGIS compatible road data?) or will I have to interface with a pbf analyzer like "imposm.parser"?

There is a similar question, but it deals with different file types and is geared more towards step 3: Extract Elevation of Points from DEM using Python QGIS or GRASS



أكثر...
 
أعلى