Hi Jody,
I think you need to do it when creating a geometry, i'm not sure but it's a
property of a geometry.
I still want to refactor the wfs-datastore (as discussed before) but i don't
have the time to do it :(
Roy _____
From: Jody Garnett [mailto:[email protected]]
To: GeoTools Developers list [mailto:[email protected]]
Sent: Mon, 24 Jan 2011 12:55:53 +0100
Subject: [Geotools-devel] wfs srsName contract
So what is the srsName contract these days for working with the WFS?
I have managed to break things by moving to geotools 2.8 (see
http://jira.codehaus.org/browse/UDIG-1745)
java.io.IOException: srsName required for MultiPoint at
org.geotools.xml.gml.GMLComplexTypes.encode(GMLComplexTypes.java:361)
at org.geotools.xml.gml.GMLComplexTypes.encode(GMLComplexTypes.java:150)
at
org.geotools.xml.gml.GMLComplexTypes$AbstractGeometryType.encode(GMLComplexTypes.java:976)
at
org.geotools.xml.wfs.WFSTransactionComplexTypes$PropertyType.encode(WFSTransactionComplexTypes.java:1460)
at
org.geotools.xml.wfs.WFSTransactionComplexTypes$UpdateElementType.encode(WFSTransactionComplexTypes.java:1078)
at
org.geotools.xml.wfs.WFSTransactionComplexTypes$TransactionType.encode(WFSTransactionComplexTypes.java:311)
at
org.geotools.xml.DocumentWriter.writeFragment(DocumentWriter.java:316)
I would like to restore things; and am trying to sort out if the srsName (or
SRID) should be injected in the WFSDataStore; or it is something I should be
doing when creating geometry?
Jody ------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel