Jody Garnett ha scritto: > Some more thoughts ... > featureId is supposed to be immutable - so it makes a good hashcode / > equals test. > > The formal OGC feature model did have a getVersion(): String - but we > never used it, and never used it, and finally removed it from GeoTools. > Andrea has been doing some work with respect to versioning ... he may be > treating version as a normal attribute?
Nope, version is not an attribute, and it's not there even when you ask features from the versioning data store. You do specify what revision do you want making a query, so you're supposed to know it in advance. I could modify the versioning data store to add the queried revision, or the last modification revision (different feature by feature) if we wanted, it would just take some work in the readers (a few hours if you want the revision, probably a day or more if you want the last modified revision instead). Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
