On Tue, Nov 6, 2012 at 3:35 PM, RudyWI <[email protected]> wrote: > Hi, > > Thanks for your help. > I have performed a Geometry mapping successfully. > But the result does not have a valid structure. > > I want the following result : > <myNs:MyPoint srsName="..."> > <gml:pos>...</gml:pos> > </myNs:MyPoint> > > So, I have defined the following schema : > <element name="MyPoint" type="gml:GeometryPropertyType" /> > > But I have the following result : > <myNs:MyPoint srsName="..."> > <gml:Point srsName="..."> > <gml:pos>...</gml:pos> > </gml:Point> > </myNs:MyPoint> > > So, how can I do to have the expected result ?
I don't think you can, what you're looking for is not valid GML (Ben can explain this better, but there are structural rules in GML that have to be followed, one of them is that geometries literal have to be contained in a property element if memory serves me right). Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
