point-cloud-lidar
Skill39 starsChanged 4 months agoMITView on GitHub
LiDAR and point cloud processing: PDAL pipelines, LAS/LAZ/COPC handling, ground classification, DTM/DSM/CHM generation, canopy and building metrics, and photogrammetric (SfM) point clouds. Use when the primary input is LAS, LAZ, COPC, LiDAR, or an unstructured 3D point cloud. This skill owns vertical datum agreement, co-registration and the vertical-accuracy budget when two acquisitions are differenced with comparability not yet established; once datum, geoid and accuracy are documented, a subsidence or elevation-change question is change-detection's. Route a derived DEM, DTM, DSM or CHM to terrain-hydrology unless point-level classification, comparability, or metrics remain in scope.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Muhammad-Tariq/webgis-claude-skillstheir own version, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Muhammad-Tariq/webgis-claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- arcgis-pro-automationSkill
- cartography-geovizSkill
- change-detectionSkill
- geoai-orchestratorSkill
- geo-data-engineeringSkill
- geo-deep-learningSkill
- geostatistics-interpolationSkill
- google-earth-engineSkill
- mcda-suitability-analysisSkill
- ml-experiment-standardsSkill
- movement-trajectorySkill
- network-accessibility-analysisSkill
- postgis-spatial-sqlSkill
- remote-sensing-analysisSkill
- spatial-statisticsSkill
- swe-devops-standardsSkill
- terrain-hydrologySkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
Run: pdal pipeline pipeline.json.
- Distinctive: line 77
If vendor class 2 (ground) exists: audit it on 2-3 cross-sections (bridges, dense canopy, steep slopes) before trusting.
- Distinctive: line 114
Every elevation product carries three obligations, and the third is the one that gets skipped.
- Distinctive: line 120
Resolve: Read the vertical CRS from the header/VLR.
- Distinctive: line 129
Record it into the output, not just the reply: Every delivered product must carry, in machine-readable form:
- Distinctive: line 176
Decision rules: use point-cloud workflows when return-level 3D evidence matters, terrain workflows after a validated DEM exists, and …
- Distinctive: line 178
Failure modes: stop for unknown vertical datum, insufficient density, corrupt classification, tile seams, unbounded outliers, or product …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Point Clouds & LiDAR
Purpose: from raw returns to defensible elevation and structure products. The recurring failure modes: trusting vendor classification blindly, mixing return types in surfaces (DSM from last returns, DTM with vegetation), and ignoring point density when choosing output resolution.
First contact with any cloud
pdal info input.laz --summary # counts, bounds, CRS, classes, returnsReport before touching anything: point count, density (pts/m² — decides achievable raster resolution), CRS (horizontal AND vertical datum — ellipsoidal vs orthometric heights differ by the geoid undulation, tens of meters in places), classification present?, return numbers present?, flight-line overlap artifacts. A cloud without CRS metadata: resolve from the provider, never assume.
Format and scale
| Format | Use |
| LAZ | Compressed interchange/archive — default |
| COPC (cloud-optimized LAZ) | Streaming/HTTP range access, web viewers |
| LAS | Only when a tool can't read LAZ |
| Entwine/EPT | Massive multi-tile collections, indexed |
Tile large collections; process per-tile with buffered edges (~2× search radius) to avoid seam artifacts in filters and surfaces; drop the buffer on write.
PDAL pipeline pattern
{
"pipeline": [
"input.laz",
{"type": "filters.reprojection", "out_srs": "EPSG:32636"},
{"type": "filters.outlier", "method": "statistical",
"mean_k": 8, "multiplier": 2.5},
{"type": "filters.smrf", "slope": 0.15, "window": 18.0,
"threshold": 0.5, "scalar": 1.2},
{"type": "writers.las", "filename": "classified.laz",
"extra_dims": "all"}
]
}Run: pdal pipeline pipeline.json. Denoise BEFORE ground classification
(low outliers below ground destroy SMRF/CSF); tune slope up for steep
terrain, window to the largest non-ground object (big buildings need
bigger windows).
Ground classification & DTM
- If vendor class 2 (ground) exists: audit it on 2-3 cross-sections (bridges, dense canopy, steep slopes) before trusting; reclassify where it fails.
- Algorithms: SMRF (PDAL default, robust), CSF (cloth simulation, good in steep forest). Parameters are terrain-dependent — show a cross-section plot as evidence, not just the parameter list.
- DTM from ground-only points; interpolation: TIN → raster (standard for DTM) or IDW for dense clouds. Output resolution ≥ ~1/√density; a 0.5 m DTM from 1 pt/m² data is invented detail.
- DSM from first returns / highest-point binning. CHM = DSM − DTM, clamp negatives to 0, and use a pit-free algorithm for forestry (naive CHMs are pocked by within-crown pits).
Structure metrics
- Forestry: height percentiles (p95 ≈ canopy height), canopy cover
(first returns > 2 m / all first returns), density metrics per grid cell
or plot; normalize heights against the DTM first (
filters.hag_demorfilters.hag_nn). Individual tree detection: local maxima on pit-free CHM + watershed segmentation — validate count against field plots or manual photo-interpretation samples. - Buildings: class 6 or planar-patch extraction; building height = p90(roof points HAG); footprint fusion with cadastre/OSM polygons via zonal statistics on HAG.
- Downstream terrain analysis (slope, watersheds) →
terrain-hydrology; DL on point clouds or derived rasters →geo-deep-learning.
SfM/photogrammetric clouds — not LiDAR
Drone photogrammetry clouds have no returns, no canopy penetration (ground under vegetation is guessed), correlated noise, and possible doming from poor camera calibration. A "DTM" from SfM over forest is a canopy model. State the sensor type in every deliverable; use LiDAR-specific claims (penetration, return metrics) only for LiDAR.
Vertical datum: resolve, transform, record
Every elevation product carries three obligations, and the third is the one that gets skipped. Stating the datum in your answer is not recording it. A height product whose vertical datum lives only in a chat reply is indistinguishable from one with no datum at all the moment the file is handed to anyone else.
- Resolve. Read the vertical CRS from the header/VLR. Where it is missing or contradicted, resolve it against acquisition metadata (vendor flight report, project spec) or diagnose it: a tile-wide constant offset matching the local geoid undulation is the ellipsoidal-vs-orthometric fingerprint. Never infer a datum from elevation magnitude alone.
- Transform. Apply an explicit, named transformation — a compound CRS
plus geoid model through
filters.reprojection, or a fitted per-tile offset when no geoid grid is available. Re-difference the overlaps afterwards and confirm strips agree within noise. Record it into the output, not just the reply. Every delivered product must carry, in machine-readable form:
- the compound or vertical CRS written into the file itself (LAS/LAZ header VLR, GeoTIFF CRS, or PROJJSON in the sidecar);
- the geoid model name and version actually applied (e.g. EGM2008, GEOID18) and the transformation pipeline or EPSG operation code;
- the per-tile offsets applied, where correction was per tile, with the control or reference each was fitted against;
- the source of truth used to resolve an originally missing datum;
- the residual strip-edge disagreement after correction.
Emit this as a sidecar (
*.prj/PROJJSON, a metadata JSON, or embedded raster tags) alongside the product, and never publish a height product whose vertical datum is unresolved. If the datum cannot be resolved, deliver the product labelled provisional with the unresolved datum recorded in the same metadata block — silence is not an option.
Verification protocol
- Cross-sections (2-3, including a building edge and a vegetated slope): ground class hugs terrain, DSM caps surface.
- DTM minus known control points / national DEM: report RMSE and check for a constant offset = vertical datum mismatch.
- Hillshade the DTM — classification artifacts (pits, pimples, flight-line stripes) are instantly visible.
- Report density, CRS + vertical datum, classifier + parameters, and output resolution rationale in the answer — and confirm the verified vertical datum, geoid model, and transformation were written into the output metadata before the product is considered delivered.
Pitfalls checklist
- Ellipsoidal heights delivered as orthometric (whole product offset by the geoid).
- Vertical datum resolved during the audit but never written into the delivered product's metadata — the next consumer inherits the same ambiguity you just spent the analysis removing.
- DTM resolution finer than point density supports.
- Vendor ground class trusted under dense canopy.
- CHM with negative values or crown pits (no pit-free processing).
- Per-tile processing without buffers → seam lines in derivatives.
- Outlier filter run AFTER ground classification.
- SfM cloud treated as canopy-penetrating LiDAR.
Execution contract
- Workflow: inspect header, CRS, vertical datum, density, classes, and returns; tile with buffers; filter noise; classify; derive products; mosaic; validate in 3D and cross-section.
- Decision rules: use point-cloud workflows when return-level 3D evidence matters, terrain workflows after a validated DEM exists, and separate assumptions for LiDAR versus SfM clouds.
- Verification protocol: reconcile point counts and classes, inspect buffered seams and cross-sections, compare elevations to control, hillshade derived terrain, and report density-supported resolution.
- Failure modes: stop for unknown vertical datum, insufficient density, corrupt classification, tile seams, unbounded outliers, or product resolution finer than sampling supports. Never resolve a vertical datum and then ship the product without that datum and its transformation recorded in the output metadata.
- Deliverables: validated cloud or derived DTM/DSM/CHM, pipeline parameters, CRS and vertical datum, density and class report, QA graphics, accuracy metrics, and limitations. The verified vertical datum, the geoid model and transformation applied, and any per-tile offsets are written into the output metadata or a sidecar, not only into the answer text.
- Source freshness: consult the authoritative source registry before applying format, quality, or processing rules and record the checked date.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

