ESRI ASCII GRID format

Francesco Sozzi fsozzi at INTERCAD.CH
Tue Feb 21 06:30:22 PST 2006


Thank you for fast answer, I will take a try

Best regards

Francesco

----- Original Message ----- 
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Francesco Sozzi" <fsozzi at INTERCAD.CH>
Cc: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Tuesday, February 21, 2006 3:19 PM
Subject: Re: [UMN_MAPSERVER-USERS] ESRI ASCII GRID format


> Francesco Sozzi wrote:
>> Hi all,
>>  Anybody knows if are there any way to show ESRI ASCII GRID FILES with 
>> mapserver?
>
> Francesco,
>
> They should work "out of the box" if you have GDAL support built in.  Just
> put the name of the grid file in your DATA statement like for any raster 
> file.
>
> Now, there may be an additional issue.  ESRI ASCII Grid files are often 
> not
> 8bit.  That is the raster values are often outside the range 0-255.  If 
> this
> is the case, special issues around scaling the values for display apply. 
> You
> should read the Raster Access HOWTO to know more about how to deal with 
> this
> though the brief solution is often fine to get something on the screen:
>
> The brief solution is add the following in your raster layer.
>
>   PROCESSING "SCALE=AUTO"
>
> 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 MapServer-users mailing list