Module:Overpass/doc

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

This is the documentation page for Module:Overpass

Functions for generating links to Overpass API queries.

cite_length

Returns a citation to an Overpass query of the total length of all the specified OpenStreetMap elements combined.

Parameters:

|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.

See also