mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Point Cloud
A PostgreSQL extension for storing point cloud (LIDAR) data.
Requires
- PostgreSQL 9.1+ (support for extensions)
- PostgreSQL compiled --with-xml
Formats
In order to preserve some compactness in dump files and network transmissions, the binary formats need to retain their native compression. The human readable format is mostly for debugging and tests, and is not compressed. Uncompressed binary is, as advertised, just hex-encoded points and sets of points.
Human-Readable Text
( <pcid> : <dim1>, <dim2>, <dim3>, <dim4> )
[ <pcid> : ( <dim1>, <dim2>, <dim3>, <dim4> ),
( <dim1>, <dim2>, <dim3>, <dim4> ),
( <dim1>, <dim2>, <dim3>, <dim4> ) ]
Uncompressed Binary
PCPOINT
byte: endianness (1 = NDR, 0 = XDR)
uint32: pcid (key to POINTCLOUD_SCHEMAS)
uchar[]: data (interpret relative to pcid)
PCPATCH
byte: endianness (1 = NDR, 0 = XDR)
uint32: pcid (key to POINTCLOUD_SCHEMAS)
uint32: npoints
uchar[]: data (interpret relative to pcid)
Description
Languages
C
91.3%
M4
2.8%
Perl
2%
C++
1.9%
Makefile
1.1%
Other
0.9%