Jump to content

Module:OSM/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Polyglot (talk | contribs) at 21:51, 5 August 2015 (attempt to run unit tests). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Usage

{{#invoke:OSM|wd}}
{{#invoke:OSM|overpass}}
{{#invoke:OSM|etym}}

Parameters

  • display  : Text shown on outgoing link
  • link  : defaults to yes, but can be set to no for use in other templates
  • id  : can link to a 1 or more Q-numbers of wikidata items, defaults to the Q-number id of the calling page
  • query  : makes it possible to extend the query, which can be used to limit the search to highways or tombstones
  • prim  : specifies to only fetch node, way and/or relation primitives
  • coord  : coordinates and a zoom factor in this format: 47.0618984;15.4370248;17 from which a bbox will be determined.
  • limitToBBOX: defaults to yes. If coord is set the query is limited to the resulting bbox

Test values

Lua error in Module:OSM/testcases at line 5: attempt to call method 'preprocess_equals' (a nil value). Lua error in Module:OSM/testcases at line 11: attempt to call method 'preprocess_equals' (a nil value).