qgisinspiretools / qgis-inspire-atom-client-plugin Goto Github PK
View Code? Open in Web Editor NEWQGIS Plugin for INSPIRE Pre-defined Atom Downloadservice
QGIS Plugin for INSPIRE Pre-defined Atom Downloadservice
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
hi, i couldn't get the plugin to work before, but on 3.14 it worked out of the box, great work!
in netherlands we have a lot of zipped resources attached to atom files
would be nice if the plugin would extract the zip file and adds the content (shapefiles in most cases) to the qgis map
example service is: https://geodata.nationaalgeoregister.nl/atom/index.xml
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
The plugin doesn't work if there is no inspire_dls:spatial_dataset_identifier_code
. Maybe without that the atom link isn't fully conformant, but would be nice if it works anyway.
Example: https://geodownload.sachsen.de/inspire/el_atom/Dataset_el_dgm1.xml
Hi @JuergenWeichand are you thinking to port the plugin on QGIS 2.x?
Thaks
Hi All,
thanks for the porting to QGIS 2.x
Would be great if:
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)
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.