pmtilesCommand
pmtilesCommand(
url,format):string
Defined in: packages/core/src/components/student-messages.ts:576
Convert a file to PMTiles with tylertoo 0.8.0 (nothing to install but
uv): the parcel recipe from the PLUTO benchmark (PR #205) and the
large-data spike (PR #207) — collapse_square=True keeps small polygons
visible at coarse zooms, tile_size_limit=None stops 0.8.0 dropping
features from dense tiles — from zoom 0, so the map draws at every zoom
(on PLUTO, zooms 0–9 cost 1.3 s, 0.1 GB and 3.5 MB more than starting at
10: 26 s, 2.1 GB, a 115 MB archive). tylertoo reads GeoParquet, so a
FlatGeobuf file is converted first, with geoparquet-io (no GDAL needed).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url | string |
format | string |
Returns
Section titled “Returns”string