There is a filter on SelectAggregates just like SelectFeatures. You should be 
able to add a PostalCode LIKE clause using this if I am not mistaken.

Dave

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jo Cook
Sent: Wednesday, December 16, 2009 10:27 AM
To: [email protected]
Subject: RE: [mapguide-users] Mix of selectfeature and selectaggregate query


Hi Dave,

The problem with this approach is that I need to narrow down the available
postcodes first (there are many) so I need some way of passing a filter to
the selectaggregates query and I can't see how to do that. The only options
seem to be spatialfilters and groupingfilters, whereas I want a simple text
filter, unless I'm mistaken?

Thanks

Jo

Dave Wilson wrote:
> 
> I think you want to do your initial query using SelectAggregates and set
> the Distinct flag to get a unique list of Postal Codes. From your result
> page the user could select a code and then you would use a SelectFeatures
> query to return all the actual points adding them to a SelectionSet and
> zooming to that.
> 
> Dave
> 
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Mix-of-selectfeature-and-selectaggregate-query-tp4176453p4176798.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
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