[mapguide-users] Mix of selectfeature and selectaggregate query

Zac Spitzer zac.spitzer at gmail.com
Fri Dec 18 21:24:49 EST 2009


there was a recent bug fix with select aggregates leaking a
feature reader http://trac.osgeo.org/mapguide/ticket/1184

z

2009/12/19 Jo Cook <j.cook at oxfordarch.co.uk>:
>
> Hi Jackie,
>
> Well, I'm making progress, in that the query now returns results- as well as
> your changes I had to change the type of the featureservice. However,
> despite the presence of a groupingfilter and selectdistinct being true, it's
> still returning all the results. Any thoughts?
>
> I'm assuming it's something to do with the order of the queryoptions but I'm
> not having much luck getting it to work.
>
> Many thanks for your help
>
> Jo
>
> Jackie Ng wrote:
>>
>> Two things I see:
>>
>> - It looks like 'Postcode' is not part of the properties to be returned.
>> Only 'Postcodegroup' is there.
>> - You're closing the $dataReader before you're iterating through your
>> results, and that call is not correct PHP syntax ($dataReader->Close()
>> instead of $dataReader.close())
>>
>> Hope that helps
>>
>> - Jackie
>>
>>
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/Mix-of-selectfeature-and-selectaggregate-query-tp4176453p4187804.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
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list