Srtm2Osm tool uses Shuttle Radar Topography Mission (SRTM) digital elevation model (DEM) to generate elevation contours (isohypses) of a selected terrain. The tool writes contours as OSM ways into an OSM file. This then enables rendering of the terrain using Osmarender XSLT transformations or other OSM renderers.
Since there is no information provided whether this repository accepts pull requests (no README, or Code of conduct or Contributing available), I use this issue to hopefully get an answer...
I use a modified version of Srtm2Osm that is based on version 1.13.
While having problems with two hgt files, I found this repository here and with version 1.16 Srtm2Osm works well.
My modified version of Srtm2Osm has an (optional) parameter -first <elevation> to define the minimum elevation level to create contours for.
Is use this parameter together with -set like this:
for 10m contours: -step 10 -first 10
for 20m contours: -step 20 -first 20
The reason is to avoid 0m contours and contours below sea level for regular maps.
For maps with land below sea level this parameter must be omitted.
If there is a chance that my enhancement will be integrated, I can provide a pull request.
Since there is no information provided whether this repository accepts pull requests (no README, or Code of conduct or Contributing available), I use this issue to hopefully get an answer...
I use a modified version of Srtm2Osm that is based on version 1.13.
While having problems with two hgt files, I found this repository here and with version 1.16 Srtm2Osm works well.
My modified version of Srtm2Osm has an (optional) parameter
-first <elevation>
to define the minimum elevation level to create contours for. Is use this parameter together with-set
like this:-step 10 -first 10
-step 20 -first 20
The reason is to avoid 0m contours and contours below sea level for regular maps. For maps with land below sea level this parameter must be omitted.
If there is a chance that my enhancement will be integrated, I can provide a pull request.