Hi Rudy,
I've tried your suggestion previously, but unfortunately it still gives
me the empty geometry element <MyPrefix:geometry/> in the WFS response.
Can you think of any other possible issues which may prevent the
geometry being mapped across?
Many thanks,
Ryan
From: Rudy Commenge [mailto:[email protected]]
Sent: 17 September 2013 13:30
To: Ryan Moody
Cc: [email protected]; Neil Kirk
Subject: Re: [Geoserver-users] App-Schema Geometry Mapping
Hi Ryan,
Your mapping file contains :
<AttributeMapping>
<targetAttribute>geometry</targetAttribute>
<sourceExpression>
<OCQL>geom</OCQL>
</sourceExpression>
</AttributeMapping>
I think you forgot the prefix for the target attribute :
<AttributeMapping>
<targetAttribute>MyPrefix:geometry</targetAttribute>
<sourceExpression>
<OCQL>geom</OCQL>
</sourceExpression>
</AttributeMapping>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users