Jump to content

Template:Oqueryarea: Difference between revisions

From OpenGeofiction
update Overpass link
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[https://turbo.ogf.rent-a-planet.com/?Q=%0Anwr%0A%20%20%5B{{{query}}}%5D%0A%20%20(%7B%7Bbbox%7D%7D)%3B%0Aout%3B&C={{{lat}}};{{{long}}};{{{zoom}}}&R {{{caption}}}]</span><sup>[[File:Overpass-turbo.svg|10px|link=]]</sup></includeonly><noinclude>
<includeonly><span class="plainlinks">[https://overpass.opengeofiction.net/?Q=%0Anwr%0A%20%20%5B{{{query}}}%5D%0A%20%20(%7B%7Bbbox%7D%7D)%3B%0Aout%3B&C={{{lat}}};{{{long}}};{{{zoom}}}&R {{{caption}}}]</span><sup>[[File:Overpass-turbo.svg|10px|link=]]</sup></includeonly><noinclude>
This template is for an Overpass query ''within a viewable area determined by centerpoint and zoom level''. It uses the syntax <code><nowiki>{{Oqueryarea|query= |lat= |long= |zoom= |caption= }}</nowiki></code>. Provide the information necessary for each parameter. For the query parameter, use common tagging of key/tag (e.g. amenity=drinking_water or leisure=park). An example query might be <code><nowiki>{{Oqueryarea|query=amenity=drinking_water|lat=20.72034|long=86.6805|zoom=12|caption=Drinking fountains in Gobras City}}</nowiki></code>.
This template is for an Overpass query ''within a viewable area determined by centerpoint and zoom level''. It uses the syntax <code><nowiki>{{Oqueryarea|query= |lat= |long= |zoom= |caption= }}</nowiki></code>. Provide the information necessary for each parameter. For the query parameter, use common tagging of key/tag (e.g. amenity=drinking_water or leisure=park). An example query might be <code><nowiki>{{Oqueryarea|query=amenity=drinking_water|lat=20.72034|long=86.6805|zoom=12|caption=Drinking fountains in Gobras City}}</nowiki></code>.


[[Category:Overpass templates]]</noinclude>
[[Category:Overpass link templates]]
[[Category:Overpass templates]]
</noinclude>

Latest revision as of 19:38, 17 January 2026

This template is for an Overpass query within a viewable area determined by centerpoint and zoom level. It uses the syntax {{Oqueryarea|query= |lat= |long= |zoom= |caption= }}. Provide the information necessary for each parameter. For the query parameter, use common tagging of key/tag (e.g. amenity=drinking_water or leisure=park). An example query might be {{Oqueryarea|query=amenity=drinking_water|lat=20.72034|long=86.6805|zoom=12|caption=Drinking fountains in Gobras City}}.