[OSM-dev] SRTM Contour generation and height labelling
Nick Whitelegg
nick at hogweed.org
Sun Feb 11 18:47:08 GMT 2007
On Sunday 11 Feb 2007 15:20, you wrote:
> Thanks, I can build srtm2shp no probs. Could you send me an examle
> srtm2shp invocation, please. Are easting/northing in BNG? Or Mercator?
> It looks like in SRTMConGen::generateShp, instead of outputing LINEs, we
> can collect them, connect where possible and then write polylines to the
> shapfile.
>
> I'll try to write something up this evening.
>
> Cheers,
> Artem
Hello Artem,
srtm2shp easting northing scale width height interval shpOut extendFactor
easting, northing are in BNG.
scale is pixels/km.
width and height are in pixels, these are to work out the area to create in
the shapefile. It's done this way as the code also generates PNGs.
interval is contour interval (ft)
shpOut - output shapefile, obviously :-)
extendFactor - factor to extend the defined area (so that segments which
extend out of the defined area can be included). I used 0.25.
Nick
More information about the dev
mailing list