<font size=3>I started from the workshop and I have a new service running.</font>
<p><font size=3>I get the result of this query</font>
<br><a href="http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)"><font size=2 color=blue face="sans-serif"><u>http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)</u></font></a><font size=3>
</font>
<br>
<br><font size=3>now I would like to parse this GML in order to read the
value of each </font><font size=2 color=blue face="sans-serif"><u>NA2DESC</u></font>
<br><font size=3>The example I saw in zoo are creating geometry from GML
using ogr and I could'nt make it work for my needs.</font>
<br><font size=3>Should i parse using python stuff or there is a GML parser
in Zoo I could use?</font>
<br>
<br><font size=3>thanks</font>
<br><font size=3>steve</font>
<p>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=40% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif"><b>Steve.Toutant@inspq.qc.ca@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : zoo-discuss-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2014-12-09 09:51</font>
<td width=59% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">A</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Zoo-Discuss
<zoo-discuss@lists.osgeo.org></font>
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">[Zoo-discuss]
new service with WFS as input</font></table>
<br>
<table width=393 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=336 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Hi,</font><font size=3> </font><font size=2 face="sans-serif"><br>
My need is to get the distinct values of an attribute of a layer in a WFS.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
This request get all the values of an attribute, but there are duplicated
values</font><font size=3> </font><font size=3 color=blue><u><br>
</u></font><a href="http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)"><font size=2 color=blue face="sans-serif"><u>http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC)</u></font></a><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I want to create my first zoo service and think of using Python.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
The service would call the request above and return the list of unique
values, sorted in alphabetic order</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Easy to say but i have no clue where to begin. <br>
Is there an example I could start from?</font><font size=3> </font><font size=2 face="sans-serif"><br>
I know zoo support several language, but is Python a good choice? Should
I use another language that would make things easier?</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Thanks for you help</font><font size=3> </font><font size=2 face="sans-serif"><br>
steve</font><font size=3> </font><tt><font size=2>_______________________________________________<br>
Zoo-discuss mailing list<br>
Zoo-discuss@lists.osgeo.org<br>
</font></tt><a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss"><tt><font size=2>http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</font></tt></a>
<br>
<br>
<br>