[MAPSERVER-USERS] BoundingBox SRS of the GetCapabilities

cfb carla.fernandezb at gmail.com
Wed Mar 5 03:45:44 EST 2008


Hi there,

I'm testing the GetCapabilities of my WMS (working with MapServer 5.0.2 CGI
for Windows), and comparing it with others WMS. Regardless of the
projections of the layers (EPSG 23030), I've realized that the Boundingbox
of the header and of each layer depends on the order of the SRS list
(PROJECTION object), for example:

PROJECTION
   "init=epsg:4230"         		
   "init=epsg:4258"       		  
   "init=epsg:23030"       		  
   "init=epsg:23029"       		    
   "init=epsg:4324"			         
   "init=epsg:4326" 			  
   "init=epsg:32629"       		  
   "init=epsg:32630"       		     
   "init=epsg:4267"       		     
   "init=epsg:4269"       		     
   "init=epsg:3035"       		     
   "init=epsg:3034"       		   
 END

The GetCapabilities shows <BoundingBox SRS="EPSG:4230"

However, I've found in the GetCapabilities of others WMS several SRS
BoundingBox

<BoundingBox SRS="EPSG:4230" minx="-18.160878749603313"
miny="21.900636570557513" maxx="6.290494734666003"
maxy="45.28725915261717"/>
<BoundingBox SRS="EPSG:4258" minx="-18.162115973099013"
miny="21.899217862404793" maxx="6.289256402294638"
maxy="45.286286289212114"/>
<BoundingBox SRS="EPSG:4326" minx="-18.162115973099013"
miny="21.899217861706028" maxx="6.289256402294638"
maxy="45.28628628820378"/>
...

Why does it happen like this? any help will be appreciated

Also, I've a problem when I compare my WMS with others in a viewer, they
don't overlap correctly, there's a difference of about 100 meters. I imagine
that is caused by the difference between the order of the epsg list in the
projection order, but I'm not sure about that...maybe the differents
projections of the layers cause this...I'm confused!!

Thaks very much 
-- 
View this message in context: http://www.nabble.com/BoundingBox-SRS-of-the-GetCapabilities-tp15845654p15845654.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list