I read about R-Tree, kd-tree, bounding interval hierarchy etc for space-partitioning. I found that these data structures are useful for spatial querying. Although, they do partitioning, but I do not know how to retrieve those partitions from the data structure. So, my question boils down to "Given a number N and a map containing say X number of polygons, can I get N number of partitions that contain approximately equal number of polygons?"
Is there an algorithm, which can partition the space into N number of partitions given a random number N, where N<50
264 Views Asked by justin waugh At
1
There are 1 best solutions below
Related Questions in GRAPHICS
- How to fix "Access violation executing location" when using GLFW and GLAD
- Why is the value of `gl_FragCoord.z` is always 0.5?
- A way to warp an image based on a map
- Spacing out overlapping rectangles: how to translate pseudocode?
- 3D graph in Rstudio (time vs intensity vs coefficient)
- I want to create a creative website based on my project. I am new in this field
- Color each field in a mosaic plot in R
- How to convert raw RGB luminance using OCIO
- CPU Ray Tracer finds intersection for only a certain setup
- How do I dynamically change vertex colors using Direct3d 12 and Visual C++?
- Python Mediapipe replace chest pose landmark lines with custom image
- I was following Computer Graphics from Scratch -- Getting distorted spheres
- Convert coordinates in android
- Python Mediapipe replace pose landmark line drawings with custom image drawings
- Is there a way to automatically export OpenOffice/LibreOffice drawings to bitmaps, with options?
Related Questions in R-TREE
- More efficient way to find all intersections using rtree
- How to set Boost RTree coordinate system
- Error in Loading Serialized Map Data with InMemMap.deserialize
- question about node split algorithm in rtree
- How to properly use indexable in Boost?
- 4th dimension with boost.geometry.index.rtree
- Grid Layout Algorithm For Positioning Rectangle Into Available Space
- Calculating the Height of an R-Tree: Where Did I Go Wrong?
- Memory issue with CGAL RTree when working with 39,651,210 2D points
- Python - Loading an R-Tree from file
- boost r-tree error: The first type of std::pair has to be an Indexable. How do I fix this?
- AttributeError: 'GeoDataFrame' object has no attribute 'overlay'
- Geometric data structure for storing points from [0, 1)^d with toroidal topology
- How can I use `boost::geometry::index::rtree` to find every neighbor inside a surrounding sphere?
- boost Rtree of points, which spatial query method (covered_by, intersects and within) is more efficient to search points covered by a bouding box?
Related Questions in SPACE-PARTITIONING
- Geometry of binary space partitioning tree
- Does a BSP tree need to be rebuilt every time the camera's position changes?
- Is there a k-d tree analog that uses hyperspheres to partition?
- KD Trees with Obstacles in space
- What is a coarse and fine grid search?
- BSP dungeon generation is not generating corridors
- Pygame make one circle move in line with another
- one sphere and many line segments intersection
- How to determine whether a polygon is above, below or inside of another polygon?
- How to eliminate colliding markers in Google Maps
- How to separate/partition polygons into existing regions?
- C++ Data Structure for k Nearest Neighbour Search in D dimension using only point cloud as query points
- QuadTree for spatial partitioning (Java)
- Octree implementation for triangular mesh and particles
- Best data structure to store coordinates for efficient look-up?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well, if you want exactly N partitions, any of the common bulk loading strategies for the R-Tree should work. It won't necessarily be optimal, but you can force these to produce exactly N partitions of approximately equal size.
The k-d-tree will have objects that are in neither the left nor the right side. But you can use the k-d-tree bulk loading strategy and modify it to produce N partitions. Another simple yet sometimes quite effective way of bulk-loading and R-tree, actually.
When you constrain N to be a power of 2, or even better the
dth power of some number, the splits will usually become better. So splitting a 3D dataset in 9 pages is much cleaner to implement than splitting it into 8 pages.