How a Mobile Mapping System Stores 1 GB of Survey Data Using Only 108 KB in Postgres
A mobile mapping survey using a LiDAR scanner and panoramic camera generates just over one gigabyte of data per run, but only a 108 KB trajectory file — recording the vehicle's path — is stored in the database. The remaining heavy files, including 507 MB point clouds and 566 MB spherical photos, are kept on disk and referenced via file paths in the database model. This approach keeps a database covering 2.7 million road features across 100 layers at just 2.3 GB total, even as raw survey data grows rapidly. Point cloud viewing in the browser relies on an octree structure of small files fetched on demand, a workload better suited to a static file server like nginx than a database connection pool. The core design principle is storing only metadata, geometry, and file pointers in Postgres — leaving binary data where it is most efficiently accessed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in