Conversation
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
| Define a fixed value to be written in the output pixels that are within the | ||
| specified maximum distance from the target pixels, instead of the actual distance. | ||
|
|
||
| .. option:: --nodata <NODATA> |
There was a problem hiding this comment.
Use --dst-nodata for consistency with other commands ?
|
|
||
| .. option:: --nodata <NODATA> | ||
|
|
||
| Nodata value for the output raster. If not specified, the nodata value of the input band will be used. |
There was a problem hiding this comment.
What happens if the input band does not have a NoData value?
There was a problem hiding this comment.
According to https://gdal.org/en/stable/programs/gdal_proximity.html 65535 is used but let me write a few tests for that: I doubt that it will work with Byte output type.
There was a problem hiding this comment.
Tests added and documentation expanded.
| georeferenced units (meters or degrees) using the pixel size of the input raster. | ||
| Otherwise, the distance is interpreted in pixels. | ||
|
|
||
| .. option:: --fixed-buffer <FIXED-BUFFER> |
There was a problem hiding this comment.
This option name isn't very clear to me (although the description is.) Would --burn be appropriate, as in gdal vector rasterize ? Or --write-value ?
There was a problem hiding this comment.
I'm happy to change it, burn means nothing to me (besides reminding of a fire). Wouldn't perhaps --fixed-value be more appropriate to convene the meaning that we are writing a fixed value instead of the varying distance?
|
|
||
| Nodata value for the output raster. If not specified, the nodata value of the input band will be used. | ||
|
|
||
| .. option:: --respect-input-nodata |
There was a problem hiding this comment.
I have removed the argument completely.
| .. option:: --fixed-buffer <FIXED-BUFFER> | ||
|
|
||
| Define a fixed value to be written in the output pixels that are within the | ||
| specified maximum distance from the target pixels, instead of the actual distance. |
There was a problem hiding this comment.
Could it be then just fixed-value?
There was a problem hiding this comment.
Could it be then just
fixed-value?
I like it!
Co-authored-by: Even Rouault <even.rouault@spatialys.com> Co-authored-by: Dan Baston <dbaston@gmail.com>
|
follow-up: make proximity pipeline compatible done in #12375 |

Uh oh!
There was an error while loading. Please reload this page.