Hi,
please have a look at http://trac.osgeo.org/mapguide/ticket/600 trac ticket 600 . I think that is the same problem. Gunter Stefan Dalakov wrote: > > Hi Kenneth, > I explored the error log. > The problem is that coordinate systems do not match BUT : > > 1. The error log says > /The coordinate system (*EPSG:32633*) of layer RissaWMSLayer1 cannot be > different than the coordinate system (*EPSG:32632*) of the map > /2. The wms layer is configured to use /*EPSG:32632 */- in my config.xml > it is written > / <RasterDefinition name="Image"> > <Format>PNG</Format> > <Transparent>true</Transparent> > <BackgroundColor>0xFFFFFF</BackgroundColor> > <Time>current</Time> > <Elevation>0</Elevation> > <SpatialContext>*EPSG:32632*</SpatialContext> > <Layer name="VERANDA"> > ....... > /3. The service supports this coordinate system - in GetCapabilities > document I have > > <SRS>EPSG:32633</SRS> > <BoundingBox SRS="EPSG:32633" minx="218329.98786561" > miny="7160648.90075887" maxx="305197.974972341" maxy="7041546.39019898"/> > *<SRS>EPSG:32632</SRS> > <BoundingBox SRS="**EPSG:32632" minx="506720" miny="7147644" > maxx="604333" maxy="7037305"/> > *<SRS>EPSG:32634</SRS> > <BoundingBox SRS="EPSG:32634" minx="-68103.0343048812" > miny="7200948.9760428" maxx="7352.92691530631" maxy="7073836.91252369"/> > <SRS>EPSG:9804</SRS> > <BoundingBox SRS="EPSG:9804" minx="1017422.41132931" > miny="9427477.01214373" maxx="1234782.60719126" maxy="9172903.66920839"/> > - > > So, I want the map and WMS layer to be in coordinate system *32632*, the > Feature source is configured to use this coordinate system, the service > supports it, but still the server sends the output in *32633.* > Can you spot my mistake ? > > Best regards : Stefan Dalakov > / > > > /Kenneth Skovhede, GEOGRAF A/S wrote: >> Since a WMS layer is a raster layer, MapGuide requires that the >> Coordinate System of the layer is EXACTLY the same as for the map. >> >> This means that the Coordinate System Override on the layer must match >> the map's Coordinate System exactly. >> >> To see if there are any errors reported, look in the error log: >> C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log >> Regards, Kenneth Skovhede, GEOGRAF A/S >> >> >> >> Stefan Dalakov skrev: >>> Hi all, >>> I am trying to add a WMS layer to my map. >>> I followed the procedure described here : >>> https://trac.osgeo.org/fdo/wiki/FdoWmsNotes >>> to create a feature source. >>> When I open the feature source in Studio the connection tests OK. >>> Clicking the *Refresh* button generates an error originating from >>> displayschema.php at line : >>> /document.getElementById("Geom_"+"RissaWMS").previousSibling.firstChild.src >>> = "./images/collapse_pane.png"; >>> /for each layer in the WMS feature source which is not critical >>> (critical for Studio) >>> *View Data *link then reports BBOX parameter missing, which I assume >>> is normal >>> >>> I create a Layer afterwards, based on this Feature Source. The layer >>> seems ok - refreshes OK, nothing on screen . This I also assume >>> normal as the layers (as described in the GetCapabilities >>> document) are limited to scale ranges up to 1:5000. >>> >>> I add this layer to an existing map, with matching coordinate system >>> (EPSG:32632 of the WMS Feature Source and UTM-WGS84 / Zone 32 North >>> of the map). >>> The WMS layer is not shown on the preview in Studio - perhaps this is >>> also normal - my other raster layers are not previewed either. >>> >>> But when I don't see the layer data in browser I am really stressed. >>> >>> And my biggest stress is based on the fact that I do not know how to >>> debug this situation >>> >>> Any help will be highly appreciated >>> >>> >>> Thank you in advance : Stefan Dalakov >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> mapguide-users mailing list >>> mapguide-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapguide-users >>> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/Connecting-to-WMS-tp2270211p2274991.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users