Hello list!
I'm using qgis 1.0.0-4 from _OSGeo4W_ and have difficulties running
custom python scripts:
from qgis.core import *
Traceback (most recent call last):
File pyshell#0, line 1, in module
from qgis.core import *
ImportError: No module named qgis.core
Tried many different paths in
Hi list
in a python plugin im using QgsVectorFileWriter.writeAsShapefile to write a
shapefile to the disk.
The first time I use a certain file name/path (e.g /tmp/foo.shp), it works
properly. If I try to rerun the script, it fails saying:
ERROR 1: /tmp/foo.shp is not a directory.
It looks
Not quite yet
http://trac.osgeo.org/qgis/ticket/47
-pete
Agustin Lobo wrote:
Seems a good solution by now, thanks. In particular
because the recommended RGB colors are provided by the authors
for that map.
Is there any way of displaying the annotated color table in the legend or
in the
Cedric,
Hi list
in a python plugin im using QgsVectorFileWriter.writeAsShapefile to write a
shapefile to the disk.
The first time I use a certain file name/path (e.g /tmp/foo.shp), it works properly. If I try to rerun the script, it fails saying:
ERROR 1: /tmp/foo.shp is not a directory.
Hi Radek,
On Wed, 21. Jan 2009 at 15:04:18 +0100, Rados??aw Pasiok wrote:
I'm using qgis 1.0.0-4 from _OSGeo4W_ and have difficulties running
custom python scripts:
from qgis.core import *
Traceback (most recent call last):
File pyshell#0, line 1, in module
from qgis.core import *
In this way, it would be better to save in a temporary shapefile first,
and if the process finishes successfully, remove the destination
shapefile and copy the temporary shp to the new location.
Le mercredi 21 janvier 2009 à 14:27 +, Carson Farmer a écrit :
Cedric,
Hi list
in a python
In this way, it would be better to save in a temporary shapefile first,
and if the process finishes successfully, remove the destination
shapefile and copy the temporary shp to the new location.
hmm, I don't know about this...
Firstly, it's only useful to do this if you're concerned about
Jurgen,
thank you very much for explanations and instructions!
Adding ssleay32.dll and updating and libeay32.dll in %WINDIR%\system32 helped:
import qgis.core
For those who may be interested, I added %OSGEO4W_ROOT%\bin to PATH
variable and set PYTHONPATH to