Matthias Basler wrote:
Quick question: Can one geometry be reused in multiple features? If not, the
geometry could simply hold a back reference to it's parent feature.
Yes, in the GML data model. And so yes in the revision of the Feature
Model we are planing for GeoTools. To acomplish this in an XML file the
poor Geometry is stuck with an ID.
However for your implementation (assuming you can ever get Martin to
consider Interfaces) you could make a lazy Geometry that acts as a
wrapper around the ID, and looks up to content when needed.
That path leads off into deep voodoo of the Hibernate / Cache kind - at
the very least it is a problem to capture on a DataStore by DataStore
basis. There is some more discussion to be had on the confluence site w/
respect to a formal Application Schema object that has the ability to
cash in IDs for cached objects.
Great undertaking you guys, I am mostly being quiet because you guys
seem to know what you are about, and Paul is feeding us the right
reference information.
Cheers,
Jody
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel