<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Todd,<br>
<br>
What happens when you make one of the following changes (but not
both) to your GetMap request?<br>
<br>
EITHER change <br>
...&VERSION=1.3.0...<br>
to<br>
...&VERSION=1.1.1...<br>
<br>
OR change<br>
...&BBOX=-103.002,33.6158,-94.4307,37.0023...<br>
to<br>
...&BBOX=33.6158,-103.002,37.0023,-94.4307...<br>
<br>
(EPSG:4326 was defined as lon-lat in WMS pre-1.3; but in 1.3 it's
lat-lon)<br>
<br>
- John Evans<br>
<br>
<br>
On 06/11/2013 12:51 PM, Todd Fagin wrote:<br>
</div>
<blockquote
cite="mid:003001ce66c3$db0c5f00$91251d00$@coordinatesolutions.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Arial","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Arial","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Greetings,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
have what I hope is a simple issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
have a working mapfile in which I have setup WMS. When I
test with GetCapabilities, everything seems to return fine
(mostly, see below). However, when I test with GetMap, I
just get a blank image (set to the background color I have
in the map file).<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">One
odd thing, though, with the GetCapabilities results is that
the bounding box coordinates reverse the X and Y:<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Courier
New";color:blue"><</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">BoundingBox</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> </span><span
style="font-size:10.0pt;font-family:"Courier
New";color:red">CRS</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">=</span><span
style="font-size:10.0pt;font-family:"Courier New"">"<span
style="color:blue">EPSG:4326</span>"<span
style="color:blue"> </span><span style="color:red">minx</span><span
style="color:blue">=</span>"<span style="color:blue">33.6158</span>"<span
style="color:blue"> </span><span style="color:red">miny</span><span
style="color:blue">=</span>"<span style="color:blue">-103.002</span>"<span
style="color:blue"> </span><span style="color:red">maxx</span><span
style="color:blue">=</span>"<span style="color:blue">37.0023</span>"<span
style="color:blue"> </span><span style="color:red">maxy</span><span
style="color:blue">=</span>"<span style="color:blue">-94.4307</span>"<span
style="color:blue">/><o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">However,
the GeographicBoundingBox is correct:<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Courier
New";color:blue"> <</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">EX_GeographicBoundingBox</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> <</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">westBoundLongitude</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">></span><span
style="font-size:10.0pt;font-family:"Courier New"">-103.002<span
style="color:blue"></</span><span style="color:#A31515">westBoundLongitude</span><span
style="color:blue">><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> <</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">eastBoundLongitude</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">></span><span
style="font-size:10.0pt;font-family:"Courier New"">-94.4307<span
style="color:blue"></</span><span style="color:#A31515">eastBoundLongitude</span><span
style="color:blue">><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> <</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">southBoundLatitude</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">></span><span
style="font-size:10.0pt;font-family:"Courier New"">33.6158<span
style="color:blue"></</span><span style="color:#A31515">southBoundLatitude</span><span
style="color:blue">><o:p></o:p></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> <</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">northBoundLatitude</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">></span><span
style="font-size:10.0pt;font-family:"Courier New"">37.0023<span
style="color:blue"></</span><span style="color:#A31515">northBoundLatitude</span><span
style="color:blue">><o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue"> </</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#A31515">EX_GeographicBoundingBox</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue">></span><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
am running this on my local machine so I am attaching the
sample mapfile and the GetCapabilities results, and
including the GetMap example I am using which is returning
the blank image.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Example:<br>
<br>
GetMap<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><a
moz-do-not-send="true"
href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_Counties.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=Counties&CRS=EPSG:4326&BBOX=-103.002,33.6158,-94.4307,37.0023&WIDTH=800&HEIGHT=300&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">GetCapabilities<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><a
moz-do-not-send="true"
href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Any
help would be greatly appreciated. Thanks in advance,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">Todd<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Trebuchet
MS","sans-serif"">Todd Fagin<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Trebuchet
MS","sans-serif"">Coordinate Solutions, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Trebuchet
MS","sans-serif"">405.740.4324<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<!-- BEGIN-ANTISPAM-VOTING-LINKS -->
<div><span style="font-size: medium; color: black; font-style:
normal; font-weight: normal; background-color: white; display:
inline">
<hr>
<br>
<a moz-do-not-send="true" rel="nofollow" target="canit_note"
href="https://filter.gst.com/canit/b.php?i=01JL5hDah&m=b30ab3b84756&c=s">Spam</a><br>
<a moz-do-not-send="true" rel="nofollow" target="canit_note"
href="https://filter.gst.com/canit/b.php?i=01JL5hDah&m=b30ab3b84756&c=n">Not
spam</a><br>
<a moz-do-not-send="true" rel="nofollow" target="canit_note"
href="https://filter.gst.com/canit/b.php?i=01JL5hDah&m=b30ab3b84756&c=f">Forget
previous vote</a><br>
</span></div>
<!-- END-ANTISPAM-VOTING-LINKS -->
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>