From 5c490a50e802496d9b917d61a1fa68e1a30154c2 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Mon, 25 Jul 2022 08:30:54 +0200 Subject: [PATCH] gdal_contour: add page (#8200) * gdal_contour: add page * Apply suggestions from code review Co-authored-by: Reinhart Previano Koentjoro Co-authored-by: Reinhart Previano Koentjoro --- pages/common/gdal_contour.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/gdal_contour.md diff --git a/pages/common/gdal_contour.md b/pages/common/gdal_contour.md new file mode 100644 index 0000000000..d197cd7559 --- /dev/null +++ b/pages/common/gdal_contour.md @@ -0,0 +1,12 @@ +# gdal_contour + +> Create contour lines and polygons from a digital elevation model. +> More information: . + +- Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as "ele": + +`gdal_contour -a {{ele}} -i {{100.0}} {{path/to/input.tif}} {{path/to/output.gpkg}}` + +- Create a vector dataset with [p]olygons spread over an 100-meter [i]nterval: + +`gdal_contour -i {{100.0}} -p {{path/to/input.tif}} {{path/to/output.gpkg}}`