[Gdal-dev] setting "thematic" flag for IMG

Frank Warmerdam fwarmerdam at gmail.com
Mon Jan 10 11:27:06 EST 2005


On Mon, 10 Jan 2005 11:03:23 -0500, Stephane Routelous <route at cae.com> wrote:
> Hi everybody,
> 
> I'm reading a thematic img image and I'm modifying some pixels.
> The problem is that when I write back the modified file, the layerType is
> set as "athematic".
> Is there a way to force the written image to be "thematic" and not
> "athematic" ?

Stephane, 

Currently the layerType is set to athematic by default, and only reset to
thematic if you write a pseudocolor table to the band.  It wouldn't be
hard to add access to the layerType for getting and setting via metadata
if you need to be able to set it.

I should be able to implement it today or tomorrow if you decide you 
need the ability. 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list