Storing and retrieving spatial data in Hbase
Storing and retrieving spatial data in Hbase
This is the practicum course for software engineering
Operating system: deepin-15.3 (a beautiful desktop Linux distribution contributed by Chinese)
Programming language: Java
File system: HDFS-2.6.4 (pseudo-distribution mode)
Database: HBase-1.2.2
Spatial data: (x, y)
Rowkey: it will be 16 charecters
HBase schema:
Column Family : Point
Qualifier : ID, X, Y
Time Stamp: system default
eg.a spatial point (222.222, 333.333), assigned an ID=1. Shoud put 3 records in HBase
Rowkey | Point:ID | Point:X | Point:Y |
---|---|---|---|
0123450000000001 | 1 | ||
0123450000000001 | 222.222 | ||
0123450000000001 | 333.333 |
Range query: