Hi Mauro,

Il giorno gio, 14/05/2015 alle 10.12 +0200, Mauro Bartolomeoli ha
scritto:
> Hi Stefano,
> I remember having the same problem with some tests I did some time
> ago. 
> 
> 
> Could you please try a more recent version (latest 2.8 SNAPSHOT for
> example)? Because if I am not wrong, this should have already been
> fixed.

Sure thing, I'll test it ASAP.

> Also, try with a different WFS version (2.0, 1.1.0) and see if the
> result is consistent.

Tried both WFS 2.0 and 1.1.0, same result :-(

> 
> 
> Thanks
> Mauro

Thanks for the suggestion,
Stefano

> 
> 2015-05-13 23:28 GMT+02:00 Stefano Costa
> <stefano.co...@geo-solutions.it>:
>         Hi Ben,
>         thanks for your suggestions.
>         Unfortunately, they didn't work for me.
>         
>         > please try using targetAttributeNode to treat this property
>         as a
>         > gml:GeometryPropertyType:
>         >
>         > <AttributeMapping>
>         > <targetAttribute>
>         >
>         
> lcv:extent/gmd:EX_Extent/gmd:geographicElement/gmd:EX_BoundingPolygon/gmd:polygon
>         > </targetAttribute>
>         >
>         <targetAttributeNode>gml:GeometryPropertyType</targetAttributeNode>
>         > <sourceExpression>
>         > <OCQL>geom</OCQL>
>         > </sourceExpression>
>         > </AttributeMapping>
>         
>         Same result as before, the geometry is encoded as a WKT
>         string.
>         
>         >
>         > This tutorial suggests that you could also map the contained
>         > gml:AbstractGeometry (no need for targetAttributeNode):
>         >
>         
> https://sites.google.com/site/inspiremappingtutorial/land-use-mapping-details/5-2-spatialplan_mapping-xml
>         >
>         > <AttributeMapping>
>         > <targetAttribute>
>         >
>         
> lcv:extent/gmd:EX_Extent/gmd:geographicElement/gmd:EX_BoundingPolygon/gmd:polygon/gml:AbstractGeometry
>         > </targetAttribute>
>         > <sourceExpression>
>         > <OCQL>geom</OCQL>
>         > </sourceExpression>
>         > </AttributeMapping>
>         
>         This configuration produces an empty gml:AbstractGeometry tag
>         nested
>         inside a gmd:polygon tag:
>         
>         <lcv:extent>
>           <gmd:EX_Extent>
>            <gmd:geographicElement>
>              <gmd:EX_BoundingPolygon>
>                <gmd:polygon>
>                  <gml:AbstractGeometry/>
>                </gmd:polygon>
>              </gmd:EX_BoundingPolygon>
>            </gmd:geographicElement>
>           </gmd:EX_Extent>
>         </lcv:extent>
>         
>         I forgot to mention I'm using GeoServer 2.6.2, so GeoTools
>         12.2.
>         
>         I'll continue the investigation.
>         
>         >
>         > Please let us know if either of these mappings work for you.
>         >
>         > Kind regards,
>         > Ben.
>         
>         Best regards,
>         Stefano
>         
>         
>         
>         
> ------------------------------------------------------------------------------
>         One dashboard for servers and applications across
>         Physical-Virtual-Cloud
>         Widest out-of-the-box monitoring support with 50+ applications
>         Performance metrics, stats and reports that give you
>         Actionable Insights
>         Deep dive visibility with transaction tracing using APM
>         Insight.
>         http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>         _______________________________________________
>         GeoTools-GT2-Users mailing list
>         GeoTools-GT2-Users@lists.sourceforge.net
>         https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>         
> 
> 



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to