Template:Oquery: Difference between revisions
Appearance
Tag: Undo |
m updating |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[https:// | <includeonly><span class="plainlinks">[https://overpass.opengeofiction.net/?Q=(area%5B%22admin_level%22%5D%5B%22ogf:id%22%3D%22{{{1}}}%22%5D%3B)-%3E.bndarea%3B%0A(nwr(area.bndarea)%5B{{{query}}}%5D%3B)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B&C=-38.44498;155.06104;5&R {{{caption|{{{query}}} in {{{1}}}}}}]'''</span><sup>[[File:Overpass-turbo.svg|10px|link=]]</sup></includeonly><noinclude> | ||
This template is for a basic Overpass query ''within a single administrative division by ogf:id code''. It uses the syntax <code><nowiki>{{Oquery|ogf:id|query|caption}}</nowiki></code>. Replace the three placeholders with the information desired. For the query parameter, use common tagging syntax ( | This template is for a basic Overpass query ''within a single administrative division by ogf:id code''. It uses the syntax <code><nowiki>{{Oquery|ogf:id|query= |caption= }}</nowiki></code>. Replace the three placeholders with the information desired. For the query parameter, use common tagging syntax with an underscore in lieu of a space where needed and place the tag in single quotes. (Double quotes will be needed when there is an apostrophe in the query.) An example query might be <code><nowiki>{{Oquery|AR026|query=network='ME:national'|caption=National Highways of Mecyna}}</nowiki></code>. | ||
[[Category:Overpass templates]]</noinclude> | [[Category:Overpass link templates]] | ||
[[Category:Overpass templates]] | |||
</noinclude> | |||
Latest revision as of 19:36, 17 January 2026
This template is for a basic Overpass query within a single administrative division by ogf:id code. It uses the syntax {{Oquery|ogf:id|query= |caption= }}. Replace the three placeholders with the information desired. For the query parameter, use common tagging syntax with an underscore in lieu of a space where needed and place the tag in single quotes. (Double quotes will be needed when there is an apostrophe in the query.) An example query might be {{Oquery|AR026|query=network='ME:national'|caption=National Highways of Mecyna}}.