[Zoo-discuss] RE RE RE new service with WFS as input
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Fri Dec 12 14:15:40 PST 2014
Got answer on gdal list
Steve.Toutant at inspq.qc.ca@lists.osgeo.org
Envoyé par : zoo-discuss-bounces at lists.osgeo.org
2014-12-12 13:02
A
Zoo-Discuss <zoo-discuss at lists.osgeo.org>,
zoo-discuss-bounces at lists.osgeo.org
cc
Objet
[Zoo-discuss] RE RE new service with WFS as input
Please any help!
I'm new to zoo and Python...How should i parse the result of this query
http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)
To get all the values of NA2DESC
thanks!
Steve.Toutant at inspq.qc.ca@lists.osgeo.org
Envoyé par : zoo-discuss-bounces at lists.osgeo.org
2014-12-09 14:02
A
Zoo-Discuss <zoo-discuss at lists.osgeo.org>,
zoo-discuss-bounces at lists.osgeo.org
cc
Objet
[Zoo-discuss] RE new service with WFS as input
I started from the workshop and I have a new service running.
I get the result of this query
http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)
now I would like to parse this GML in order to read the value of each
NA2DESC
The example I saw in zoo are creating geometry from GML using ogr and I
could'nt make it work for my needs.
Should i parse using python stuff or there is a GML parser in Zoo I could
use?
thanks
steve
Steve.Toutant at inspq.qc.ca@lists.osgeo.org
Envoyé par : zoo-discuss-bounces at lists.osgeo.org
2014-12-09 09:51
A
Zoo-Discuss <zoo-discuss at lists.osgeo.org>
cc
Objet
[Zoo-discuss] new service with WFS as input
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 _______________________________________________
Zoo-discuss mailing list
Zoo-discuss at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
_______________________________________________
Zoo-discuss mailing list
Zoo-discuss at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
_______________________________________________
Zoo-discuss mailing list
Zoo-discuss at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20141212/ad4d63ee/attachment.html>
More information about the Zoo-discuss
mailing list