Template:OverpassUltraV2Example/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

Formats OverpassQL code and inserts a link to Overpass Ultra v2.

Notes

Syntax

Parameters

Examples

  • rendered :

Template data

Formats OverpassQL code and inserts a link to Overpass Ultra v2.

Template parameters

ParameterDescriptionTypeStatus
Queryquery

OverpassQL query with optional YAML front matter

Example
---

server: https://overpass-api.de/api/ style: https://styles.trailsta.sh/openmaptiles-osm.json --- node[amenity=drinking_water]({{bbox}});

out geom;
Contentrequired
Serverserver

Domain name of the Overpass Ultra instance

Default
overpass-ultra.us
Example
ohm.overpass-ultra.us
Lineoptional
Initial viewportloc

Initial zoom level, latitude, and longitude

Example
9.95/36.1160/-95.9014
Lineoptional

See also