Message posté par : FanchVigne
----------------------------------------
super merci
je vais suivre les mises a jour du plugin et voir quand il sera au point
encore merci
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334886#p334886
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : fanou (belinstephane(a)yahoo.fr)
----------------------------------------
Bonjour,
Je souhaiterai envoyer un e-mail automatiquement lorsqu'un nouveau polygone est crée dans une table bien précise.
Je suppose qu'il faut passer par du code python, mais je ne vois pas bien comment faire et surtout ou mettre le code.
J'avais trouver ça sur le net :
https://www.quennec.fr/trucs-astuces/langages/python/python-envoyer-un-mail…
Pouvez-vous éclairer ma lanterne?
Merci,
Stéphane
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334883#p334883
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : FanchVigne
----------------------------------------
Bonjour à tous
je m'adresse à vous car j'ai un soucis lors de l'installation d'un plugin : GIS4WRF
-----------------
Citation :
Impossible de charger l'extension 'gis4wrf' provoque une erreur lors de l'appel à sa méthode classFactory()
RuntimeError: GIS4WRF: Error installing Python packages Log: Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… f90nml==1.0.2 Using cached f90nml-1.0.2.tar.gz (45 kB) Collecting netCDF4==1.4.2 Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB) Collecting wrf-python==1.3.2 ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/wrf_python-1.3.2-cp37-c… because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… for URL https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 220, in bootstrap
for line in run_subprocess(args, LOG_PATH):
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 249, in run_subprocess
raise subprocess.CalledProcessError(process.returncode, args)
subprocess.CalledProcessError: Command '['C:\\Program Files\\QGIS 3.14\\bin\\python-qgis.bat', '-m', 'pip', 'install', '--prefix', 'C:\\Users\\franc\\AppData\\Local\\gis4wrf\\python37', 'f90nml==1.0.2', 'netCDF4==1.4.2', 'https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 62, in bootstrap_with_ui
raise RuntimeError(PLUGIN_NAME + ': Error installing Python packages\nLog:\n' + log) from e
RuntimeError: GIS4WRF: Error installing Python packages
Log:
Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… f90nml==1.0.2
Using cached f90nml-1.0.2.tar.gz (45 kB)
Collecting netCDF4==1.4.2
Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB)
Collecting wrf-python==1.3.2
ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… for URL https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available.
You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.
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.14.1-Pi Pi, de08d6b71d
Chemin Python :
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.14\apps\Python37
C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts
C:\Program Files\QGIS 3.14\bin\python37.zip
C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib
C:\Program Files\QGIS 3.14\bin
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\cadastre\forms
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:\Users\franc\AppData\Local\gis4wrf\python37
C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages
-----------------
Seriez vous m'aider ?
Version QGIS 3.14
Version GIS4WRF 0.14.2
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334882#p334882
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : mathieu rajerison
----------------------------------------
Bonjour,
Soit :
- une couche cible
- une couche source
Soit la couche source avec :
- un champ fid _target avec value relation sur la base de couche cible
- un champ lib_target avec valeur par défaut
Cela fonctionne chez moi en mettant comme expression pour lib_target :
-----------------
Code :
attribute(get_feature('data', 'fid',"fid_target"), 'lib')
-----------------
A réaliser pour tous les champs de la couche cible que l'on veut récupérer
Voir projet en PJ
----------------------------------------
Ce message est accompagné de fichiers, pour les télécharger, suivre le lien ci-dessous.
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334858#p334858
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : mathieu rajerison
----------------------------------------
Bonjour,
- Créer une couche Lignes1 avec une ligne
- Créer une couche Lignes 2 avec deux lignes dont une plus proche de Lignes1
- Créer un champ virtuel sur Lignes1 'nearest_ligne' avec l'expression suivante
with_variable(
'
-----------------
Code :
distances',
array_foreach(
generate_series(1, aggregate('lignes2', 'count', fid)),
distance($geometry, geometry(get_feature_by_id('lignes2', @element)))),
array_find(@distances, array_sort(@distances)[0]) + 1
)
-----------------
Le projet en PJ contient données et projet d'exemple
----------------------------------------
Ce message est accompagné de fichiers, pour les télécharger, suivre le lien ci-dessous.
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334789#p334789
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : SEVIN Benoit
----------------------------------------
Bonjour,
Merci beaucoup, je vais tester.
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334859#p334859
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : Axel S
----------------------------------------
J'avais eu des erreurs en effectuant une étude du plus proche entre les polylignes canalisations et les polylignes des rues notamment au niveau des intersections de rues et ronds-points.
J'avais eu un meilleur résultat avec une couche ponctuelle des rues, en intégrant l'attribut NomRue du point le plus proche du tronçon de canalisation
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334800#p334800
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : Hideaways
----------------------------------------
Bonsoir,
Je comprends vraiment pas, j'ai touché à rien et juste en chargeant mon projet je n'ai plus de fond de carte et cette espèce de liste de fonds de carte inutilisables est apparue. Même en effaçant la connexion et en la recréant je retombe sur la même chose.
Merci pour votre retour en tout cas, je vais continuer de creuser.
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334618#p334618
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : CCCool (adrenalineaddict(a)hotmail.fr)
----------------------------------------
Bonjour,
J'ai une photographie dont je souhaiterai définir l'échelle à partir de la taille d'un objet connue présent sur la photographie, il y a t-il un outil pour effectuer cette opération?
Merci par avance :)
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334825#p334825
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net
Message posté par : FanchVigne
----------------------------------------
Bonjour à tous
je m'adresse à vous car j'ai un soucis lors de l'installation d'un plugin : GIS4WRF
-----------------
Citation :
Impossible de charger l'extension 'gis4wrf' provoque une erreur lors de l'appel à sa méthode classFactory()
RuntimeError: GIS4WRF: Error installing Python packages Log: Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… f90nml==1.0.2 Using cached f90nml-1.0.2.tar.gz (45 kB) Collecting netCDF4==1.4.2 Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB) Collecting wrf-python==1.3.2 ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/wrf_python-1.3.2-cp37-c… because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… for URL https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 220, in bootstrap
for line in run_subprocess(args, LOG_PATH):
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 249, in run_subprocess
raise subprocess.CalledProcessError(process.returncode, args)
subprocess.CalledProcessError: Command '['C:\\Program Files\\QGIS 3.14\\bin\\python-qgis.bat', '-m', 'pip', 'install', '--prefix', 'C:\\Users\\franc\\AppData\\Local\\gis4wrf\\python37', 'f90nml==1.0.2', 'netCDF4==1.4.2', 'https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 62, in bootstrap_with_ui
raise RuntimeError(PLUGIN_NAME + ': Error installing Python packages\nLog:\n' + log) from e
RuntimeError: GIS4WRF: Error installing Python packages
Log:
Added C:\Users\franc\AppData\Local\gis4wrf\python37 as module search pathAdded C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages as module search pathPackage directory: C:\Users\franc\AppData\Local\gis4wrf\python37C:\Program Files\QGIS 3.14\bin\python-qgis.bat -m pip install --prefix C:\Users\franc\AppData\Local\gis4wrf\python37 f90nml==1.0.2 netCDF4==1.4.2 https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… f90nml==1.0.2
Using cached f90nml-1.0.2.tar.gz (45 kB)
Collecting netCDF4==1.4.2
Using cached netCDF4-1.4.2-cp37-cp37m-win_amd64.whl (2.8 MB)
Collecting wrf-python==1.3.2
ERROR: HTTP error 404 while getting https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
ERROR: Could not install requirement wrf-python==1.3.2 from https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… because of HTTP error 404 Client Error: Not Found for url: https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc… for URL https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackc…
WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available.
You should consider upgrading via the 'C:\PROGRA~1\QGIS3~1.14\apps\Python37\python.exe -m pip install --upgrade pip' command.
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.14.1-Pi Pi, de08d6b71d
Chemin Python :
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins
C:\PROGRA~1\QGIS3~1.14\apps\Python37
C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts
C:\Program Files\QGIS 3.14\bin\python37.zip
C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib
C:\Program Files\QGIS 3.14\bin
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin
C:/Users/franc/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\cadastre\forms
C:\Users\franc\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:\Users\franc\AppData\Local\gis4wrf\python37
C:\Users\franc\AppData\Local\gis4wrf\python37\lib\site-packages
-----------------
Seriez vous m'aider ?
Version QGIS 3.14
Version GIS4WRF 0.14.2
----------------------------------------
Le message est situé https://georezo.net/forum/viewtopic.php?pid=334873#p334873
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net