Derek,

You can add this info as meta-data tags. You will have to define your own
names for the keys. Something like pix_1_class, pix_2_class, etc.

To add these you can use the -mo option with gdal_translate[1] or use a vrt
file[2]. You can create such a vrt file using gdal_translate too by setting
the output format (-of) to VRT.

[1]: http://www.gdal.org/gdal_translate.html
[2]: http://www.gdal.org/gdal_vrttut.html

On Tue, Jul 24, 2012 at 7:27 PM, jdmorgan <jdmor...@unca.edu> wrote:

> Hello,
> I was hoping someone could help me out.  I have a raster .img file. with
> existing pixel values.  Those values are integer, but are classed to string
> values not currently in the same .img file.  For example pixel value 2
> means ClassTwo. Is it possible to add the string values (a new field) onto
> the raster .img file?
>
> Thanks,
> Derek
> ______________________________**_________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to