Thanks for the comments.
Let me chew on this one a little while and then I'll probably have
something to add.
SS
On 7/11/07, Michaël Michaud <[EMAIL PROTECTED]> wrote:
> Hi,
>
> ID is not only unique for a layer, it is unique for all the features
> derived from AbstractBasicFeature (mainly Basic
Hi,
ID is not only unique for a layer, it is unique for all the features
derived from AbstractBasicFeature (mainly BasicFeature).
Note : when you connect to a database in such a way that data is only
loaded on demand, the same feature can take successively different ids
each time it is reloaded
Features that extend AbstractBasicFeature use the FeatureUtil.nextID()
to generate an ID which is unique across all layers.
I would not tie the uniqueness of an ID to a dataset (currently one
dataset == one Layer), as in the future you may have query layers which
bring in features from differen
I'll try to dig around in the code to see if I can figure out the
answer to this question. I think we need to clarify/resolve some of
these questions about Feature identification.
Thanks for the help.
The Sunburned Surveyor
On 7/11/07, Larry Becker <[EMAIL PROTECTED]> wrote:
> Actually, I believ
Actually, I believe the FID is currently unique across all layers.
Larry
On 7/11/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> Stefan wrote: "the ID should be unique within one layer..."
>
> That is what I thought. Thank you for confirming.
>
> Stefan wrote: "for cloning and copying look in
Stefan wrote: "the ID should be unique within one layer..."
That is what I thought. Thank you for confirming.
Stefan wrote: "for cloning and copying look in the code!"
Actually, the getID method is defined in the Feature interface, and is
implemented by BasicFeature. I think this leaves open som
the ID should be unique within one layer..
for cloning and copying look in the code!
Sunburned Surveyor schrieb:
> 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://thejumppi
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,
wh