Template:Oquery: Difference between revisions
Tag: Undo |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[https://ogfturbo.rent-a-planet.com/?Q=(area%5B%22admin_level%22%5D%5B%22ogf:id%22%3D%22{{{1}}}%22%5D%3B)-%3E.bndarea%3B%0A(node(area.bndarea)%5B% | <includeonly><span class="plainlinks">[https://ogfturbo.rent-a-planet.com/?Q=(area%5B%22admin_level%22%5D%5B%22ogf:id%22%3D%22{{{1}}}%22%5D%3B)-%3E.bndarea%3B%0A(node(area.bndarea)%5B%22{{{2}}}%22%7E%22{{urlencode:{{{3}}}}}%22%5D(%7B%7Bbbox%7D%7D)%3Bway(area.bndarea)%5B%22{{{2}}}%22%7E%22{{urlencode:{{{3}}}}}%22%5D(%7B%7Bbbox%7D%7D)%3Brelation(area.bndarea)%5B%22{{{2}}}%22%7E%22{{urlencode:{{{3}}}}}%22%5D(%7B%7Bbbox%7D%7D)%3B)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B&C=-38.44498;155.06104;5&R {{{4|{{{2}}}={{{3}}}}}}]'''</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). An example query might be <code><nowiki>{{Oquery|UL02a|leisure|park|Parks in Mauretia}}</nowiki></code>. | ||
[[Category:Overpass templates]]</noinclude> | [[Category:Overpass templates]]</noinclude> |
Revision as of 19:53, 24 October 2021
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). An example query might be {{Oquery|UL02a|leisure|park|Parks in Mauretia}}
.