Just to let you know the QGIS WPS client is now smarter when handling GML versions. See [1].<br><br>Regards, <br><br>Germán<br>----------------------<br>[1] <a href="http://geotux.tuxfamily.org/index.php/en/geo-blogs/item/301-contribuyendo-al-cliente-wps-de-qgis">http://geotux.tuxfamily.org/index.php/en/geo-blogs/item/301-contribuyendo-al-cliente-wps-de-qgis</a><br>

<br><br><div class="gmail_quote">2012/2/10 Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

Le vendredi 10 février 2012 15:45:28, Horst Düster a écrit :<br>
<div class="im">> The plugin uses the QGIS class QgsVectorFileWriter() based on the OGR<br>
> library to generate GML output. As I can see you dont have any options<br>
> to decide between GML2 and GML3.<br>
<br>
</div>With recent enough OGR versions (>= 1.8.0), you can control if the output<br>
should be GML2 or GML3. See <a href="http://gdal.org/ogr/drv_gml.html" target="_blank">http://gdal.org/ogr/drv_gml.html</a> . Not sure if<br>
this option is used by qgis though<br>
<div><div class="h5"><br>
><br>
> Hope that helps ...<br>
><br>
> Regards<br>
> Horst<br>
><br>
> Dr. Horst Düster<br>
> Kappasys<br>
> Alte Bernstrasse 13<br>
> CH-4500 Solothurn<br>
><br>
> Tel.: <a href="tel:%2B41%20%280%29%2032%20514%2000%2040" value="+41325140040">+41 (0) 32 514 00 40</a><br>
> Mobil: <a href="tel:%2B41%20%280%29%2076%20408%2051%2006" value="+41764085106">+41 (0) 76 408 51 06</a><br>
> eMail: <a href="mailto:horst.duester@kappasys.ch">horst.duester@kappasys.ch</a><br>
> skype: horstduester<br>
> Twitter: moazagotl<br>
> Web: <a href="http://www.kappasys.ch" target="_blank">www.kappasys.ch</a><br>
><br>
> lat: N 47° 12' 06.408" lon: E 7° 32' 13.740"<br>
><br>
> Am 10.02.2012 15:34, schrieb Augusttown:<br>
> > Hi Horst,<br>
> ><br>
> > I know the plugin is not manipulating the data coming back from server,<br>
> > but my question is about the data (request) sent by the WPS plugin, why<br>
> > is it GML2 instead of GML3?<br>
> ><br>
> > Thanks,<br>
> > Yingqi<br>
> ><br>
> > On Fri, Feb 10, 2012 at 1:32 AM, Horst Düster [via OSGeo.org]<<br>
> ><br>
> > <a href="mailto:ml-node%2Bs1560n4382758h10@n6.nabble.com">ml-node+s1560n4382758h10@n6.nabble.com</a>>  wrote:<br>
> >> Im not sure what happend in your case. But the Plugin doesnt manipulate<br>
> >> incoming data. It only downloads the resultand features from the server<br>
> >> as it is and integrates them into QGIS.<br>
> >><br>
> >> Regards<br>
> >> Horst<br>
> >><br>
> >> Dr. Horst Düster<br>
> >> Kappasys<br>
> >> Alte Bernstrasse 13<br>
> >> CH-4500 Solothurn<br>
> >><br>
> >> Tel.: <a href="tel:%2B41%20%280%29%2032%20514%2000%2040" value="+41325140040">+41 (0) 32 514 00 40</a><br>
> >> Mobil: <a href="tel:%2B41%20%280%29%2076%20408%2051%2006" value="+41764085106">+41 (0) 76 408 51 06</a><br>
> >> eMail: [hidden<br>
> >> email]<<a href="http://user/SendEmail.jtp?type=node&node=4382758&i=0" target="_blank">http://user/SendEmail.jtp?type=node&node=4382758&i=0</a>> skype:<br>
> >> horstduester<br>
> >> Twitter: moazagotl<br>
> >> Web: <a href="http://www.kappasys.ch" target="_blank">www.kappasys.ch</a><br>
> >><br>
> >> lat: N 47° 12' 06.408" lon: E 7° 32' 13.740"<br>
> >><br>
> >> Am 10.02.2012 07:25, schrieb Augusttown:<br>
> >>> Hi folks,<br>
> >>><br>
> >>> I am using the QGIS WPS plugin to consume one WPS process. One of the<br>
> >><br>
> >> input<br>
> >><br>
> >>> parameter type is defined as below in process description:<br>
> >>><br>
> >>> ...<br>
> >>> <ComplexData><br>
> >>><br>
> >>>       <Default><br>
> >>><br>
> >>>           <Format><br>
> >>><br>
> >>> <MimeType>text/xml</MimeType><br>
> >>> <Encoding>UTF-8</Encoding><br>
> >>> <Schema><a href="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd" target="_blank">http://schemas.opengis.net/gml/3.1.1/base/gml.xsd</a></Schema><br>
> >>> </Format><br>
> >>><br>
> >>>       </Default><br>
> >>>       ...<br>
> >>><br>
> >>> </ComplexData><br>
> >>> ...<br>
> >>><br>
> >>> So I selected one feature from a shapefile layer as input and execute<br>
> >><br>
> >> the<br>
> >><br>
> >>> process, and in the Execute request WPS plugin sends I captured<br>
> >><br>
> >> following<br>
> >><br>
> >>> GML as complexData<br>
> >>> ...<br>
> >>> <gml:featureMember><br>
> >>><br>
> >>>       <ogr:qt_temp fid="F1"><br>
> >>>       <ogr:geometryProperty><br>
> >>><br>
> >>>           <gml:Point><br>
> >>><br>
> >>> <gml:coordinates>-13629600.1153,4547314.1181999967</gml:coordinates><br>
> >>><br>
> >>>           </gml:Point><br>
> >>><br>
> >>>       </ogr:geometryProperty><br>
> >>>       </ogr:qt_temp><br>
> >>><br>
> >>> </gml:featureMember><br>
> >>> ...<br>
> >>> Obviously the input feature is encoded as GML2, so I wonder why the<br>
> >><br>
> >> input<br>
> >><br>
> >>> feature is encoded as GML2 instead of GML3? Is it a limitation of<br>
> >><br>
> >> QGIS/WPS<br>
> >><br>
> >>> plugin or did I miss anything.<br>
> >>><br>
> >>> I do notice that WPS plugin can successfully parse GML3 for some other<br>
> >>> process that output GML3, so how I can configure it to make WPS client<br>
> >>> encode input features as GML3?<br>
> >>><br>
> >>> Thanks<br>
> >>><br>
> >>> --<br>
> >><br>
> >>> View this message in context:<br>
> >> <a href="http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-" target="_blank">http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-</a><br>
> >> plugin-0-6-16-tp4382424p4382424.html<br>
> >><br>
> >>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
> >>> _______________________________________________<br>
> >>> Qgis-user mailing list<br>
> >>> [hidden email]<<a href="http://user/SendEmail.jtp?type=node&node=4382758&i=1" target="_blank">http://user/SendEmail.jtp?type=node&node=4382758&i=1</a>><br>
> >>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> >><br>
> >> _______________________________________________<br>
> >> Qgis-user mailing list<br>
> >> [hidden email]<<a href="http://user/SendEmail.jtp?type=node&node=4382758&i=2" target="_blank">http://user/SendEmail.jtp?type=node&node=4382758&i=2</a>><br>
> >> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> >><br>
> >><br>
> >> ------------------------------<br>
> >><br>
> >>   If you reply to this email, your message will be added to the<br>
> >>   discussion<br>
> >><br>
> >> below:<br>
> >><br>
> >> <a href="http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-" target="_blank">http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-</a><br>
> >> plugin-0-6-16-tp4382424p4382758.html<br>
> >><br>
> >>   To unsubscribe from GML2/GML3 encoding in WPS input (WPS plugin<br>
> >>   0.6.16), click<br>
> >><br>
> >> here<<a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=" target="_blank">http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=</a><br>
> >> unsubscribe_by_code&node=4382424&code=YW5ha2ludGFuZ0BnbWFpbC5jb218NDM4Mj<br>
> >> QyNHwtMjY2NTI4OTUx> .<br>
> >> NAML<<a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=" target="_blank">http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=</a><br>
> >> macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=<a href="http://nabble.naml.name" target="_blank">nabble.naml.name</a><br>
> >> <a href="http://spaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi" target="_blank">spaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.vi</a><br>
> >> ew.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3A<br>
> >> email.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nab<br>
> >> ble%3Aemail.naml><br>
> ><br>
> > --<br>
> > View this message in context:<br>
> > <a href="http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-" target="_blank">http://osgeo-org.1560.n6.nabble.com/GML2-GML3-encoding-in-WPS-input-WPS-</a><br>
</div></div>> > plugin-0-6-16-tp4382424p4383461.html Sent from the Quantum GIS - User<br>
<div class="HOEnZb"><div class="h5">> > mailing list archive at Nabble.com.<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Qgis-user mailing list<br>
> > <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br>-- <br>-----------<br>   |\__  <br>(:>__)(<br>   |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>

<a href="http://twitter.com/GeoTux2">http://twitter.com/GeoTux2</a><br><br>