Questions tagged [gdal-contour]

Command line utility to generate vector contour lines from a raster elevation model.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Calling Gdal contour from python/ipython

Hello I am trying to patch process a folder full of ASCs to contours using Gdal from python. here is my code; import os import glob PATH1 = raw_input("folder containing ASCs path please:") ...
3
votes
2answers
4k views

How can I extract contours from a raster with Python?

I currently run gdal_contour as a Python subprocess to extract contours from a raster file, but would like to achieve the same function with a combination of Rasterio, Shapely and Fiona. However, ...
1
vote
1answer
63 views

Batch Processing Contour Lines in QGIS

I'm trying to create contour lines at 40 meter intervals from 60 different DEM Contour Shaded files. Rather than doing them 1 by 1 I have tried using the batch process but I don't get any results as I ...
4
votes
3answers
882 views

QGIS alternatives to GDAL contours to polygons

I have Windows 7 running 3.10.2-A Coruña. The only success I have had in creating nested polygons from a raster dataset is using GDAL with -p to create polygons. However, I recently cancelled the ...