Arh yes, I should have read the entire mail :).

I'm guessing that the name is a bit tricky because it contains spaces.
MapGuide/FDO has some internal encoding/decoding of non-alphanumeric charaters.

If you control the service, can you try to rename the table?
Otherwise, I see two options:
1) File a bug report, and wait for it to be fixed (or fix it yourself).
2) Write a small WFS wrapper that translates the names.

Regards, Kenneth Skovhede, GEOGRAF A/S



Gary Morin skrev:

The map did have the correct coodinates so I don't think it was preview problem, we were getting the error mentioned at the botton of the the post.

Error: Failed to stylize layer: tiger landmarks
An exception occurred in FDO component. Schema can not be found in the collection. StackTrace: - MgMappingUtil.StylizeLayers line 786 file

The interesting thing the same WFS worked fine in Map 2009

Thanks for you replies

Gary

* *

------------------------------------------------------------------------

*From:* [email protected] [mailto:[email protected]] *On Behalf Of *Kenneth Skovhede, GEOGRAF A/S
*Sent:* 05 February 2009 07:16
*To:* MapGuide Users Mail List
*Subject:* Re: [mapguide-users] Consuming WFS, error in MGE2009

A problem that I see a lot, is that the WFS provider/server does not correctly read the extent of the data. This means that the preview shows a map somewhere else, and so, no data is displayed.

The cure is to set up a map with the correct extents, and then add the layer here, and then preview the map.

Also, what are the contents of the error log, when no features are displayed:
C:\Program Files\MapGuideOpenSource2.0\Server\Logs\Error.log
or
C:\Program Files\Autodesk\MapGuideEnterprise2009\Server\Logs\Error.log

Regards, Kenneth Skovhede, GEOGRAF A/S



Berdel, Brian skrev:

Did you try setting the coordinate system in the coordinate system
over-ride? Not sure if this will work for you...as I have not loaded any WFS and I
am using open source, but when connecting a SQL Spatial Data Source, I
got a similar error and it was resolved after I set the coordinate
system in the coordinate system over-ride of the data source. Might be
worth a try...
Brian -----Original Message----- From: [email protected] <mailto:[email protected]>
[mailto:[email protected]] On Behalf Of isca
Sent: Wednesday, February 04, 2009 3:55 PM
To: [email protected] <mailto:[email protected]>
Subject: Re: [mapguide-users] Consuming WFS, error in MGE2009
Unfortunately I never found a solution to this problem. I did succeed to
consume WFS with served by some other servers but in that case some
other
problems were occurring (not possible to select features, unstable,
...).
Gary Morin wrote:
I'm using MGE 2009 and trying to consume a WFS published by Geoserver.
I'm using Stuido author, create an data connection to the WFS works
fine,
and I can create a layer, but when I attempt to preview the layer no
data
is shown and an error is logged. The same WFS work fine in AutoCAD Map
2009
<2009-01-15T10:15:12> 127.0.0.1 Administrator Error: Failed to stylize layer: tiger landmarks An exception occurred in FDO component. Schema can not be found in the collection. StackTrace: - MgMappingUtil.StylizeLayers line 786 file
d:\build\carrera_nightly\build_34.2\ent\os\server\src\services\mapping\M
ap
pingUtil.cpp    Failed to stylize layer: tiger landmarks
An exception occurred in FDO component. Schema can not be found in the collection. Looking in the mail list archived I found a similar problem reported
march
2008
http://n2.nabble.com/Mapguide-and-consuming-WFS%3A-does-it-work-for-some
on
e---tt1815194.html#a1815194
Was the problem ever fixed, or is this a new problem? Thanks Gary _______________________________________________
mapguide-users mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapguide-users
------------------------------------------------------------------------

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to