1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

gdal_contour: add page (#8200)

* gdal_contour: add page

* Apply suggestions from code review

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>

Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
This commit is contained in:
Jakob Miksch 2022-07-25 08:30:54 +02:00 committed by GitHub
parent 611e628e61
commit 5c490a50e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,12 @@
# gdal_contour
> Create contour lines and polygons from a digital elevation model.
> More information: <https://gdal.org/programs/gdal_contour.html>.
- 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}}`