osm_overpass_query
Execute an Overpass QL query to fetch OpenStreetMap data and add the resulting nodes and ways as point and line layers.
Instructions
Run a raw Overpass QL query and add the resulting nodes/ways as layer(s).
The query must end with an out geom; statement (or equivalent) so
results carry coordinates - a query returning only tags/ids produces no
geometry and nothing gets added. Points and ways are split into
separate _points/_lines layers since a layer has one geometry type;
closed ways (e.g. building outlines) still come back as lines, not
polygons. Relations aren't parsed. Capped at 2000 elements per call -
narrow the query (smaller bbox, fewer tags) rather than raising the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| base_url | No | ||
| layer_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||