<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Kenneth, I missed somehow the problem, described by Tom, but I have to
say that Gunter was absolutely right and helpful. I moved the project
to MGOS 1.2 (luckily I have both versions installed) and now it works
as expected.<br>
Thank you !<br>
<br>
Stefan <br>
<br>
<br>
<br>
Kenneth Skovhede, GEOGRAF A/S wrote:
<blockquote cite="mid:498AF470.4050207@geograf.dk" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
If the problem is as Tom describes, it is likely because Studio uses
the CSMap coordinate system,<br>
and MGOS uses Proj.4.<br>
  <br>
If you setup an override using Studio, it is invalid for some
coordinate systems, because they are named<br>
slightly different in Proj.4.<br>
  <br>
Try using Maestro to setup the override, as it uses the server
coordinate system, regardless of brand what it is.<br>
  <pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
  </pre>
  <br>
  <br>
Gunter Becker skrev:
  <blockquote cite="mid:1233842449500-2274991.post@n2.nabble.com"
 type="cite">
    <pre wrap="">Hi,

please have a look at  <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://trac.osgeo.org/mapguide/ticket/600">http://trac.osgeo.org/mapguide/ticket/600</a> trac ticket
600 .
I think that is the same problem. 

Gunter


Stefan Dalakov wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">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
/      &lt;RasterDefinition name="Image"&gt;
        &lt;Format&gt;PNG&lt;/Format&gt;
        &lt;Transparent&gt;true&lt;/Transparent&gt;
        &lt;BackgroundColor&gt;0xFFFFFF&lt;/BackgroundColor&gt;
        &lt;Time&gt;current&lt;/Time&gt;
        &lt;Elevation&gt;0&lt;/Elevation&gt;
        &lt;SpatialContext&gt;*EPSG:32632*&lt;/SpatialContext&gt;
        &lt;Layer name="VERANDA"&gt;
.......
/3. The service supports this coordinate system - in GetCapabilities 
document I have

&lt;SRS&gt;EPSG:32633&lt;/SRS&gt;
&lt;BoundingBox SRS="EPSG:32633" minx="218329.98786561" 
miny="7160648.90075887" maxx="305197.974972341" maxy="7041546.39019898"/&gt;
*&lt;SRS&gt;EPSG:32632&lt;/SRS&gt;
&lt;BoundingBox SRS="**EPSG:32632" minx="506720" miny="7147644" 
maxx="604333" maxy="7037305"/&gt;
*&lt;SRS&gt;EPSG:32634&lt;/SRS&gt;
&lt;BoundingBox SRS="EPSG:32634" minx="-68103.0343048812" 
miny="7200948.9760428" maxx="7352.92691530631" maxy="7073836.91252369"/&gt;
&lt;SRS&gt;EPSG:9804&lt;/SRS&gt;
&lt;BoundingBox SRS="EPSG:9804" minx="1017422.41132931" 
miny="9427477.01214373" maxx="1234782.60719126" maxy="9172903.66920839"/&gt;
-

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:
    </pre>
      <blockquote type="cite">
        <pre wrap="">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:
      </pre>
        <blockquote type="cite">
          <pre wrap="">Hi all,
I am trying to add a WMS layer to my map.
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>
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
<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="">------------------------------------------------------------------------

_______________________________________________
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="">_______________________________________________
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=""><!---->
  </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>