Re: [JPP-Devel] Question about persistent feature identification...

2007-11-16 Thread Rahkonen Jukka
Hi, I do not know how the WFS-plugin deals with feature id's, but for sure it must handle also external FIDs which are not changed during OJ session. That's because the current version that lat/lon is developing can also do WFS transactions (insert, delete, update) and delete and update would n

[JPP-Devel] R: Question about persistent feature identification...

2007-11-16 Thread P . Rizzi Ag . Mobilità Ambiente
If you want an automagically universal unique ID, you can use a UUID stored inside a suitable char field. You'll surely find some Java util to create it. It's not as small and performant as an integer, but it's guaranteed to be unique. A simple integer qith it's 2^31 upper limit, may not be enough

Re: [JPP-Devel] Question about persistent feature identification...

2007-11-16 Thread Andreas Schmitz
Sunburned Surveyor wrote: Hi, > Andreas wrote: "But I cannot really see > the point in trying to find a common name for an ID field, as that usually > depends strongly on your use case" > > I didn't want a situation where a Feature Schema needs to have a > persistent ID attribute for my schema an

Re: [JPP-Devel] Question about persistent feature identification...

2007-11-16 Thread Andreas Schmitz
Rahkonen Jukka wrote: Hi, > I do not know how the WFS-plugin deals with feature id's, but for sure it must >handle also external FIDs which are not changed during OJ session. That's >because the current version that lat/lon is developing can also do WFS >transactions (insert, delete, update) and

Re: [JPP-Devel] R: Question about persistent feature identification...

2007-11-16 Thread Sunburned Surveyor
Paolo, What is a "UUID"? I can always use a long value if an int value isn't big enough. The Sunburned Surveyor On Nov 16, 2007 9:52 AM, P.Rizzi Ag.Mobilità Ambiente <[EMAIL PROTECTED]> wrote: > If you want an automagically universal unique ID, you can use a UUID > stored inside a suitable char

Re: [JPP-Devel] Question about persistent feature identification...

2007-11-16 Thread Sunburned Surveyor
I think we could do this using the ability to have an atttribute with a datatype of Object. We could design an object that basically wraps an integer and only allows its value to be modified with some type of override method. I bet there is something like this in Apache's Jakarta Commons, and it pr

Re: [JPP-Devel] Question about persistent feature identification...

2007-11-16 Thread Sunburned Surveyor
Jukka and Andreas, Thank you both for your responses. This has been helpful. Andreas wrote: "But I cannot really see the point in trying to find a common name for an ID field, as that usually depends strongly on your use case" I didn't want a situation where a Feature Schema needs to have a pers