Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 16, 2025
1 parent 26d9230 commit d5a1040
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/source/programs/gdal_contour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Examples
This would create a single polygonal contour between 10 and 20 meters from the DEM data in :file:`test.asc`
and produce a GeoJSON output with the contour min and max elevations in the ``min`` and ``max`` attributes.
.
If the minimum and maximum values from the raster are desired, the special values `MIN`` and `MAX``
(case insensitive) can be used:
Expand All @@ -239,7 +239,7 @@ Examples
This would create three polygonal contours from the DEM data in :file:`test.asc` and produce a GeoJSON output
with the contour min and max elevations in the ``min`` and ``max`` attributes, the values of these fields will
be: (4.0, 10.0), (10, 20.0) and (20, 36.0).
be: (4.0, 10.0), (10, 20.0) and (20.0, 36.0).
.. example::
Expand All @@ -258,8 +258,9 @@ Examples
$ gdal_contour test.asc -f GeoJSON /vsistdout/ -i 10 -fl 15 -p -amin min -amax max
This would create 10-meter polygonal contours from the DEM data in :file:`test.asc` and produce a GeoJSON output
with the contour min and max elevations in the ``min`` and ``max`` attributes, the values of these fields will
be: (4.0, 10.0), (10, 15.0), (15, 20.0) and (20, 36.0).
Creates contours at regular 10 meter intervals and adds extra contour for a fixed 15 m level.
Finally turns areas between the contours into polygons with the contour min and max elevations
in the ``min`` and ``max`` attributes, the values of these fields will be:
(4.0, 10.0), (10, 15.0), (15, 20.0), (20.0, 30.0) and (30.0, 36.0).

0 comments on commit d5a1040

Please sign in to comment.