[Mapguide-trac] [mapguide-trac] #2208: When using EPSG:21781, MGOS fails on BBOX greater than what defined

MapGuide Open Source trac_mapguide at osgeo.org
Sat Jan 26 06:28:12 PST 2013


#2208: When using EPSG:21781, MGOS fails on BBOX greater than what defined
-----------------------------+----------------------------------------------
   Reporter:  znarf1965      |       Owner:       
       Type:  defect         |      Status:  new  
   Priority:  high           |   Milestone:       
  Component:  WMS Interface  |     Version:  2.4.0
   Severity:  critical       |    Keywords:       
External_id:                 |  
-----------------------------+----------------------------------------------
 I attach a simple project with a layer configured to expose to WMS.
 This layer is WMS-WFS/Common/Layers/LayerDefinitionSHPComuni.
 I can read this service from Map3D, but Quantum GIS 1.8.0 Lisboa, ESRI
 ArcGis 1.9 and Mapinfo MapXTreme fail: this happen because all of them
 make a request with a BBOX a bit wider.

 If you execute
 http://localhost/mapguide/mapagent/mapagent.fcgi?REQUEST=GetCapabilities&service=WMS&&username=WmsUser

 You get the following for the layer


 - <Layer>
   <Title>MapGuide WMS Server</Title>
   <CRS>EPSG:4326</CRS>
 - <!--  Published Layer #1
   -->
 - <Layer queryable="1" cascaded="0" noSubsets="0" opaque="0">
   <Name>WMS-WFS/Common/Layers/LayerDefinitionSHPComuni</Name>
   <Title>LayerDefinitionSHPComuni</Title>
   <CRS>EPSG:4326</CRS>
   <CRS>EPSG:21781</CRS>
 - <EX_GeographicBoundingBox>
   <westBoundLongitude>8.371</westBoundLongitude>
   <eastBoundLongitude>9.174</eastBoundLongitude>
   <southBoundLatitude>45.825</southBoundLatitude>
   <northBoundLatitude>46.629</northBoundLatitude>
   </EX_GeographicBoundingBox>
   <BoundingBox CRS="EPSG:4326" minx="8.371" miny="45.825" maxx="9.174"
 maxy="46.629" />
   <BoundingBox CRS="EPSG:21781" minx="672484.296" miny="75272.190"
 maxx="732910.616" maxy="165700.540" />
   </Layer>
   </Layer>


 If you execute a request getting BBOX values specified in capabilities for
 CRS="EPSG:21781", then it works

 http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=672484.296000,75272.190000,732910.616000,165700.540000&CRS=EPSG:21781&WIDTH=32&HEIGHT=32&LAYERS
 =WMS-
 WFS/Common/Layers/LayerDefinitionSHPComuni&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE
 HTTP/1.1


 WMS clients (such as Quantum GIS 1.8 Lisboa or ESRI ArcGis o Mapinfo
 MapXTreme) build a BBOX a bit wider and this makes MGOS/AIMS fail

 http://localhost/mapguide/mapagent/mapagent.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=671401.028954,75246.995246,734864.771170,165663.792311&CRS=EPSG:21781&WIDTH=32&HEIGHT=32&LAYERS
 =WMS-
 WFS/Common/Layers/LayerDefinitionSHPComuni&STYLES=&FORMAT=image/png&TRANSPARENT=TRUE
 HTTP/1.1

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2208>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list