[OSM-talk] srtm2shp - Shapefiles from SRTM contours - new version
Nick Whitelegg
nick at hogweed.org
Sat Jan 19 21:15:41 GMT 2008
> Hello Artem,
>
> Sorry only just seen this email. Was away in the Lake District at the time,
> and it must have got lost amongst all the osm mail I received over last
> weekend.
>
> I'll get back to you later this evening on the parameters. Yes, owuld be
> good to work on void fixing. Just really need some sort of reference to the
> maths to get started....
>
> Nick
Hello Artem,
Here are the details on the parameters:
Usage: srtm2shp -b comma_separated_bbox [-I InCoordFormat] [-O OutCoordFormat]
[-i height_interval] [-S step] [-f] [-l srtmlocation] shpfile
-I is the input coordinate format, i.e. the coordinate format of the supplied
bounding box. This can either be Mercator (non spherical, as used in the OSM
postgis database) or latlon.
-O is the output coordinate format, i.e. the coordinate format that will go
into the shapefile. Again this is either Mercator or latlon.
-i is the height interval of the contours. Contours are in metres unless -f is
specified, in which case they are in feet.
The shapefile is generated tile by tile (otherwise too much memory is used).
-S (the "step") is the dimension of this tile, by default it's 10000 for
Mercator or 0.1 for lat/lon. It's unlikely you need to change this.
Hope that helps,
Nick
More information about the talk
mailing list