Template:Cite Overpass length/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 the total length of all the specified OpenStreetMap elements combined.

Usage

|1=, |2=, etc.
OpenStreetMap element IDs. Each numeric ID is prefixed with a letter indicating the element type: n for a node, w for a way, or r for a relation. (In practice, a node cannot contribute to the length, but node IDs are accepted for completeness.)
|date=
The date of the query in any format accepted by the #time parser function.

Example

{{Cite Overpass length|r2306823|r71162|date=July 9, 2023}}

OpenStreetMap contributors. Length of relations 71162 and 2306823. Overpass API (Report). OpenStreetMap. Retrieved July 9, 2023 – via Overpass turbo.

See also