[gdal-dev] Re: 254 into 255
Etienne Tourigny
etourigny.dev at gmail.com
Thu Oct 27 08:48:35 EDT 2011
You can also modify the existing val_repl.py script, which modifies a
specific value found in an input dataset. You would have to modify it
because it changes the values for all bands, which is different from
your case, that all bands must have that value (254). The doownside
is that it's a little slow.
http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/val_repl.py
Etienne
On Wed, Oct 26, 2011 at 2:03 PM, joolek <joolek.o at gmail.com> wrote:
> Hi I basically want to convert all the 254 254 254 into 255 255 255... is
> this possible?
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/254-into-255-tp6931988p6933182.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list