From: Duane Z. <za...@cu...> - 2010-11-03 14:31:11
|
Good Morning, I'm trying to put together something to parses a GML AbstractGeometryType into a JTS Geometry object, but cannot seem to locate the classes being talked about in http://www.mail-archive.com/geo...@li.../msg05139.html . The documentation at http://docs.codehaus.org/display/GEOTDOC/03+Using+Transformers+for+XML+Generation seems to focus on generating XML from features, and the documentation at http://docs.codehaus.org/display/GEOTDOC/13+XML seems to focus on encoding and decoding Features and FeatureCollections. In the grand scheme of things I do have a GML feature which wraps my AbstractGeometryType, but it is defined in such a way as to allow a FeatureCollection to be used in place of the AbstractGeometry. Thus I would rather just xpath into the AbstractGeometry and parse it instead of iterating through the recursive tree. I appreciate your help in advance -Duane |