Template:Cite Overpass/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Inserts a citation to an Overpass API query of OpenStreetMap data.

Usage

|query=
An Overpass query in OverpassQL syntax. Overpass turbo shortcuts and MapCSS are supported.
|latitude=, |longitude=, |zoom=
The center coordinate and zoom level to focus on. Useful if the query specifies {{bbox}}.
|run=
If specified, the query runs automatically when a reader clicks on the link. Only specify this option on trivial queries.
|title=
A brief description of the query.
|date=
The date of the data in any format accepted by the #time parser function.
|access-date=
The date the query was run in any format accepted by the #time parser function.

Example

{{Cite Overpass|date=July 9, 2023|query=relation["network"="US:CA"]["ref"="101"]; out geom;}}

OpenStreetMap contributors. Cite Overpass. Overpass API (Report). OpenStreetMap. Retrieved July 9, 2023 – via Overpass turbo.

See also