Giter VIP home page Giter VIP logo

quickosm's Introduction

QuickOSM

Logo of QuickOSM

QGIS.org Documentation 📚 Tests 🎳 Transifex 🗺

Versions

  • QuickOSM is maintained only for a maintained QGIS version (LTR, stable release and dev).
QuickOSM QGIS Min QGIS Max Branch
1.0 → 1.4 2.0 2.18 master_qgis2
1.5 → 1.7 3.0 3.2
1.8 → 1.17 3.4 3.14
2.0 → 2.1.1 3.16 3.22
2.2.0 → 3.22 master

Documentation

The user guide, and the developer guide are available https://docs.3liz.org/QuickOSM/

Generalities

QuickOSM allows you to work quickly with OSM data in QGIS thanks to Overpass API.

  • Write some queries for you by providing a key/value
  • Choose to run the query on an area or an extent
  • Configure the query : which layers, which columns…
  • Open a local OSM (.osm or .pbf) with a specific osmconf in QGIS
  • Build some models with QGIS Processing

There are some useful tips, like automatic colours on lines (if the tag is present), or some actions (right-click in the attribute table) for each entity (edit in JOSM for instance).

Translation

  • The web-based translating platform Transifex is used.

Credits

Author: Etienne Trimaille : https://twitter.com/etrimaille

Contributors:

quickosm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quickosm's Issues

Can't use {{bbox}} from map layer

Awesome plugin!

Yet, there's one feature I'd like to use which I can't seem to get running: using the extent of a layer as bounding box for the OSM download.
I tried using a layer both directly from PostgreSQL and as OGR .shp file (both in EPSG:4326), but both result in the following error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/greg_ko/.qgis2/python/plugins\QuickOSM\ui\query_dialog.py", line 164, in runQuery
    bbox = self.getBBox()
  File "C:/Users/greg_ko/.qgis2/python/plugins\QuickOSM\ui\QuickOSMWidget.py", line 133, in getBBox
    raise NoLayerException(suffix=layerName)
NoLayerException

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.4.0-Chugiak Chugiak, 8fdd08a

The query I used is:
node({{bbox}});(way(bn)[landuse=forest];way(bn)[natural=wood];);(._;>;);out;

There seems to be an issue with referring to the selected layer, even though the dropdown list is populated just fine after clicking the reload button... The progress bar in the plugin window keeps running, also the mouse cursor stays in the processing stage, but QGIS itself is still working (i.e. it doesn't freeze).

As you can see I'm using QGIS 2.4.0 on Windows 7.

HTTP proxy support

While plugin downloads respects QGIS' http proxy settings, the QgisQuickOSMPlugin doesn't seem to honor those http proxy settings. At least I'm getting some http error message when I try to call overpass api/nominatim behind an http proxy.

OSM name tag encoding

Hello,

I would like to know how to retrieve correct text encoding of OSM tag with Quick OSM plugin?
Should I specify text encoding somewhere in the query or should I specify an ecnoding in the layer properties (bu which enconding)

Thanks in advance

Regards

Copy and paste text query: bad visualization

Copying text query from google drive online document (using Firefox), then pasting into Overpass query text box, get a bad visual of pasted text...

Pasting same text query to gedit, then selecting from it, copying and re pasting text from gedit works good...

cr+lf issue on google text docs ?

Please see the attached image...
May be not related to this plugin...

Thank
Marco

schermata da 2014-10-16 11 17 45

Manage alias in INI

Add some alias in INI for each layers.
We shoudn't mix QML for styling a layer and alias

Configuration of Overpass instances

There are other Overpass instances around, like http://overpass.osm.ch/api .

So it would be useful to configure them. I've seen that you have the information put statically into the code at .qgis2\python\plugins\QuickOSM\ui\main_window.py

self.comboBox_default_OAPI.setItemText(0,_translate("ui_main_window","http://www.overpass-api.de/api/",None))
self.comboBox_default_OAPI.setItemText(1,_translate("ui_main_window","http://overpass.osm.rambler.ru/cgi/",None))
self.comboBox_default_OAPI.setItemText(2,_translate("ui_main_window","http://api.openstreetmap.fr/oapi/",None))

It would be nice to have this in the Parameters section - or at least
as a parameter in osmconf.ini (.qgis2\python\plugins\QuickOSM\osmconf.ini)

Please remove local references

In My queries there are a couple of references to Montpellier; I might be better avoiding references to local queries

Asking about unsaved layers before closing project

Given a user

  • fills out "Quick query" parameters in default mode
  • (without setting Directory and File prefix in "Advanced"),
  • and does a "Run query" temporary layers are created,
  • then closes QGIS project

Now when reopening, QGIS project manager says "Layer ...not found" and all data is lost.

I therefore propose, that QuickOSM plugin asks user something like "There are unsaved layers. Do you really want to close project?"

Can't install the plugin : UnicodeDecodeError: 'ascii' codec can't decode

Windows 7 64 bits, QGIS Brighton 2.6.1, QuickOSM 1.2

From the plugin's window, when trying to install the plugin :

Traceback (most recent call last):
File "C:/PROGRA~1/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 185, in loadPlugin
__import__(packageName)
File "C:/PROGRA~1/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/Ga�l/.qgis2/python/plugins\QuickOSM\__init__.py", line 31, in
from CoreQuickOSM.Tools import *
File "C:/PROGRA~1/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/Ga�l/.qgis2/python/plugins\QuickOSM\CoreQuickOSM\Tools.py", line 26, in
from API.Nominatim import Nominatim
File "C:/PROGRA~1/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 460, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/PROGRA~1/QGISBR~1/apps/qgis/./python\qgis\utils.py", line 55, in showWarning
"warning:%s\ntraceback:%s" % ( warnings.formatwarning(message, category, filename, lineno), stk),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 19: ordinal not in range(128)

From http://forum.openstreetmap.fr/viewtopic.php?f=5&t=1634

Unicode error with nominatim

Runnin this query :

<osm-script output="xml" timeout="25">
<id-query {{nominatimArea:austria}} into="area"/>
<union>
<query type="node">
<has-kv k="boundary" v="administrative"/>
<area-query from="area"/>
</query>
<query type="way">
<has-kv k="boundary" v="administrative"/>
<area-query from="area"/>
</query>
<query type="relation">
<has-kv k="boundary" v="administrative"/>
<area-query from="area"/>
</query>
</union>
<union>
<item />
<recurse type="down"/>
</union>
<print mode="body" />
</osm-script>

leads to an error

(<type 'exceptions.UnicodeDecodeError'>, 'query_dialog.py', 185)
  File "/home/etienne/.qgis2/python/plugins/QuickOSM/ui/query_dialog.py", line 185, in runQuery
    numLayers = Process.ProcessQuery(dialog = self, query=query, outputDir=outputDir, prefixFile=prefixFile,outputGeomTypes=outputGeomTypes, whiteListValues=whiteListValues, nominatim=nominatim, bbox=bbox)
  File "/home/etienne/.qgis2/python/plugins/QuickOSM/Controller/Process.py", line 171, in ProcessQuery
    query = Tools.PrepareQueryOqlXml(query=query, nominatimName = nominatim, extent=bbox)
  File "/home/etienne/.qgis2/python/plugins/QuickOSM/CoreQuickOSM/Tools.py", line 194, in PrepareQueryOqlXml
    osmid = nominatim.getFirstPolygonFromQuery(search)
  File "/home/etienne/.qgis2/python/plugins/QuickOSM/CoreQuickOSM/API/Nominatim.py", line 89, in getFirstPolygonFromQuery
    data = self.query(query)
  File "/home/etienne/.qgis2/python/plugins/QuickOSM/CoreQuickOSM/API/Nominatim.py", line 72, in query
    return json.loads(unicode(self.data))
'ascii' codec can't decode byte 0xc2 in position 41: ordinal not in range(128)

Mac OS X - probable Python 2.6 incompatibilities

After installing I get:
The plugin is corrupt. Python message:
zero length field name in format

A deeper inspect shows:
Traceback (most recent call last):
File "/Applications/QGIS_2.5-dev_SnoLeo_7.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 208, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "/Users/carlo/.qgis2/python/plugins/QuickOSM/init.py", line 35, in classFactory
return QuickOSM(iface)
File "/Users/carlo/.qgis2/python/plugins/QuickOSM/quick_osm.py", line 56, in init
'QuickOSM_{}.qm'.format(locale))
ValueError: zero length field name in format
It seems an issue with pythong 2.6.

Missing Python-Modul: system

Hi,
i tried to install QuickOSM but it cannot be loaded because of missing Python-Modul: system.
Installed python version 2.5 and 2.7.
Maybe a simple question, but i'm just a beginner.

Greets

BernhardBFI

Pressing "Reset" button... bug report

Simply by pressing "Reset" with "Quick query" left item selected without any value touched.
The "Reset" button works with "Query" left item selected.

Traceback (most recent call last):
File "/home/ubuntu/.qgis2/python/plugins/QuickOSM/ui/quick_query_dialog.py", line 91, in resetForm
self.radioButton_nominatim_point.setChecked(False)
AttributeError: 'QuickQueryWidget' object has no attribute 'radioButton_nominatim_point'

Versione Python:
2.7.6 (default, Mar 22 2014, 23:03:41)
[GCC 4.8.2]

Versione di QGIS:
2.8.1-Wien Wien, exported

Percorso Python: ['/usr/share/qgis/python/plugins/processing', '/home/ubuntu/.qgis2/python/plugins/GeoCoding', '/usr/share/qgis/python', u'/home/ubuntu/.qgis2/python', u'/home/ubuntu/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/csvkit-0.9.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/dbf-0.94.003-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/python_dateutil-2.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/six-1.8.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/openpyxl-2.1.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/SQLAlchemy-0.9.7-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/xlrd-0.9.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/jdcal-1.0-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', u'/home/ubuntu/.qgis2//python', '/home/ubuntu/.qgis2/python/plugins/SelectTools/tools', '/home/ubuntu/.qgis2/python/plugins/mmqgis/forms', '/home/ubuntu/.qgis2/python/plugins/DataDrivenInputMask', '/home/ubuntu/.qgis2/python/plugins/HouseNumbering/forms', '/home/ubuntu/.qgis2/python/plugins/StreamFeatureExtractor/third_party', '/home/ubuntu/.qgis2/python/plugins/QuickMultiAttributeEdit/forms', '/usr/share/qgis/python/plugins/fTools/tools']

Can't install plugin

I'm running on a MacOSX using the latest QGIS 2.4, when I try to install this python plugin from the Plugin > Manage it gives me this error

The plugin is broken. Python said:
'QPNullVariant' object has no attribute '__getitem__'

QuickOSM raises Python Error on QGIS start when no internet connection available

Since installing QuickOSM, I get this error message at QGIS startup when disconnected from internet:

Fehler bei der Ausführung von Python-Code:

Traceback (most recent call last):
File "C:/Users/Joost/.qgis2/python/plugins\QuickOSM\ui\main_window_dialog.py", line 98, in setServerOAPI
self.getTimestampOAPI()
File "C:/Users/Joost/.qgis2/python/plugins\QuickOSM\ui\main_window_dialog.py", line 107, in getTimestampOAPI
self.label_timestamp_oapi.setText(oapi.getTimestamp())
File "C:/Users/Joost/.qgis2/python/plugins\QuickOSM\CoreQuickOSM\API\ConnexionOAPI.py", line 125, in getTimestamp
return urllib2.urlopen(url=urlQuery).read()
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\PROGRA2\QGISBR1\apps\Python27\lib\urllib2.py", line 1184, in do_open
raise URLError(err)
URLError:
Python-Version:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS-Version:
2.6.0-Brighton Brighton, exported

I know that the plugin makes little sense without internet connection, but I am sometimes offline when working with QGIS. Other plugins can live silently without internet access.

all coordinates truncated to integer values

For some reason, for me, all data requested via QuickOSM gets snapped to a grid where lat/lon values are integers:
bildschirmfoto vom 2014-10-19 10 39 12

Could it be that there is a number parsing issue because I'm on a PC with German locale (where floats are typeset with commas instead of decimal points)? But, setting the UI-language to English doesn't seem to help.

Freeze when execute queries

Error when execute all queries in "Mes requêtes" freeze
idem with custom queries on Debian Wheezy and Ubuntu 12.04 LTS
Environment : QGIS 2.4 - python 2.7.3

Allow a quickquery fetching datas around a point

Administrative polygons aren't in OSM everywhere like admin_level=8 for instance.
In this kind of area, QuickOSM only works with {{bbox}}.

A quickquery should accept point result with nominatim and ask for a radius :

<query type="node">
  <around lat="..." lon="..." radius="..."/>
  <has-kv k="amenity" v="cafe" />
</query>
<print />

Update plugin with QGIS 2.8.1 is failing

Trying to update the plugin with the extension manager, I got this error message:

Impossible de charger l'extension QuickOSM provoque une erreur lors de l'appel de sa méthode classFactory()


Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 219, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/$user/.qgis2/python/plugins\QuickOSM\__init__.py", line 36, in classFactory
    return QuickOSM(iface)
  File "C:/Users/$user/.qgis2/python/plugins\QuickOSM\quick_osm.py", line 67, in __init__
    self.provider = QuickOSMAlgorithmProvider()
  File "C:/Users/$user/.qgis2/python/plugins\QuickOSM\ProcessingQuickOSM\QuickOSMAlgorithmProvider.py", line 57, in __init__
    QueryFactoryGeoAlgorithm(),
  File "C:/Users/$user/.qgis2/python/plugins\QuickOSM\ProcessingQuickOSM\Tools\QueryFactoryGeoAlgorithm.py", line 44, in __init__
    GeoAlgorithm.__init__(self)
  File "C:/Users/$user/.qgis2/python/plugins\processing\core\GeoAlgorithm.py", line 91, in __init__
    self.defineCharacteristics()
  File "C:/Users/$user/.qgis2/python/plugins\QuickOSM\ProcessingQuickOSM\Tools\QueryFactoryGeoAlgorithm.py", line 52, in defineCharacteristics
    self.addParameter(ParameterBoolean(self.FIELD_EXTENT, 'Use an extent, not compatible with nominatim', default=False))
NameError: global name 'ParameterBoolean' is not defined


Version de Python :
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


Version de QGIS :
2.8.1-Wien Wien, exported

Chemin vers Python : ['C:/Users/$user/.qgis2/python/plugins\\processing', 'C:/OSGEO4~1/apps/qgis/./python', u'C:/Users/$user/.qgis2/python', u'C:/Users/$user/.qgis2/python/plugins', 'C:/OSGEO4~1/apps/qgis/./python/plugins', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\python_dateutil-2.1-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\OSGEO4~1\\bin\\python27.zip', 'C:\\OSGEO4~1\\apps\\Python27\\DLLs', 'C:\\OSGEO4~1\\apps\\Python27\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\plat-win', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGEO4~1\\bin', 'C:\\OSGEO4~1\\apps\\Python27', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', u'C:/Users/$user/.qgis2//python', 'C:\\Users\\$user\\.qgis2\\python\\plugins\\mmqgis/forms', '.', 'C:\\OSGEO4~1\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:\\Users\\$user\\.qgis2\\python\\plugins\\cadastre/forms']

Write output to spatialite database

Currently, the output is written to shapefiles. This leads to truncated field names in the attribute table.

Writing to a spatialite database can avoid that. Have a look at how "Add vector layer" imports osm data, which is better in that aspect.

Allow to cancel queries

Any large query made by mistake (or not) will just freeze QGIS and there is no way out except killing it.

It seems necessary to have a cancel button, to stop a running query.

Colour is not applied automatically

The help suggests that colour should be applied automatically for line layers. I've tried to test this by downloading the subway lines for Vienna but the colour attribute is not applied automatically. It works just fine if I manually enable data-defined properties and select the colour attribute. Am I missing something? Thanks!

Propose some keys/values in QuickQuery

QuickQuery should have a combobox with common keys/values according to a dic in a config file.
We could write our own key, but with auto-completion if possible.

OSM's driver is not installed

When running a QuickQuery it show's:
The OSM's driver is not installed. You must install the driver first.

No document I've found points in any direction...
Using: crunchbang waldorf = debian 7 wheezy, QGIS 2.6.0, QuickOSM 1.1.1

Differences in QuickOSM and overpass-turbo.eu (parsing issue?)

Issue 1. A "Quick query" of zoos (tag "tourism=zoo") generates following Overpass query:

<osm-script output="json" timeout="75"> 
     <id-query {{nominatimArea:Switzerland}} into="area"/> 
     <union>
          <query type="node">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
          <query type="way">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
          <query type="relation">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
     </union>
     <union>
          <item />
          <recurse type="down"/>
     </union>
     <print mode="body" />
</osm-script>

This valid query generates three layers (with no. of objects in parantheses):

Layer OsmQuery POINT (44)
Layer OsmQuery LINE (7)
Layer OsmQuery POLYGON (69)

When executed in http://overpass-turbo.eu/ it shows slightly different no, of objects:

Loaded – nodes: 1694, ways: 81, relations: 3
Displayed – pois: 45, lines: 8, polygons: 69

Why this (parsing error)?

Issue 2. The same query from above where output only prints points geometries looks like this:

<osm-script output="json" timeout="75"> 
     <id-query {{nominatimArea:Switzerland}} into="area"/> 
     <union>
          <query type="node">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
          <query type="way">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
          <query type="relation">
               <has-kv k="tourism" v="zoo"/> 
               <area-query from="area"/>
          </query>
     </union>
     <print mode="body" geometry="center" />
</osm-script>

When executed in http://overpass-turbo.eu/ 86 POIs are "printed" as expected:

Loaded – nodes: 16, ways: 67, relations: 3
Displayed – pois: 86, lines: 0, polygons: 0

But running this in QuickOSM, only 16 nodes are generated in point layer OsmQuery.
=> Why isn't it generating 86 POIs in point layer OsmQuery?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.