<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>WFS and MapGuide Open?</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Have you tried adding a mapping from
EPSG:4326 to the corresponding WKT string into the WFS config file?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The format should be the same as was
previously discussed for the WMS service. Version 1.0.1 may well require such a
mapping.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Andy Morsell<br>
<b><span style='font-weight:bold'>Sent:</span></b> January 18, 2007 10:25 AM<br>
<b><span style='font-weight:bold'>To:</span></b> mapguide-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users] WFS
and MapGuide Open?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Thanks for the response Chris.&nbsp; I
tried that and no dice.&nbsp; I still get the same error message.&nbsp; I've
tried other WFS calls including a filter parameter with a bounding box, but if
it fails even on the most generic feature request in the most common coordinate
system, I'm not optimistic that those will work.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Incidentally, the version that I really
need to get this working on is MapGuide Enterprise with the service packs
applied.&nbsp; But, I have also tried it on MGOS 1.2.0 RC1 and MGOS
1.0.1.&nbsp; It is the 1.0.1 version that I'm actually having partial success
with.</span></font><o:p></o:p></p>

<p><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'><!-- Converted from text/rtf format -->Andy
</span></font><o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> <st1:PersonName
w:st="on">Chris Claydon</st1:PersonName> [mailto:chris.claydon@autodesk.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, January 18, 2007
8:27 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Andy Morsell;
mapguide-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users] WFS
and MapGuide Open?</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Andy,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try adding the parameter:
SRSNAME=EPSG:4326<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It still fails on my current setup, but it
gets me past the coordinate system problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Chris.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Andy Morsell<br>
<b><span style='font-weight:bold'>Sent:</span></b> January 18, 2007 12:14 AM<br>
<b><span style='font-weight:bold'>To:</span></b> mapguide-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users] WFS and
MapGuide Open?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I'm
having some difficulty getting features via WFS from MapGuide Open Source and
MapGuide Enterprise.&nbsp; This is with the standard <st1:place w:st="on"><st1:City
 w:st="on">Sheboygan</st1:City></st1:place> sample dataset that already has
data exposed via WFS.&nbsp; I also tried this on data.mapguide.com, but
apparently the WFS provider is not installed there.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;I'm
having the most success here:</span></font> <o:p></o:p></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><a
href="http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0</span></font></a>
<br>
<a
href="http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=GetCapabilities&amp;service=wfs&amp;version=1.0.0"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=GetCapabilities&amp;service=wfs&amp;version=1.0.0</span></font></a>
<br>
<a
href="http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=DescribeFeatureType&amp;service=WFS&amp;typeName=ns146044037:CityLimits"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=DescribeFeatureType&amp;service=WFS&amp;typeName=ns146044037:CityLimits</span></font></a><o:p></o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>But,
if I actually try to GetFeatures, it results in an error:</span></font> <br>
<a
href="http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=getFeature&amp;service=wfs&amp;version=1.0.0&amp;typename=ns146044037:CityLimits"><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=getFeature&amp;service=wfs&amp;version=1.0.0&amp;typename=ns146044037:CityLimits</span></font></a><o:p></o:p></p>

<p><b><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-weight:bold'>The coordinate system conversion failed. Unsupported
coordinate system code.</span></font></b> <br>
The coordinate system conversion failed. Unsupported coordinate system code.
Exception occurred in method
MgCoordinateSystem.ConvertCoordinateSystemCodeToWkt at line 950 in file
c:\build_tux_area\mgdev_opensource\common\service\coordinatesystem\CoordinateSystem.cpp
<o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
also have an MGE install and a 1.1.0 RC1 install on Linux that both report the
following error no matter what type of WFS request I use:</span></font><o:p></o:p></p>

<p><b><font size=5 face="Times New Roman"><span style='font-size:18.0pt;
font-weight:bold'>Invalid argument(s): [1] = &quot; &quot; The string cannot be
empty.</span></font></b> <br>
Invalid argument(s): [1] = &quot; &quot; The string cannot be empty. Exception
occurred in method MgFeatureSchema.SetName at line 48 in file
Services/FeatureSchema.cpp <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Does
anybody have any examples of succesfully using the <st1:place w:st="on"><st1:City
 w:st="on">Sheboygan</st1:City></st1:place> sample dataset to retrieve features
via WMS?</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thank
you.</span></font> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'>Andy
Morsell, P.E.</span></font> <br>
<font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'>Spatial
Integrators, Inc.</span></font> <br>
<a href="http://www.SpatialGIS.com"><font size=1 face=Tahoma><span
style='font-size:7.5pt;font-family:Tahoma'>http://www.SpatialGIS.com</span></font></a>
<o:p></o:p></p>

</div>

</body>

</html>