[Freegis-list] SRTM to contourlines

Frank Warmerdam fwarmerdam at gmail.com
Wed Feb 16 19:06:24 CET 2005


On Wed, 16 Feb 2005 18:35:03 +0100, Martin Vigerske <martin at vigerske.de> wrote:
> Hi,
> 
> I am looking for a free tool to convert SRTM-Data (a GeoTiff from GLCF)
> to contourlines (as dxf or an other vector-format).
> 
> I tried GRASS, but couldn't manage it yet.
> 
> Maybe there is a free tool out there?

Martin,

You can use the gdal_contour command from GDAL to accomplish this. 
The main downside of the gdal_contour command is that it produces 
very dense contours (1 line segment for each pixel crossed by the contour).

It can be found as part of the pre-build FWTools suite if you wish. 

  http://fwtools.maptools.org/

Details on gdal_contour can be found at:

  http://www.gdal.org/gdal_utilities.html#gdal_contour

I would add that gdal_contour products contours in any GDAL/OGR writable
vector format, which does not include DXF.  The default output is Shapefiles. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)