[Qgis-user] Re: GML2/GML3 encoding in WPS input (WPS plugin 0.6.16)

Germán Carrillo carrillo.german at gmail.com
Thu May 17 06:42:57 PDT 2012


Just to let you know the QGIS WPS client is now smarter when handling GML
versions. See [1].

Regards,

Germán
----------------------
[1]
http://geotux.tuxfamily.org/index.php/en/geo-blogs/item/301-contribuyendo-al-cliente-wps-de-qgis


2012/2/10 Even Rouault <even.rouault at mines-paris.org>

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

-- 
-----------
   |\__
(:>__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120517/c707b008/attachment.html>


More information about the Qgis-user mailing list