<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
please note spelling mistakes:<br>
Your IMAGETYPE needs to be "png" because NAME in OUTPUTFORMAT ist
"png".<br>
<br>
You are missing projection:<br>
PROJECTION<br>
"init=epsg:4326"<br>
END<br>
<br>
For images please define a temp path which exists and is writable:<br>
IMAGEPATH "../tmp"<br>
IMAGEURL "../tmp"<br>
<br>
If PNG leads to errors try "GD/PNG" instead of "AGG/PNG".<br>
<br>
Try debugging in master part:<br>
DEBUG 5<br>
CONFIG "MS_ERRORFILE" "../tmp/mapserver.log"<br>
CONFIG "CPL_DEBUG" "ON"<br>
CONFIG "PROJ_DEBUG" "ON"<br>
Try debugging in layer part:<br>
DEBUG 5<br>
<br>
<div class="moz-signature">Bye, TDS
<hr>
<font size="-1">
<a class="moz-txt-link-freetext" href="mailto:tds@tds-net.de">mailto:tds@tds-net.de</a><br>
</font>
<hr>
<font size="-1">
1+1=10<br>
You have a question? - 42 or RTFM.
</font>
</div>
<div class="moz-cite-prefix">Am 11.06.2015 um 23:35 schrieb Gery:<br>
</div>
<blockquote cite="mid:1434058552209-5210501.post@n6.nabble.com"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-freetext" href="http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210501.html">http://osgeo-org.1560.x6.nabble.com/Is-this-a-CGI-problem-tp5210276p5210501.html</a>
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<br>
</body>
</html>