[mapserver-users] Re: Mapfile layer not displaying in MapServer 6.0.1 (does in 5.4)

Steve Lime sdlime at gmail.com
Fri Jul 15 23:52:55 EDT 2011


Couple of things to try... Try removing the output format and just use
"IMAGETYPE PNG24". Also, what does the symbol file look like?

Steve

On Fri, Jul 15, 2011 at 4:26 PM, myOpenLayersUName <
joanne.mcgraw at sympatico.ca> wrote:

> 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.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110715/aa29328a/attachment.html


More information about the mapserver-users mailing list