Skip to content

Commit

Permalink
Update gdal_rasterize.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Mar 19, 2024
1 parent 161af8f commit 4377ce2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/source/programs/gdal_rasterize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Description

This program burns vector geometries (points, lines, and polygons) into the
raster band(s) of a raster image. Vectors are read from OGR supported vector
formats.
formats. If the output raster already exists, only the parts with input vector
geometries are updated.

Note that on the fly reprojection of vector data to the coordinate system of the
raster data is only supported since GDAL 2.1.0.
Expand Down Expand Up @@ -200,7 +201,8 @@ raster data is only supported since GDAL 2.1.0.
.. option:: <dst_filename>

The GDAL supported output file. Must support update mode access.
This file will be created (or overwritten if it already exists).
This file will be created if it does not already exist.
If it already exists, only the parts with input vector geometries are updated.

The program creates a new target raster image when any of the :option:`-of`,
:option:`-a_nodata`, :option:`-init`, :option:`-a_srs`, :option:`-co`, :option:`-te`,
Expand Down

2 comments on commit 4377ce2

@jratike80
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My English is not good but I dare to say that this could be expressed better. My trial:
"If the output raster already exists, the affected pixels are updated in-place."

@rouault
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"If the output raster already exists, the affected pixels are updated in-place."

thanks, yes better. committed in 141def5

Please sign in to comment.