Hi,
quick question, app-schema is intended to work against
a certain target schema, which in turn depends on a specific
version of GML.

Which version of GML is your target schema supposed to be using?
If it's this one, like it looks, then it should be meant to use GML 3.1
only:
http://www.pvretano.com/schemas/gazetteer/1.0.0/gmlsf0/iso19112.xsd

I'm not sure app-schema can "invent" a new schema on the fly, one that
is based on GML 3.2 instead of GML 3.1

Have you tried using WFS 2.0 but asking for a GML 3.1 output format?

Cheers
Andrea


On Thu, Feb 25, 2016 at 9:54 AM, TRD <[email protected]> wrote:

> Hello,
>
> I'm using GeoServer's and App-Schema-Plugin's current stable version 2.8.2
> for complex feature mappings. In general this is working fine. While doing
> some WFS requests I noticed a difference between the output of a gml
> polygon
> property with WFS version 1.1.0 (GML 3.1.1) and the same property with WFS
> version 2.0.0 (GML 3.2.1).
>
> this is the WFS 1.1.0 output for the geometry property of my feature type:
> <iso19112:geographicExtentPolygon>
>   <gml:Polygon gml:id="polygon.dog_hauskoordinaten.2395723"
> srsDimension="2"
> srsName="urn:x-ogc:def:crs:EPSG:25832">
>     <gml:exterior>
>       <gml:LinearRing srsDimension="2">
>         <gml:posList>695559.9950007958 5762290.559994311 695559.9950007958
> 5762291.559994311 695560.9950007958 5762291.559994311 695560.9950007958
> 5762290.559994311 695559.9950007958 5762290.559994311</gml:posList>
>       </gml:LinearRing>
>     </gml:exterior>
>   </gml:Polygon>
> </iso19112:geographicExtentPolygon>
>
> this is the WFS 2.0.0 output of the same property of the feature type:
> <iso19112:geographicExtentPolygon>POLYGON ((695559.9950007958
> 5762290.559994311, 695559.9950007958 5762291.559994311, 695560.9950007958
> 5762291.559994311, 695560.9950007958 5762290.559994311, 695559.9950007958
> 5762290.559994311))</iso19112:geographicExtentPolygon>
>
> The underlying database is a postgis database and the column used for this
> property mapping is a geometry column. This is the corresponding property
> mapping of the feature type:
> <AttributeMapping>
>   <targetAttribute>iso19112:geographicExtentPolygon</targetAttribute>
>   <idExpression><OCQL>strConcat('polygon.', getId())</OCQL></idExpression>
>   <sourceExpression><OCQL>geographicextent</OCQL></sourceExpression>
> </AttributeMapping>
>
> The schema definition for the property is the following:
> <xsd:element name="geographicExtentPolygon" type="gml:SurfacePropertyType"
> minOccurs="0"></xsd:element>
>
> I'm a bit confused why the WFS 2.0.0 output shows the WKT of the geometry
> column instead of a gml geometry representation. I'm not sure if this is
> the
> intended behaviour or if I have a flaw in my configuration.
> If I change the outputFormat to "GML3" for the WFS 2.0.0 request I receive
> the same response as if I requested the WFS in version 1.1.0.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Geoserver-2-8-2-WFS-2-0-0-Output-for-gml-Polygon-is-unexpected-WKT-String-for-outputFormat-GML32-tp5252749.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to