Ask for it like this
- “Show this LiDAR LAZ file on a map”
- “Show only vegetation and conductor wires from this point cloud”
- “Place this glTF transmission tower model at these coordinates”
- “Put the CAD model of this substation on the map in 3D”
Inputs
Accepts: LAS 1.0–1.4 (point formats 0–10), LAZ (LASzip), XYZ / PTS text, glTF / GLB, OBJ, PLY. Engines: maplibre.
source: HTTPS URL of the file (the host must allow browser access, CORS), or a local file added in the app.
Optional:
crs: EPSG:<code>, proj4 or WKT; needed when the file carries none (XYZ, some LAS, CAD in projected coordinates).classes: ASPRS classes to show, such as [3, 4, 5] vegetation, [13, 14] wires, [15] towers.colorBy: auto, rgb, classification, elevation or intensity.anchor: Model placement [lon, lat, altitude]; heading, scale and upAxis adjust it.heightReference: ground (default, set on the terrain) or absolute (surveyed elevations).animate: { type: "reveal" } shows points from low to high on the shared clock.
Steps
Discover → inspect → plan → validate → execute → verify → share. Each step names where it runs; none is a hosted REST endpoint.
- discover: Read llms.txt, this recipe and api/capabilities.json; note the engine and execution environment you actually have. (Declarative URL;
https://gismap.online/llms.txt, https://gismap.online/api/capabilities.json, https://gismap.online/api/manifest.json) - inspect: Check the file type, size and that its host allows browser access. For LAS/LAZ the header gives the point count and usually the CRS; ask for the CRS when it is missing rather than guessing. (Declarative URL, Standalone JavaScript;
pointcloud-las.js#readLasHeader, pointcloud-las.js#lasCrs) - plan: Choose colorBy and classes for the question (vegetation encroachment: classes 3–5 with 13–14; structures: 6, 15), a point size, and for models an anchor or the CRS of their coordinates. (Declarative URL;
https://gismap.online/schemas/map-v1.schema.json) - validate: Validate the spec; bad scene3d options are reported and ignored. (Standalone JavaScript, In-browser API;
mapSpec.validate) - execute: Write #map=json: with layers [{ url, type: "pointcloud" | "model", scene3d: {...} }], or call layers.add(url, { type, scene3d }) in an open page. (Declarative URL, In-browser API;
mapSpec.createLink, layers.add) - verify: Open the link on the MapLibre engine: the legend reports points shown of total, CRS and colour mode; tilt the map to see heights. (In-browser API;
layers.list, mapSpec.fromCurrent) - share: Return the link. Local files need a project package (.gisx); links only reference public URLs. (Declarative URL;
mapSpec.createLink)
Result
map-v1 with pointcloud or model layers and their scene3d options. Schema: /schemas/map-v1.schema.json.
- Interactive 3D map link · Declarative URL
- Project with local LiDAR or CAD files (.gisx) · Outside GISMap Online. Made in the app; local files never go into links.
Verify before reporting success
- Points or model visible where expected on the basemap
- Legend: points shown of total, CRS, colour mode
- Class filter and colours as requested
- Heights plausible when tilted
Report prepared, validated, loaded, rendered and verified separately, and partial or failed when they apply. A generated link alone is only prepared.
Limitations
- MapLibre engine only, flat (Mercator) map; the globe and the ArcGIS engine do not draw these layers.
- Whole files load into the browser: large clouds are thinned to maxPoints (default 1.5 million). Streaming formats (COPC, EPT, 3D Tiles) are not supported yet.
- No point picking, clearance measurement or IFC/DWG/DXF yet; convert CAD to glTF.
- LAZ decoding loads laz-perf (WebAssembly) and reprojection loads proj4; unknown EPSG codes are looked up on epsg.io.
If something goes wrong
- "does not say which coordinate system": add scene3d.crs.
- Points in the wrong place: check the CRS and its units (US survey feet vs metres).
- Nothing visible: open with ?engine=maplibre and switch off the globe.