Module:OSM/doc
Appearance
![]() | This is a documentation subpage for Module:OSM. It may contain usage information, categories and other content that is not part of the original module page. |
Parameters
- display : Text shown on outgoing link
- link : defaults to yes, but can be set to no for use in other templates
- wikidata : defaults to yes, but can be set to no for more general Overpass queries
- 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 Module:OSM
Command | Expected result | Pass/Fail | Result |
---|---|---|---|
OSM-objects with names referring to items | |||
{{#invoke:OSM|etym|display=Kaart}} | Kaart | ![]() |
Kaart |
several wikidata items | |||
{{#invoke:OSM|wd|display=Vresse and Florenville|id=Q650206;Q713300}} | Vresse and Florenville | ![]() |
Vresse and Florenville |
with coordinates, which means the search is restricted to a smaller area. | |||
{{#invoke:OSM|wd|display=Church of Vresse|id=Q20748715|coord=49.71513;5.23446;14}} | Kerk van Vresse | ![]() |
Church of Vresse |
Usage
{{#invoke:OSM|function_name}}