[mapguide-trac] #600: WMS - coordinate system overriding fails

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jun 11 10:11:33 EDT 2008


#600: WMS - coordinate system overriding fails
---------------------------+------------------------------------------------
 Reporter:  gBecker        |         Owner:          
     Type:  defect         |        Status:  reopened
 Priority:  high           |     Milestone:          
Component:  WMS Interface  |       Version:  2.0.1   
 Severity:  critical       |    Resolution:          
 Keywords:                 |   External_id:          
---------------------------+------------------------------------------------
Changes (by gBecker):

  * status:  closed => reopened
  * resolution:  invalid =>

Comment:

 Sorry for reopening this ticket but I think it is really a bug. As I
 mentioned i've got it working with MGOS 1.2 and MGE 2009.

 I know the document you pointed me to. The configuration described there
 is exactly what I've done before I opened this ticket. You can see it in
 the attached package and the Config.xml file. The coordinate system I use
 in my MapDefinition is DHDN.Gauss3d-3 and its pendant in Config.xml is
 EPSG:31467.

 Some more information:

 When preview the LayerDefinition in MapGuide Studio 2009 our server logs
 requests with the correct CS (EPSG:31467) but with BoundingBox in lat/lon-
 coordinates:

 wrong: ... &SRS=EPSG:31467&BBOX=8.050927,48.543305,8.309285,48.673315 ...
 (correct: ... &SRS=EPSG:31467&BBOX=3498000,5283000,3510000,5300000 ...)

 When preview the map I got the message I've described in my first post.
 The log says that the layer CS is EPSG:4326. I've never used this CS. But
 it is the first CS in the GetCapabilites document from the WMS server
 (which I thought I have overridden in the configuration document).
 MapGuide seems to ignore my CS settings and always passes the coordinates
 in the format of the first CS from WMS server.

 Another point is that when I'm dragging the LayerDefinition from Site-
 Explorer in MG Studio to the MapDefinition the coordinate system that
 shows up in the CS textbox is LL84 (WGS 84). I tried this also with WMS
 servers that have other CS at the first position and it always takes the
 first one in the list (EPSG:31467 results in
 DHDN.Gauss3d-3). At this point I've also tried to override the coordinate
 system setting of my FeatureSource (<SupplementalSpatialContextInfo>) with
 no success.

 I hope this will clarify my situation!

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/600#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list