[mapguide-users] select features filter

Mark Pendergraft markp at Meadgilman.com
Fri Jun 29 10:42:01 EDT 2007


What type of value is the RoadID property?  I had problems selecting parcels from a certain county because the ParcelID was a string, not a number and I had to change my filter to "Parcel_Id = '30042562000140'" in order to get it to work.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of GM_Mizar
Sent: Friday, June 29, 2007 3:15 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] select features filter


Hi everybody,

I have a problem with feature filters. I have a feature source with some
properties (FeatId, RoadID, origin, destination, …), I’m trying to select
only those that have RoadID = 0.

After a lot of tests, at the end I’m using the map agent web interface
(http://localhost/MapGuide/mapagent)  on the “SelectFeatures” function. If I
don’t use any filter I can get 5 features in my feature source, having the
FeatId property from 1 to 5 and all the RoadID property set to 0.

If I use the filter “RoadID=0” I don’t get any feature. 

How shall I write the filter?

Thanks,
Giampiero

-- 
View this message in context: http://www.nabble.com/select-features-filter-tf3999191s16610.html#a11358011
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list