[fdo-users] WFS FDO Spatial Filtering

Greg Boone greg.boone at autodesk.com
Fri Jul 30 17:20:49 EDT 2010


Can you send me a larger code example illustrating how you create the filter and select command?

Greg

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of rogerG
Sent: Friday, July 30, 2010 1:34 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] WFS FDO Spatial Filtering


Hi I've been trying to get the FDO WFS provider (3.4) to just send me the
features within a geometric envelope.
I tried adding a spatial filter (as a string) to the Select Command but I
get an exception "parameter Geom not recognised" from the WFS provider and
it works fine in the FDO OGR provider.

Does the WFS provider support spatial filters or not - I'm a little confused
- the Provider itself
includes FdoConditionType_Spatial in the supported FilterCapabilities along
with lots of geometry operations in the supported SpatialOperations, yet the
developer guide says no filtering is supported by WFS at all.

So which is correct, the guide, or the returned list of filter capabilities?
If the WFS provider really does support spatial filtering then what am I
doing wrong?
and if not is there another means (within the context of being an FDO
feature consumer) to restrict the features returned to a small envelope.

here is one of my filter strings for reference:
"Geom INTERSECTS GeomFromText('POLYGON ((495566.0 324296.5, 577840.0
324296.5, 577840.0 230844.25, 495566.0 230844.25, 495566.0 324296.5))')"

thanks
 Roger.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WFS-FDO-Spatial-Filtering-tp5355815p5355815.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list