[mapserver-users] Help with configuring WMS
Todd Fagin
tfagin at coordinatesolutions.com
Tue Jun 11 12:00:18 PDT 2013
That's it! Thanks Rahkonen. Now, this begs the question of how I revert to
1.1.1?
When I use 1.1.1 in the request, it doesn't work at all.
Todd Fagin
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com
-----Original Message-----
From: Rahkonen Jukka [mailto:jukka.rahkonen at mmmtike.fi]
Sent: Tuesday, June 11, 2013 12:31 PM
To: Todd Fagin; mapserver-users at lists.osgeo.org
Subject: VS: [mapserver-users] Help with configuring WMS
Hi,
If you use WMS 1.3.0 you must use Nothing-Easting axis order with EPSG:4326.
Stay with WMS 1.1.1 of flip the coordinates in your request. Search "WMS
1.3.0 axis order" and you will find reading for the rest of the day.
-Jukka Rahkonen-
________________________________
Todd Fagin wrote
Greetings,
I have what I hope is a simple issue.
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).
One odd thing, though, with the GetCapabilities results is that the bounding
box coordinates reverse the X and Y:
<BoundingBox CRS="EPSG:4326" minx="33.6158" miny="-103.002" maxx="37.0023"
maxy="-94.4307"/>
However, the GeographicBoundingBox is correct:
<EX_GeographicBoundingBox>
<westBoundLongitude>-103.002</westBoundLongitude>
<eastBoundLongitude>-94.4307</eastBoundLongitude>
<southBoundLatitude>33.6158</southBoundLatitude>
<northBoundLatitude>37.0023</northBoundLatitude>
</EX_GeographicBoundingBox>
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.
Example:
GetMap
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&STYL
ES=&TRANSPARENT=TRUE
GetCapabilities
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/OK_TEST/OK_COUNTIES.map&
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
Any help would be greatly appreciated. Thanks in advance,
Todd
Todd Fagin
Coordinate Solutions, Inc.
405.740.4324
More information about the MapServer-users
mailing list