Hello,

please note spelling mistakes:
Your IMAGETYPE needs to be "png" because NAME in OUTPUTFORMAT ist "png".

You are missing projection:
    PROJECTION
        "init=epsg:4326"
    END

For images please define a temp path which exists and is writable:
        IMAGEPATH   "../tmp"
        IMAGEURL   "../tmp"

If PNG leads to errors try "GD/PNG" instead of "AGG/PNG".

Try debugging in master part:
DEBUG 5
CONFIG "MS_ERRORFILE" "../tmp/mapserver.log"
CONFIG "CPL_DEBUG" "ON"
CONFIG "PROJ_DEBUG" "ON"
Try debugging in layer part:
DEBUG 5

Bye, TDS
------------------------------------------------------------------------
mailto:[email protected]
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
Am 11.06.2015 um 23:35 schrieb Gery:
danke Mathias, but I have that settings already, check this out please:

MAP
         NAME                    "todas_capas"
         IMAGETYPE               PNG
         EXTENT                  -79.861667 -12.386528 -77.103611 -7.250694
         UNITS                   dd
         SIZE                    800 600
         MAXSIZE                 4000
         SHAPEPATH               /home/gery/myTrash
         FONTSET                 "../extras/set"
         SYMBOLSET               "../extras/set"
         IMAGEQUALITY            100

         OUTPUTFORMAT
                 NAME                    "png"
                 DRIVER                  "AGG/PNG"
                 MIMETYPE                "image/png"
                 IMAGEMODE               RGBA
                 EXTENSION               "png"
                 FORMATOPTION            "INTERLACE=OFF"
         END

and the layer,

var MapFileUrl = '/ms?';
var ptp2014 = new
OpenLayers.Layer.WMS('1eraTemporadadePesca2014',MapFileUrl,{
                 layers: 'Temporada1eraPesca2014',
                 transparent: true,
                 format: 'image/png'
         },{
                 transitionEffect: 'resize',
                 singleTile: true,
                 ratio: 1,
                 isBaseLayer: false,
                 wrapDateLine: true
         });
     map.addLayers([gphy, gmap, ghyb, gsat, ptp2014]);



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210501.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to