[mapserver-users] Re: Mapfile layer not displaying in MapServer 6.0.1 (does in 5.4)
myOpenLayersUName
joanne.mcgraw at SYMPATICO.CA
Fri Jul 15 14:26:18 PDT 2011
I tried making the Mapfile even simpler and removing SDE from the mix. I
created a Shapefile of the layer and now the Mapfile is:
MAP
NAME "mySubMap"
FONTSET "../../../mapserv/etc/fonts.txt"
SYMBOLSET "../../../mapserv/etc/symbols.sym"
SHAPEPATH "/<path>/httpd/apps/joanne/data"
SIZE 800 600
IMAGETYPE PNG
IMAGECOLOR 255 255 255
EXTENT -2903297.697389 -789911.662978 3431059.382789 3959683.443689
UNITS METERS
PROJECTION
"init=epsg:42304"
END
WEB
IMAGEPATH "/<path>/httpd/htdocs/ogc_tmp/"
IMAGEURL "/ogc_tmp/"
END #end WEB
OUTPUTFORMAT
NAME 'AGG'
DRIVER AGG/PNG
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
END #end OUTPUTFORMAT
LAYER
NAME 'Roads25M'
TYPE LINE
STATUS ON
DATA "roads"
CLASS
STYLE
COLOR 0 0 0
END #end STYLE
END #end CLASS
END #end LAYER
END #end MAP
Still no luck. Works in 5.4; not in 6.0.1.
The only other thing I can think of to try next is to actually compile 5.4
and 6.0.1 on the same host and just call them appropriately in the exact
same environment. I'll try that next, but if someone sees something
glaringly erroneous for a MapServer 6.0 Mapfile I'd appreciate a heads-up.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapfile-layer-not-displaying-in-MapServer-6-0-1-does-in-5-4-tp6587562p6588088.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list