Spatial data indexing methods for relational and key-value databases
A database and relational technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as high cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Embodiment 1: the present invention provides a kind of unified relational type and Key-Value type database spatial data indexing method, and operation steps are as follows:
[0040] Step 1: Organize the space vector data into layers, divide the index layer and index grid according to the coordinate range of the layer data, and the grid of the next index layer is quartered on each grid of the previous index layer As a result, each grid has a unique one-dimensional code and two-dimensional row-column code, specifically:
[0041] 1) The space vector data is organized into layers according to classification, and the index layer is divided according to the coordinate range of the layer or the coordinate range of the reference system where the layer is located. The index layer is 24 layers, and the top index layer is No. 0 index layer. Grid, indicating the entire coordinate range MBR (Xmin, Ymin, Xmax, Ymax), there are 4 grids in the index layer 1, which are obtained by quart...
Embodiment 2
[0068] Embodiment 2: the method for querying the unified relational and Key-Value type database space data that adopts the method of the present invention to set up, the step of concrete query is:
[0069] (1) according to the data storage based on relational database of the present invention and the spatial index establishment method, the step that a layer is carried out spatial rectangle range MBR (Xmin, Ymin, Xmax, Ymax) query is:
[0070] a) Obtain the effective index layer number range of the layer from the layer metadata table: (MinLevel, MaxLevel).
[0071] b) Traverse each index layer i within the range of (MinLevel, MaxLevel), calculate the grid coordinate range GBR (X1, Y1, X2, Y2) of MBR on Level i, and then store the index layer number i in the first byte In the middle (left shift 24 bits), the grid coordinates (X1, Y1, X2, Y2) are stored in the remaining 3 bytes respectively, and the two-dimensional index code representation of GBR is obtained: (MinXI, MinYI, MaxX...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com