[gdal-dev] gdal raster reclassify error

2025-08-31 Thread Scott via gdal-dev
GDAL 3.11.3, Debian 12, using the following command and mappings directly from the docs page (or my own) I get the following error: gdal raster reclassify --input=source.tif --mapping=classify.txt --output=target.tif ERROR 1: Interval must start with '(' or ']' classify.txt: # remap land co

Re: [gdal-dev] gdal raster reclassify error

2025-08-31 Thread Scott via gdal-dev
Doh! I'm an idiot. Thanks! On 8/31/25 16:13, Andrea Giudiceandrea via gdal-dev wrote: Il 31/08/2025 21:24, Scott via gdal-dev ha scritto: gdal raster reclassify --input=source.tif --mapping=classify.txt -- output=target.tif ERROR 1: Interval must start with '(' or ']' Hi Scott, you need to

Re: [gdal-dev] gdal raster reclassify error

2025-08-31 Thread Andrea Giudiceandrea via gdal-dev
Il 31/08/2025 21:24, Scott via gdal-dev ha scritto: gdal raster reclassify --input=source.tif --mapping=classify.txt --output=target.tif ERROR 1: Interval must start with '(' or ']' Hi Scott, you need to use "--mapping=@classify.txt" gdal raster reclassify --input=source.tif --mapping=@class