For this post, let’s combine the work in the last 4 posts in order to get a single pipeline for doing the following:
find . -name "*.las" | parallel -j6 ./pdal_processor.sh {}&Sadly, we can run into issues in running this in parallel:
PDAL: ERROR: duplicate key value violates unique constraint "pointcloud_formats_pkey"DETAIL: Key (pcid)=(1) already exists.PDAL: ERROR: duplicate key value violates unique constraint "pointcloud_formats_pkey"DETAIL: Key (pcid)=(1) already exists.This issue is a one time issue, however — we just can’t parallelize table creation. Once the tables are created however, I believe we can parallelize without issue. I’ll report if I find otherwise.
أكثر...
- Calculate relative height of LiDAR data
- Slice that data into bands of heights
- Load the data into a PostgreSQL/PostGIS/pgPointCloud database.
find . -name "*.las" | parallel -j6 ./pdal_processor.sh {}&Sadly, we can run into issues in running this in parallel:
PDAL: ERROR: duplicate key value violates unique constraint "pointcloud_formats_pkey"DETAIL: Key (pcid)=(1) already exists.PDAL: ERROR: duplicate key value violates unique constraint "pointcloud_formats_pkey"DETAIL: Key (pcid)=(1) already exists.This issue is a one time issue, however — we just can’t parallelize table creation. Once the tables are created however, I believe we can parallelize without issue. I’ll report if I find otherwise.
أكثر...