<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD><TITLE>WFS and MapGuide Open?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR><!--[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]--><o:SmartTagType name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=blue link=blue>
<DIV dir=ltr align=left><SPAN class=843002017-18012007><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843002017-18012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=843002017-18012007><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Tahoma size=1>Andy </FONT></SPAN><BR></P>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Chris Claydon 
[mailto:chris.claydon@autodesk.com] <BR><B>Sent:</B> Thursday, January 18, 2007 
8:27 AM<BR><B>To:</B> Andy Morsell; 
mapguide-users@lists.osgeo.org<BR><B>Subject:</B> RE: [mapguide-users] WFS and 
MapGuide Open?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi 
Andy,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Try adding the 
parameter: SRSNAME=EPSG:4326<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Chris.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">&nbsp;I'm having the most success 
here:</SPAN></FONT> <o:p></o:p></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><A 
href="http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=DescribeFeatureType&amp;service=wfs&amp;version=1.0.0"><FONT 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 
face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=5><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 18pt">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 face=Arial size=2><SPAN style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=5><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 18pt">Invalid argument(s): [1] = " " The 
string cannot be empty.</SPAN></FONT></B> <BR>Invalid argument(s): [1] = " " 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you.</SPAN></FONT> 
<o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P><FONT face=Tahoma size=1><SPAN 
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">Andy Morsell, P.E.</SPAN></FONT> 
<BR><FONT face=Tahoma size=1><SPAN 
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">Spatial Integrators, 
Inc.</SPAN></FONT> <BR><A href="http://www.SpatialGIS.com"><FONT face=Tahoma 
size=1><SPAN 
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">http://www.SpatialGIS.com</SPAN></FONT></A> 
<o:p></o:p></P></DIV></BODY></HTML>