[mapguide-users] WFS and MapGuide Open?

Chris Claydon chris.claydon at autodesk.com
Thu Jan 18 13:38:39 EST 2007


Have you tried adding a mapping from EPSG:4326 to the corresponding WKT
string into the WFS config file?

 

The format should be the same as was previously discussed for the WMS
service. Version 1.0.1 may well require such a mapping.

 

Chris.

 

  _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: January 18, 2007 10:25 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] WFS and MapGuide Open?

 

Thanks for the response Chris.  I tried that and no dice.  I still get
the same error message.  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.

 

Incidentally, the version that I really need to get this working on is
MapGuide Enterprise with the service packs applied.  But, I have also
tried it on MGOS 1.2.0 RC1 and MGOS 1.0.1.  It is the 1.0.1 version that
I'm actually having partial success with.

Andy 

  _____  

From: Chris Claydon [mailto:chris.claydon at autodesk.com] 
Sent: Thursday, January 18, 2007 8:27 AM
To: Andy Morsell; mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] WFS and MapGuide Open?

Hi Andy,

 

Try adding the parameter: SRSNAME=EPSG:4326

 

It still fails on my current setup, but it gets me past the coordinate
system problem.

 

Chris.

 

  _____  

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: January 18, 2007 12:14 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] WFS and MapGuide Open?

 

I'm having some difficulty getting features via WFS from MapGuide Open
Source and MapGuide Enterprise.  This is with the standard Sheboygan
sample dataset that already has data exposed via WFS.  I also tried this
on data.mapguide.com, but apparently the WFS provider is not installed
there.

 I'm having the most success here: 

http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=D
escribeFeatureType&service=wfs&version=1.0.0
<http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=
DescribeFeatureType&service=wfs&version=1.0.0>  
http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=G
etCapabilities&service=wfs&version=1.0.0
<http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=
GetCapabilities&service=wfs&version=1.0.0>  
http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=D
escribeFeatureType&service=WFS&typeName=ns146044037:CityLimits
<http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=
DescribeFeatureType&service=WFS&typeName=ns146044037:CityLimits> 

But, if I actually try to GetFeatures, it results in an error: 
http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=g
etFeature&service=wfs&version=1.0.0&typename=ns146044037:CityLimits
<http://mapguide.spatialgis.com/mapguide/mapagent/mapagent.fcgi?request=
getFeature&service=wfs&version=1.0.0&typename=ns146044037:CityLimits> 

The coordinate system conversion failed. Unsupported coordinate system
code. 
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\Coord
inateSystem.cpp 

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:

Invalid argument(s): [1] = " " The string cannot be empty. 
Invalid argument(s): [1] = " " The string cannot be empty. Exception
occurred in method MgFeatureSchema.SetName at line 48 in file
Services/FeatureSchema.cpp 

Does anybody have any examples of succesfully using the Sheboygan sample
dataset to retrieve features via WMS? 

Thank you. 

 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
http://www.SpatialGIS.com <http://www.SpatialGIS.com>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070118/ce11a287/attachment-0001.html


More information about the mapguide-users mailing list