[gdal-dev] gdal raster reclassify error
Scott
public at postholer.com
Sun Aug 31 16:53:09 PDT 2025
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 use "--mapping=@classify.txt"
>
> gdal raster reclassify --input=source.tif --mapping=@classify.txt --
> output=target.tif
>
> Please see https://gdal.org/en/stable/programs/
> gdal_raster_reclassify.html#cmdoption-m
>
> Regards.
>
> Andrea
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list