GithubHelp home page GithubHelp logo

qgis-inspire-atom-client-plugin's People

Contributors

edigonzales avatar ejn avatar juergenweichand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

qgis-inspire-atom-client-plugin's Issues

Post-install issue

Hi,
This plugin looks great but I can't make it work. I downloaded the ZIP file (qgis-inspire-atom-client-plugin-master.zip) and used the zip installation process in Qgis extension windows. The plugins fails to launch after installation with this message :

ModuleNotFoundError: No module named 'qgis-inspire-atom-client-plugin-master.resources' 
Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 335, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/marie/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis-inspire-atom-client-plugin-master\__init__.py", line 24, in classFactory
    from .inspireatomclient import InspireAtomClient
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/marie/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis-inspire-atom-client-plugin-master\inspireatomclient.py", line 29, in 
    from .resources import *
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 799, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'qgis-inspire-atom-client-plugin-master.resources'


Version de Python : 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] 
Version de QGIS : 3.18.1-Zürich Zürich, 202f1bf7e5 

Chemin Python :
C:/OSGEO4~1/apps/qgis/./python
C:/Users/marie/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/marie/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGEO4~1/apps/qgis/./python/plugins
C:\OSGEO4~1\apps\Python37
C:\OSGEO4~1\apps\Python37\Scripts
C:\OSGeo4W64\bin\python37.zip
C:\OSGEO4~1\apps\Python37\DLLs
C:\OSGEO4~1\apps\Python37\lib
C:\OSGeo4W64\bin
C:\OSGEO4~1\apps\Python37\lib\site-packages
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32
C:\OSGEO4~1\apps\Python37\lib\site-packages\win32\lib
C:\OSGEO4~1\apps\Python37\lib\site-packages\Pythonwin
C:/Users/marie/AppData/Roaming/QGIS/QGIS3\profiles\default/python

Thanks for your time

zip support

Just putting this in its own issue on behalf of @Maaka2890

Hi Juergen,

Thank you for you plugin. It is very useful to us.

The atom feed I use only offers .zip (with GML in it).
When your plugin loads the zip into the layer panel it does not ask "Select vector layers to add..." (which Qgis normally does when dropping a .zip in). Only the first 'vector layer' is loaded. whereas some GML's have multiple layers in them.

Would it be possible to change it so all the 'layers' will load? or the "select vector layer to add..." pops up?

If you want I can send you the URL of the feed and more details.

Thanks in advance,
Maaka

Enhancement

Hi All,

thanks for the porting to QGIS 2.x
Would be great if:

  • User can set download folder
  • Source typenames or filenames are maintained and not changed by the plugin

Work with HTTP redirects?

Currently the plugin doesn't support HTTP redirects. You can see this in the default/demo URL http://www.weichand.de/inspire/dls/verwaltungsgrenzen.xml which redirects to https which makes the plugin not work.

I got the demo URL to work by replacing all QNetworkRequest(url) with something like this:

netreq = QNetworkRequest(url)
netreq.setAttribute(QNetworkRequest.FollowRedirectsAttribute, True)

unable to get spacial dataset: Unable to save the file C:\Users\XYZ\tmp\inspireatomclient\: Das System kann den angegebenen Pfad nicht finden..

I'm using plugin Version INSPIRE Atom Client 0.7.0. and QGIS 3.28.2-Firenze.
Unfortunatelly, when I click the the Get Spacial Dataset button, I get the following error: C:\Users\XYZ\tmp\inspireatomclient: Das System kann den angegebenen Pfad nicht finden.. (The system cannot find the path specified)

I can manually pontto the path and the plugin generates xml-Files there. So it can be found.

Does anyone have an idea or solution for this?

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.