Projections with ARCINFO Grids

Frank Warmerdam fwarmerdam at GMAIL.COM
Wed May 4 12:44:05 PDT 2005


On 5/4/05, Aaron Racicot <aaronr at ecotrust.org> wrote:
> Frank,
> 
> Thanks for the quick reply...
> 
> It turns out that 'PROJECTION "AUTO" END' does work and my maps are
> displaying great.  I just hope the functionality stays working in future
> versions!

Aaron,

Cool.  I thought I had tried this recently and found that it wasn't
working any more but I could be wrong.  

> In the case of my previous example, the new mapfile layer def is:
> 
>   LAYER
>     DATA "siuslaw/data_cd/region/shd90/"
>       METADATA
>       END
>     NAME "siuslaw_data_cd_region_shd90"
>     SIZEUNITS PIXELS
>     STATUS ON
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     TYPE RASTER
>     UNITS METERS
>     PROJECTION
>       "AUTO"
>     END
>   END
> 
> And the resulting mapfile after saving it back out via php_mapscript
> with the projection filled in automatically by Mapserver:

That is funky magic.  All hail the saveMap() call!

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