[mapguide-users] How to query Features with no geometry

Gunter Becker gunter.becker at csogis.de
Mon Jan 11 10:44:21 EST 2010

OK, I've got it :

MgFeatureQueryOptions queryOptions = new MgFeatureQueryOptions();
queryOptions.SetFilter("Geometry NULL");

Gunter Becker wrote:
> Hi all,
> I'd like to know how to query Features of an FeatureSource that have no
> geometry (GeometryProperty == null).
> I have an SQL Server Spatial table with an geometric column. But not all
> features in this table have a geometry. I want the user to geocode these
> features that have null values. For that I want to query these features
> I can't figure out how to use MgFeatureService.SelectFeatures to get the
> appropriate features. How do I have to use the SetFilter- or the
> SetSpatialFilter- method of the MgFeatureQueryOptions.
> Thanks Gunter

View this message in context: http://n2.nabble.com/How-to-query-Features-with-no-geometry-tp4285475p4286102.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list