<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"/>
<!--[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-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'>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:City w:st="on"><st1:place
 w:st="on">Sheboygan</st1:place></st1:City> 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:City w:st="on"><st1:place
 w:st="on">Sheboygan</st1:place></st1:City> 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>