[mapguide-users] Mix of selectfeature and selectaggregate query

Dave Wilson dave.wilson at autodesk.com
Wed Dec 16 13:37:22 EST 2009


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: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jo Cook
Sent: Wednesday, December 16, 2009 10:27 AM
To: mapguide-users at lists.osgeo.org
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
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list