[Zoo-discuss] new service with WFS as input

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Dec 9 06:51:19 PST 2014


Hi,
My need is to get the distinct values of an attribute of a layer in a WFS.
This request get all the values of an attribute, but there are duplicated 
values
http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)

I want to create my first zoo service and think of using Python.
The service would call the request above and return the list of unique 
values, sorted in alphabetic order

Easy to say but i have no clue where to begin. 
Is there an example I could start from?
I know zoo support several language, but is Python a good choice? Should I 
use another language that would make things easier?

Thanks for you help
steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20141209/2e3575d5/attachment.html>


More information about the Zoo-discuss mailing list