Re: [gdal-dev] add string field to img

2012-07-24 Thread Chaitanya kumar CH
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 settin

[gdal-dev] add string field to img

2012-07-24 Thread jdmorgan
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 fiel