I am trying to build a query.I have a temporary created layer. It's a one rectangle.
Now i want select this one feuture by a SelectFeature function,but it doesn't work. //Code to create $siteConnection, $resourceService and $featureService $map = new MgMap(); $map->Open($resourceService, $mapName); $layer = $map->GetLayers()->GetItem('Vyber'); $filterQuery = new MgFeatureQueryOptions(); $filterQuery->SetFilter("ID = 1"); $resId = new MgResourceIdentifier($layer->GetFeatureSourceId()); $featureReader = $featureService->SelectFeatures($resId, "Vyber", $filterQuery); Vyber is the name of the layer and ID is a AutoGeneration propierty. -- View this message in context: http://www.nabble.com/Select-feature-problem-tp14532933s16610p14532933.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users