Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHilbert Curve and Morton Curve #368
Conversation
dr-jts
added some commits
Jan 17, 2019
dr-jts
merged commit 856db45
into
locationtech:master
Jan 28, 2019
dr-jts
deleted the
dr-jts:feature-hilbert-curve
branch
Jan 28, 2019
dr-jts
added
type-enhancement
jts-core
jts-app
labels
Jan 28, 2019
This comment has been minimized.
This comment has been minimized.
@dr-jts nice! You know about SFCurve as a project, right? https://github.com/locationtech/sfcurve Shout if I can ever help with space-filling curves for JTS.:) |
This comment has been minimized.
This comment has been minimized.
Ah right... there is that. Would be interesting to compare. My implementation is much less ambitious. The ultimate goal is to implement a Hilbert R-tree, to see how that compares to the STR-packed Rtree. And also pretty pictures... |
This comment has been minimized.
This comment has been minimized.
Interesting... are you looking at Hilbert R-Trees as static or dynamic data structures? (I skimmed the Wikipedia article, and I haven't looked enough to understand the benefits.) Incidentally, if the Hilbert implementation matters, @cne1x could come and share what he knows about 'compact' Hilbert curves. (They are useful if the magnitude of the various dimensions are unequal. E.g., if you have 10 bits of info for x and 6 bits for y.) |
This comment has been minimized.
This comment has been minimized.
@jnh5y The Javadoc for HilbertCode and MortonCode could use a review if you are so inclined... |
This comment has been minimized.
This comment has been minimized.
As a alternate packing method for the current static R-tree structure. (Which incidentally really needs to be refactored to support this, i.e. to separate the packing strategy from the actual R-tree structure and algorithms. I'm also going to dump the SIRtree complexity, since it's no longer used in JTS having been superceded by the |
dr-jts commentedJan 28, 2019
Hilbert Curve and ordering
Morton Curve and ordering