Point Cloud Lidar logo

Point Cloud Lidar

Community
muend
point-cloud-lidar

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.

Overview

Publishermuend
Repositorygeoai-skills
Skill namepoint-cloud-lidar
Stars
45
Forks
5
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by muend on GitHub. Read the source before you install it.

Installation

Install the Point Cloud Lidar AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/muend/geoai-skills/tree/main/skills/point-cloud-lidar
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/muend/geoai-skills.git /tmp/geoai-skills
mkdir -p .claude/skills
cp -r /tmp/geoai-skills/skills/point-cloud-lidar .claude/skills/point-cloud-lidar
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Point Cloud Lidar in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Point Cloud Lidar on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Point Cloud Lidar is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

bash
pdal info input.laz --summary        # counts, bounds, CRS, classes, returns

Report 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

FormatUse
LAZCompressed interchange/archive — default
COPC (cloud-optimized LAZ)Streaming/HTTP range access, web viewers
LASOnly when a tool can't read LAZ
Entwine/EPTMassive 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

json
{
  "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_dem or filters.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.

  1. 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.

  2. 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.

  3. 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

  1. Cross-sections (2-3, including a building edge and a vegetated slope): ground class hugs terrain, DSM caps surface.
  2. DTM minus known control points / national DEM: report RMSE and check for a constant offset = vertical datum mismatch.
  3. Hillshade the DTM — classification artifacts (pits, pimples, flight-line stripes) are instantly visible.
  4. 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Point Cloud Lidar AI skill do?

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...

Why use Point Cloud Lidar on TypingMind?

Because you install it once and use it with any model. Point Cloud Lidar is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Point Cloud Lidar in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/muend/geoai-skills/tree/main/skills/point-cloud-lidar. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Point Cloud Lidar?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Point Cloud Lidar?

As many as you like. As long as a model supports skills, you can use Point Cloud Lidar with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Point Cloud Lidar AI skill free?

Yes. It is published on GitHub by muend under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇