the rasterize command discussed in the last post.
I decided to generate a set of 10m contours as a shapefile using the following command:
- -b 1 selects the band of the image to process, which defaults to 1
- -a elevation is the name of the contour elevation attribute which will be created
- -snodata -9999 tells GDAL the value of nodata cells in the input raster, so they can be ignored
- ns67ne.tif contour.shp are the input and output files, respectively
- -i 10 is the spacing between each contour