Hi, Sorry, I forgot to tell that it is SRS in v. 1.1.1 but CRS in v. 1.3.0. But it is actually told here http://mapserver.org/ogc/wms_server.html
If you are busy, try these before starting to do your homeworks. http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=-180,-90,180,90&SRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=bluemarble,cities&STYLES=&FORMAT=image/png&TRANSPARENT=true http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-90,-180,90,180&CRS=EPSG:4326&WIDTH=953&HEIGHT=480&LAYERS=bluemarble,cities&STYLES=&FORMAT=image/png&TRANSPARENT=true -Jukka Rahkonen- ________________________________________ Todd Fagin wrote: > 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:[email protected]] Sent: Tuesday, June 11, 2013 12:31 PM To: Todd Fagin; [email protected] 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
