[mapserver-dev] resultType=hits for WFS 1.1

bartvde at osgis.nl bartvde at osgis.nl
Thu Feb 26 08:14:17 EST 2009


Hi Assefa,

okay I'll open up an enhancement bug. [1]

I agree, it's a shame you need two requests for it, but that's the way it
was designed by the OGC :-(

Best regards,
Bart

[1] http://trac.osgeo.org/mapserver/ticket/2907#preview

> bartvde at osgis.nl wrote:
>> Hi list,
>>
>> is the resultType parameter implemented in Mapserver for WFS 1.1?
>>
>> I am in need of such functionality to get the query count, and
>> resultType=hits would give me this option :-)
>>
>> But I fear this is not yet implemented in Mapserver ...
>>
>
>   No It is not implemented. From what I can see the Hits would return
> the number of features that the query found (and not features).
>
> It is too late to add it for 5.4 but could be added just after. You
> could add a bug and set to 5.4.1 or 6.0.
>
> I find it a bit costly though to do a request to get the hit counts and
> then do a 2nd request to get the features. Is that the way it is
> supposed to work for clients?
>
> Best regards
>
>> Best regards,
>> Bart
>>
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056 (ext 14)
> Fax:   (613) 565-0925
> ----------------------------------------------------------------
>
>




More information about the mapserver-dev mailing list