Hi David,<div><br></div><div>Thank you about your clues I've resolveed the problem. You have reason, the projection and the units weren't wrong.</div><div><br><div class="gmail_quote">El 16 de enero de 2012 09:45, Juan Jesús Cremades Monserrat <span dir="ltr"><<a href="mailto:relicary@gmail.com">relicary@gmail.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<div><br></div><div>Muy BBOX is defined into a JS with OpenLayers. When I create the "OpenLayers.Map" object, the opcion values are:</div>
<div><br></div><div><span style="white-space:pre-wrap"> </span>{<br>
<div><span style="white-space:pre-wrap"> </span><span style="white-space:pre-wrap"> </span>minExtent : new OpenLayers.Bounds(-1, -1, 1, 1),</div><div><span style="white-space:pre-wrap"> </span>maxResolution : 0.35,</div>
<div><span style="white-space:pre-wrap"> </span>maxZoomLevel : 10,</div><div><span style="white-space:pre-wrap"> </span>maxExtent : new OpenLayers.Bounds(-180, -90, 180, 90)</div><div>
<span style="white-space:pre-wrap"> </span>};</div><div><br></div><div>I tried change the Space Reference System or coomenting the TRANSPARENCY, MINSCALE & MAXSCALE parameters, but The problem contues.</div>
<div><br></div><div>Too I was trying change LAYER METADATA vms_extend parameter with degree values, but nothing.</div><div><br></div><div>I was tried this map file at the gvSIG DEsktop, and it works... But I don' konw what,s the problem with the server.</div>
<div><br></div><div>Cheers</div><br><div class="gmail_quote">2012/1/13 Fawcett, David (MPCA) <span dir="ltr"><<a href="mailto:David.Fawcett@state.mn.us" target="_blank">David.Fawcett@state.mn.us</a>></span><div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Juan,
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The projection block at the map level specifies 4326 as the spatial reference system, but the units of your extent look like they are in meters, not decimal
degrees. This may be involved in the issue, or maybe not, but it would screw up a regular MapServer CGI request if you don’t specify a bbox.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The use of a ‘.’ Character in a layer name may be valid in MapServer and the OGC WMS spec, but it looks funky to me. Again, probably not the problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I would simplify your map file by commenting out the MINSCALE, MAXSCALE, and TRANSPARENCY lines. I am guessing that one of these is causing your problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">David.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Juan Jesús Cremades Monserrat<br>
<b>Sent:</b> Friday, January 13, 2012 5:50 AM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] Shapefiles not rendered<u></u><u></u></span></p>
</div><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I want execute the getMap method with an URL like this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://localhost:9000/cgi-bin/mapserv.exe?LAYERS=COMACOM.SHP&FORMAT=image/png&TRANSPARENT=true&MAP=/ms4w/apps/demo-cv/demoCV.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=551&HEIGHT=356" target="_blank">http://localhost:9000/cgi-bin/mapserv.exe?LAYERS=COMACOM.SHP&FORMAT=image/png&TRANSPARENT=true&MAP=/ms4w/apps/demo-cv/demoCV.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=551&HEIGHT=356</a>
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But the result is always a white page. Where the error may be? My MapServer is the MS4W. Thanks<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My MapFile is this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">MAP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME map_generated_by_gvsig<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> EXTENT <a href="tel:626679.4375" value="+16266794375" target="_blank">626679.4375</a> 4191039.75 797868.9375 4519396.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SYMBOLSET "demoCV.sym"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> FONTSET "fonts.txt"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LEGEND<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGECOLOR -1 -1 -1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LABEL<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> FONT "vera"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> ANGLE FOLLOW<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> COLOR 0 0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> ENCODING "UTF-8"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE truetype<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE 8<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TRANSPARENT ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZE 800 800<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> OUTPUTFORMAT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME PNG24<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DRIVER AGG/PNG<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> IMAGEMODE RGB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> WEB<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_encoding" "UTF-8"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_title" "Mapserver WMS"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_abstract" ""<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_srs" " EPSG:4326"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_onlineresource" "<a href="http://localhost:9000/cgi-bin/mapserv.exe?map=E%3A%5Cms4w%5Capps%5Cdemo-cv%5CdemoCV.map" target="_blank">http://localhost:9000/cgi-bin/mapserv.exe?map=E%3A%5Cms4w%5Capps%5Cdemo-cv%5CdemoCV.map</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_enable_request" "*"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_feature_info_mime_type" "text/html"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "init=epsg:4326"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> LAYER<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "COMACOM.SHP"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STATUS ON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DUMP true<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TEMPLATE "templates/provincias.html"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TYPE POLYGON<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> DATA "E:\COMACOM.SHP"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> MAXSCALE -1.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> MINSCALE -1.0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> TRANSPARENCY 100<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> SIZEUNITS pixels<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> PROJECTION<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "init=epsg:4326"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CLASS<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> STYLE <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> COLOR 104 108 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> OUTLINECOLOR 72 75 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> WIDTH 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> NAME "default"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> METADATA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_title" "COMACOM.SHP"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_abstract" "generated by gvSIG"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "wms_extent" "<a href="tel:626679.4375" value="+16266794375" target="_blank">626679.4375</a> 4191039.75 797868.9375 4519379.0"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "gml_include_items" "all"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> "ows_enable_request" "*"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> END # Layer<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">END # Map File<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>