Re: [Qgis-user] qgis api

2013-08-19 Thread Giuseppe Amatulli
Solved In reality the error was in the beginning of the code and it was due to not set the QgsApplication.setPrefixPath (in ubuntu 12.04 /usr ) import sys import os from qgis import * from qgis.core import * QgsApplication.setPrefixPath("/usr", True) QgsApplication.initQgis() shpA = QgsVectorLaye

[Qgis-user] qgis api

2013-08-19 Thread Giuseppe Amatulli
Hi, i'm trying to create a script that use qgis api to do an intersection between two shp . The script works fine in the Qgis python console returning "true" and creating the intersect shp, instead in the python console returns "false" from qgis.core import * from qgis import * import qgis.utils f

[Qgis-user] http://qgis.org KEYEXPIRED 1376750759

2013-08-19 Thread Guy Roussin
Hi, I can't upgrade nightly anymore ... $ sudo aptitude update ... W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://qgis.org wheezy Release: The following signatures were invalid: KEYEXPIRED 137675075