aaigrid display problem

Frank Warmerdam warmerdam at POBOX.COM
Fri Nov 9 09:39:04 EST 2007


Gambin Dejan wrote:
> Hi,
> 
>  
> 
> Unfortunatelly, I know almost nothing about the Arc/Info ASCII Grid 
> format, but I need to display it correctly if possible. I have a sample 
> .asc file. I am trying to display it and it works but it gets displayed 
> in grayscale, no color present and it should since I have a jpeg example 
> that is different.
...
> I see the „ColorInterp =Undefined“ but since I have no knowledge on this 
> format I don't know if this is the reason.
> 
> Any help would be greatly appreciated

Dejan,

An ascii grid file has one band and no color table which is why it is
drawn in greyscale.  If you want it colored you will need to use
classes.  Read up on classification in the Raster Data Access HOWTO.

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    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list