banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

Annonce

State Of The Map 2024

#1 Thu 20 August 2015 20:37

kitographe
Juste Inscrit !
Date d'inscription: 20 Aug 2015
Messages: 1

QGIS 2.10 : Plugin Arrows pour générer des flèches proportionnelles

Bonjour,

J'utilise le plugin Arrows pour générer des belles flèches propotionnelles. Cependant, aujourd'hui j'ai voulu l'utiliser et il y a un problème, je reçois ce message d'erreur python.

Pensez vous que c'est à cause de la nouvelle version de Qgis2.10 ou bien une mauvaise mise à jour du plugin? Est-ce-que ce plugin fonctionne chez vous?

Bien à vous smile

Code:

Une erreur est apparue lors de l'exécution du code Python :

Traceback (most recent call last):
  File "C:/Users/pflorin/.qgis2/python/pluginsarrowsarrows.py", line 79, in run_set
    self.draw_arrows()
  File "C:/Users/pflorin/.qgis2/python/pluginsarrowsarrows.py", line 119, in draw_arrows
    threshold = float(unicode(self.conf["arrow_threshold"])) * float(unicode(self.conf["arrow_width_factor"]))
ValueError: could not convert string to float: 

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

Version de QGIS :
2.8.2-Wien Wien, 1b929ef

Chemin vers Python : ['C:\Users\pflorin\.qgis2\python\plugins\GeoCoding\libs', 'C:/Users/pflorin/.qgis2/python/plugins\processing', 'C:/PROGRA~1/QGISWI~1/apps/qgis/./python', u'C:/Users/pflorin/.qgis2/python', u'C:/Users/pflorin/.qgis2/python/plugins', 'C:/PROGRA~1/QGISWI~1/apps/qgis/./python/plugins', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\bin\python27.zip', 'C:\PROGRA~1\QGISWI~1\apps\Python27\DLLs', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\plat-win', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISWI~1\bin', 'C:\PROGRA~1\QGISWI~1\apps\Python27', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg', 'C:\PROGRA~1\QGISWI~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg', u'C:/Users/pflorin/.qgis2//python', 'C:/eclipse/plugins/org.python.pydev_4.0.0.201504132356/pysrc', 'C:/eclipse/plugins/org.python.pydev_3.6.0.201406232321/pysrc', 'C:\Users\pflorin\.qgis2\python\plugins\mmqgis/forms', '.', 'C:\PROGRA~1\QGISWI~1\apps\qgis\python\plugins\fTools\tools']

Hors ligne

 

#2 Fri 04 September 2015 16:26

hichamfstgm
Participant occasionnel
Lieu: Goulmima
Date d'inscription: 11 May 2010
Messages: 48

Re: QGIS 2.10 : Plugin Arrows pour générer des flèches proportionnelles

Bonjour
il se pourrait que votre champ est une chaîne de caractère, essayez de le copier à un autre
champ comme un entier , en utilisant le calculateur de champ .
CDT

Hors ligne

 

Pied de page des forums

Powered by FluxBB