I'm still chipping away at my FeatureCache. I'm currently working on the class that will write Features to a binary file that uses a shortened format of BOFF. (http://thejumppilotproject.pbwiki.com/Binary+Open+Feature+Format) Part of the format stores a unique numeric identifier for the Feature, which I will also be using in my FeatureCache internally.
The BOFF format defines this unique numeric identifier for features as an 8 byte long. The Feature interface provides a getID method that returns an int. This isn't a problem, since I Java will automatically convert the int to a long. However, I need to ask some questions about the getID method so that I don't use it improperly in the guts of the FeatureCache. Is the int returned by the getID method gauranteed to be unique within each FeatureCollection? Can a Layer contain two Features with the same ID? What if a Feature is cloned or copied? Thanks for any information on how the ID mechanism for Features works in JUMP/OpenJUMP. The Sunburned Surveyor ------------------------------------------------------------------------- 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/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel