<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
To the list -<br>
<br>
I've run into some problems using WFS with MapGuide:<br>
<br>
The scenario:<br>
<br>
I have two Mapguide servers:<br>
<ul>
<li>The first server has a data connection to a MapInfo tab file
with WFS enabled: one(1) projection defined, bounds defined in
projection coordinates; only US-ASCII characters used in
"Keywords" and "Abstracts"; the name of the data connection
contains no white space or non-US-ASCII characters.<br>
<br>
</li>
<li>This MapGuide based WFS service have been tested using Gaia
ver. 3.4.2 with success: Gaia shows the map objects; you can use
the information tool on the map objects and Gaia reports the
correct projection and map bounds. <br>
<br>
</li>
<li>I've created a data connection on the the second server to the
WFS service on the first server.<br>
- Pushing the "Test connection" button reports "Successful
Connection" (I'm using MapGuide Studio)<br>
- Using the preview facility shows me a list of all the WFS
enabled data connections on the first server with data and
geometric properties<br>
- But if I try to preview either the data or the features of a
connection I'll get an error:<br>
<br>
"An exception occurred in FDO component. Schema can not be found
in the collection." <br>
<br>
The "WFS client" MapGuide server error log shows the same
message including a trace-back.<br>
The "WFS server" MapGuide server shows no errors in the error
log.<br>
<br>
</li>
<li>I've create a layer on the second server using the described,
WFS based, data connection. <br>
- The "Feature class", "Geometry" and "Properties.. " fields in
the dialogue shows the expected information and behaves
correctly.<br>
- Preview function doesn't show any objects.<br>
<br>
</li>
<li>Lastly, I created a map using the above mentioned layer and
getting the following result:<br>
- the projection is found when I add the layer to the empty
map. The bounds is not found (defaults to -0.5,-0.5 .. 0.5,0.5).
No objects in preview. Same result if I set bounds values
manually<br>
<br>
</li>
</ul>
<br>
Versions used:<br>
MapGuide Enterprise 2010 og MapGuide Opensource 2.1<br>
FDO ver. 3.4 <br>
<br>
I have 2 questions:<br>
<ol>
<li>Is it at all possible to have a MapGuide based WFS client to
consume a WFS service from a MapGuide server ?<br>
</li>
<li>If the first answer is "Yes", have anyone an example for me to
follow ? <br>
</li>
</ol>
<br>
<pre class="moz-signature" cols="72">--
Med venlig hilsen
Civ.Ing.
Bo Victor Thomsen
Geograf A/S
</pre>
</body>
</html>