<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Kenneth, <br>
I explored the error log.<br>
The problem is that coordinate systems do not match BUT :<br>
<br>
1. The error log says <br>
<i>The coordinate system (<b>EPSG:32633</b>) of layer RissaWMSLayer1
cannot be different than the coordinate system (<b>EPSG:32632</b>) of
the map<br>
</i>2. The wms layer is configured to use <i><b>EPSG:32632 </b></i>-
in my config.xml it is written <br>
<i> <RasterDefinition name="Image"><br>
<Format>PNG</Format><br>
<Transparent>true</Transparent><br>
<BackgroundColor>0xFFFFFF</BackgroundColor><br>
<Time>current</Time><br>
<Elevation>0</Elevation><br>
<SpatialContext><b>EPSG:32632</b></SpatialContext><br>
<Layer name="VERANDA"><br>
.......<br>
</i>3. The service supports this coordinate system - in GetCapabilities
document I have <br>
<br>
<SRS>EPSG:32633</SRS><br>
<BoundingBox SRS="EPSG:32633" minx="218329.98786561"
miny="7160648.90075887" maxx="305197.974972341"
maxy="7041546.39019898"/><br>
<b><SRS>EPSG:32632</SRS><br>
<BoundingBox SRS="</b><b>EPSG:32632" minx="506720" miny="7147644"
maxx="604333" maxy="7037305"/><br>
</b><SRS>EPSG:32634</SRS><br>
<BoundingBox SRS="EPSG:32634" minx="-68103.0343048812"
miny="7200948.9760428" maxx="7352.92691530631"
maxy="7073836.91252369"/><br>
<SRS>EPSG:9804</SRS><br>
<BoundingBox SRS="EPSG:9804" minx="1017422.41132931"
miny="9427477.01214373" maxx="1234782.60719126"
maxy="9172903.66920839"/><br>
−<br>
<br>
So, I want the map and WMS layer to be in coordinate system <b>32632</b>,
the Feature source is configured to use this coordinate system, the
service supports it, but still the server sends the output in <b>32633.</b><br>
Can you spot my mistake ? <br>
<br>
Best regards : Stefan Dalakov<br>
<i><br>
<br>
<br>
</i>Kenneth Skovhede, GEOGRAF A/S wrote:
<blockquote cite="mid:498A982C.30501@geograf.dk" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
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.<br>
<br>
This means that the Coordinate System Override on the layer must match
the map's Coordinate System exactly.<br>
<br>
To see if there are any errors reported, look in the error log:<br>
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Stefan Dalakov skrev:
<blockquote cite="mid:4989D3BA.7050200@mapware.net" type="cite">Hi
all,<br>
I am trying to add a WMS layer to my map. <br>
I followed the procedure described here : <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://trac.osgeo.org/fdo/wiki/FdoWmsNotes">https://trac.osgeo.org/fdo/wiki/FdoWmsNotes</a><br>
to create a feature source.<br>
When I open the feature source in Studio the connection tests OK.<br>
Clicking the <b>Refresh</b> button generates an error originating from
displayschema.php at line :<br>
<i>document.getElementById("Geom_"+"RissaWMS").previousSibling.firstChild.src
= "./images/collapse_pane.png";<br>
</i>for each layer in the WMS feature source which is not critical
(critical for Studio)<br>
<b>View Data </b>link then reports BBOX parameter missing, which I
assume is normal<br>
<br>
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. <br>
<br>
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). <br>
The WMS layer is not shown on the preview in Studio - perhaps this is
also normal - my other raster layers are not previewed either.<br>
<br>
But when I don't see the layer data in browser I am really stressed.<br>
<br>
And my biggest stress is based on the fact that I do not know how to
debug this situation <br>
<br>
Any help will be highly appreciated <br>
<br>
<br>
Thank you in advance : Stefan Dalakov<br>
<br>
<br>
<br>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<br>
</body>
</html>