IMAGETYPE

nasir mahmood nasir_pcit at YAHOO.COM
Thu Dec 2 17:42:00 EST 2004


Hi,

I am trying to understand mapserver's tutorial examples. I am facing a problem with IMAGETYPE tag. when I set IMAGETYPE PNG, map isn't displayed but when I comment it out then it 's ok. Why it is so? Here is map files:

MAP
#IMAGETYPE PNG
EXTENT 201621.496941 -294488.285333 1425518.020722 498254.511514
SIZE 400 300
SHAPEPATH "C:\Program Files\Apache Group\Apache2\htdocs\tutorial\data\"
IMAGECOLOR 255 255 255
      PROJECTION
         "proj=laea"
          ellps=clrk66"
         "lat_0=45"
         "lon_0=-100"

        # Alternatively, you can specify an EPSG code.
          # "init=epsg:2163"
      END

LAYER # States polygon layer begins here

NAME states

DATA states_ugl

STATUS DEFAULT

TYPE POLYGON

PROJECTION

"init=epsg:4326"

END

CLASS

COLOR 232 232 232

OUTLINECOLOR 32 32 32

END

END

END # end of map file/object

Nasir


---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041202/5b194019/attachment.html


More information about the mapserver-users mailing list