Giter VIP home page Giter VIP logo

Comments (5)

Gustry avatar Gustry commented on June 4, 2024

What is the error when you execute the query ? Just a freeze ? There isn't an error message ?
QGIS freeze during some secondes and then unfreeze ? or qgis crash ?

from quickosm.

ldeschaumes avatar ldeschaumes commented on June 4, 2024

Hello,

When i launch a custom query i got this

in the window :Error in the pyton console , report it

in the console:

warning:/home/laurent/.qgis2/python/plugins/QuickOSM/CoreQuickOSM/Parser/OsmParser.py:114: DeprecationWarning: QgsMapLayer.lastError() is deprecated
raise GeoAlgorithmExecutionException, "Error on the layer", layers[layer]['vectorLayer'].lastError()

traceback: File "/home/laurent/.qgis2/python/plugins/QuickOSM/quick_osm.py", line 152, in openMainWindow
self.iface.QuickOSM_mainWindowDialog.exec_()
File "/home/laurent/.qgis2/python/plugins/QuickOSM/ui/quick_query_dialog.py", line 198, in runQuery
numLayers = Process.ProcessQuickQuery(dialog = self, key=key, value=value, nominatim=nominatim, bbox=bbox, osmObjects=osmObjects, timeout=timeout, outputDir=outputDir, prefixFile=prefixFile,outputGeomTypes=outputGeomTypes)
File "/home/laurent/.qgis2/python/plugins/QuickOSM/Controller/Process.py", line 158, in ProcessQuickQuery
layerName=layerName)
File "/home/laurent/.qgis2/python/plugins/QuickOSM/Controller/Process.py", line 75, in ProcessQuery
layers = osmParser.parse()

an when i submit a registered query
window freeze during a long time and nothing come

from quickosm.

Gustry avatar Gustry commented on June 4, 2024

Could you check your version of GDAL/OGR ?
In QGIS -> Help -> About -> About

Or in the python console, type :
from osgeo import gdal
print int(gdal.VersionInfo('VERSION_NUM'))

from quickosm.

ldeschaumes avatar ldeschaumes commented on June 4, 2024

In QGIS -> Help -> About -> About
Compilé avec GDAL/OGR 1.7.3 Utilisé avec GDAL/OGR 1.7.3

from osgeo import gdal
print int(gdal.VersionInfo('VERSION_NUM'))
1730

from quickosm.

Gustry avatar Gustry commented on June 4, 2024

Ok, your version of GDAL/OGR is too old.
OGR has the OSM's driver since 1.10 and you have 1.7. Even if it doesn't explain why QGIS freeze ...
This is related to #13 .

from quickosm.

Related Issues (20)

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.