Comments (5)
@apendleton good call - Full UUIDs would be unsupported by JOSM :(
Ref: https://github.com/openstreetmap/josm/blob/f056eebb8f114b06b8c994a92d4ddb698dfd7f7e/src/org/openstreetmap/josm/data/osm/User.java#L25
Ref: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
But a 64 bit UUID like feature should be plenty unique for the foreseeable future. thoughts?
from hecate.
Sure, would be easy to implement. You'd lose lots of collision resistance though; you start to get into birthday paradox situations faster than you'd expect if you have lots and lots of features. I bet it would work though? Especially if, at insert time, you tried generating a random one and were willing to retry if you happened to hit a collision.
from hecate.
Oh @apendleton are you referring to UUIDs for Deltas, Features or UUIDs for users? I was referring to users in the above post where the utilization rate would be much smaller.
from hecate.
@ingalls I was thinking for features, so that you could initially start two instances for different classes of features (parts of the world, layers, etc.), and later combine those databases without ID collision. Not sure if this is a usecase we want to support...
from hecate.
I think for now we're going to take the approach of allowing the UI to connect to multiple instances, combining features at the vector tile layer. This avoids the problem of having to worry about UUIDs conflicting between servers.
from hecate.
Related Issues (20)
- Allows invalid coordinates HOT 2
- Email Confirmation
- Unable to retrieve metadata for certain point features HOT 1
- Foreseen usage HOT 1
- How to build? HOT 1
- Delta Diffs HOT 1
- Features failing to render in Hecate UI HOT 1
- OSM (PBF) file export HOT 2
- Compilation error (with rust & cargo nightly) HOT 11
- Version History API
- Schema 404
- SSO Integration
- Token URI presentation should include protocol
- Replica Tests
- Delta API Start/End
- Rewrite Delta History API Documentation HOT 1
- [UI] Deleted Feature with null properties error
- Version Check
- Hecate Project Clarification HOT 1
- State of this Project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hecate.