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