Skip to main content

pointclouds

Read, filter, decimate and grid point clouds (LAS / LAZ, and COPC/EPT) in Python.

A point cloud is a set of 3-D measured points - typically from lidar or photogrammetry - each carrying x, y, z plus per-point attributes such as intensity, return number and ASPRS classification. pointclouds reads the standard exchange formats, exposes the header without touching the records, and provides the operations a cloud needs before analysis or rendering: classification filtering, decimation, reprojection, and gridding to a raster surface (DSM / DTM / density).

Install

pip install pointclouds          # core: reads LAS/LAZ, grids to arrays, no GDAL required
pip install pointclouds[gis]     # + pyramids-gis: to_dataset() / to_feature_collection()
pip install pointclouds[cloud]   # + fsspec/s3fs: remote LAZ / COPC
pip install pointclouds[all]     # everything

The core depends only on numpy, laspy, pyproj and scipy - no GDAL - so it installs anywhere numpy runs. GIS interoperability (turning a cloud into a pyramids Dataset or FeatureCollection) is an optional extra.

Quick look

import pointclouds as pc

cloud = pc.PointCloud.read_file("survey.laz")
cloud.crs, cloud.bounds, cloud.count          # from the header, no record read
xyz = cloud.to_array(("X", "Y", "Z"))         # (N, 3) float64

# COPC: read a window instead of the whole cloud - only the chunks that overlap are decompressed
box = pc.PointCloud.read_window("survey.copc.laz", bbox=(155000, 463000, 156000, 464000))
coarse = pc.PointCloud.read_window("survey.copc.laz", resolution=5.0)   # ~one point per 5 m

# EPT (Entwine): same windowed read, by directory or URL (remote needs the [cloud] extra)
box = pc.PointCloud.read_window("s3://bucket/survey-ept", bbox=(155000, 463000, 156000, 464000))

ground = cloud.filter(classification=2)
thin = ground.decimate(target=2_000_000, method="random")

arr, transform, crs = ground.to_grid(cell_size=1.0, aggregate="min")   # pure NumPy
dtm = ground.to_dataset(cell_size=1.0, aggregate="min")                # needs [gis]

Where it sits

pointclouds is an independent package in the serapeum-org stack. It interoperates with pyramids (the raster/vector GIS engine) through two converter methods behind the [gis] extra, but does not depend on it for reading, gridding or classification. See planning/placement-decision.md for the full architecture rationale.

License

GPLv3.

Metadata

Release files for pointclouds 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pointclouds 0.2.0
File Size Uploaded Provenance Actions
pointclouds-0.2.0.tar.gz 281.8 kB Without provenance Details for pointclouds-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pointclouds 0.2.0
File Interpreter ABI Platform Actions
pointclouds-0.2.0-py3-none-any.whl Python 3 none any Details for pointclouds-0.2.0-py3-none-any.whl

Total release size: 352.9 kB

Release files / pointclouds-0.2.0.tar.gz

Download URL pointclouds-0.2.0.tar.gz
Size 281.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c285b6f607f39e9db07c9aa176a89d031a130e684003d0b16067872dde2af5ac
BLAKE2b-256 checksum
How to use checksums
68a7a87ad15440108263ba4e6248b4c81ffd60343bdc8b0488aeecc596328b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / pointclouds-0.2.0-py3-none-any.whl

Download URL pointclouds-0.2.0-py3-none-any.whl
Size 71.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cc84ed86560246dcc2bf8e147dfc91390c6a08f73b1e9e32551f6059f3444f2
BLAKE2b-256 checksum
How to use checksums
bf03fc163f4f5f32e24eb7f5152e0c9b790f668027f17d304d17af03da979e6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for pointclouds 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page