# gmwid: agent guide

GMWID, the GeoMermaids World Infrastructures Dataset: OpenStreetMap
infrastructure (power, telecoms, oil and gas, water) as GeoParquet 2.0,
worldwide, completed from authoritative open sources where OSM falls short
(column `origin`; `https://parquetry.geomermaids.com/gmwid/latest/_coverage.json`; https://gmwid.geomermaids.com). One collection
per layer, one file per layer. Only the latest build is published.

## Collections

- `power_line`: Power lines and cables. power/power_line/AGENTS.md
- `power_circuit`: Power circuits. power/power_circuit/AGENTS.md
- `power_tower`: Power towers and poles. power/power_tower/AGENTS.md
- `power_substation`: Substations. power/power_substation/AGENTS.md
- `power_plant`: Power plants. power/power_plant/AGENTS.md
- `power_generator`: Generators. power/power_generator/AGENTS.md
- `power_switchgear`: Switchgear and transformers. power/power_switchgear/AGENTS.md
- `power_other`: Other power features. power/power_other/AGENTS.md
- `telecom_cable`: Telecom cables. telecoms/telecom_cable/AGENTS.md
- `telecom_building`: Telecom buildings. telecoms/telecom_building/AGENTS.md
- `telecom_location`: Telecom locations. telecoms/telecom_location/AGENTS.md
- `telecom_mast`: Masts and communication towers. telecoms/telecom_mast/AGENTS.md
- `telecom_antenna`: Antennas. telecoms/telecom_antenna/AGENTS.md
- `utility_pole`: Utility poles. telecoms/utility_pole/AGENTS.md
- `street_cabinet`: Street cabinets. telecoms/street_cabinet/AGENTS.md
- `pipeline`: Pipelines. petroleum/pipeline/AGENTS.md
- `petroleum_site`: Oil and gas sites. petroleum/petroleum_site/AGENTS.md
- `petroleum_well`: Oil and gas wells. petroleum/petroleum_well/AGENTS.md
- `offshore_platform`: Offshore platforms. petroleum/offshore_platform/AGENTS.md
- `pipeline_feature`: Pipeline features. petroleum/pipeline_feature/AGENTS.md
- `marker`: Markers. petroleum/marker/AGENTS.md
- `water_treatment_plant`: Water treatment plants. water/water_treatment_plant/AGENTS.md
- `wastewater_plant`: Wastewater plants. water/wastewater_plant/AGENTS.md
- `pumping_station`: Pumping stations. water/pumping_station/AGENTS.md
- `water_tower`: Water towers. water/water_tower/AGENTS.md
- `water_well`: Water wells. water/water_well/AGENTS.md
- `pressurised_waterway`: Pressurised waterways. water/pressurised_waterway/AGENTS.md

## Access

- `https://parquetry.geomermaids.com/gmwid/latest/<layer>.parquet` over HTTPS, no credentials (the collection's
  `data` asset), or the same path on the anonymous S3 endpoint `s3.geomermaids.com`,
  path-style, empty credentials.
- Filter on `bbox` (reads only the row groups it touches), or on `country`
  and `state` (skips most of them): rows are Hilbert-sorted.
- `https://parquetry.geomermaids.com/gmwid/latest/_regions.json` maps every `country`/`state` slug to its names
  and GAUL code.
- For a map: `https://parquetry.geomermaids.com/gmwid/latest/<layer>.pmtiles` (the collection's `rel: pmtiles`
  link, source-layer `<layer>`, zoom 13 at most), with the collection's
  `styles/default.json`. Coarse zooms are thinned, so count with the
  GeoParquet.

## Conventions

- Geometry is native Parquet GEOMETRY, OGC:CRS84; `bbox` is the covering.
- `country` is ISO 3166-1 alpha-2 (`_intl` on the high seas); `state` is the
  slug of the FAO GAUL 2024 first-level unit, or `_offshore`, `_intl`.
- Voltages are in kV (`voltages_kv` per circuit, `voltage_kv` the highest),
  outputs in MW, lengths in km, areas in m², heights in m.
- `lifecycle` is active, construction, proposed, disused or abandoned.
- `tags` holds every OSM tag. Data (c) OpenStreetMap contributors, ODbL 1.0.

## Dates

`updated`, on every file, collection and catalog, is when the data last
changed: a rebuild that writes the same GeoParquet bytes leaves it alone. A
PMTiles archive takes the date of the GeoParquet it is drawn from. The first
value is the source's own release date where the publisher gives one.
`checked` is the last build that compared the data with its source.
