Re: [Qgis-user] Fwd: pyqgis dxf

2015-02-25 Thread Alexandre Busquets
the solution: fitxer=/tmp/prova.dxf|layername=entities|geometrytype=Point layer = QgsVectorLayer(fitxer, 'prova', 'ogr') QgsMapLayerRegistry.instance().addMapLayer(layer) 2015-02-25 11:03 GMT+01:00 Alexandre Busquets abusqu...@gmail.com: Hi Ricard, thanks for your help, but this is not a

[Qgis-user] Segmentation fault running QGis 2.8 python API

2015-02-25 Thread Raphael Dubois
Hello, I am using QGis API with python2.7. My script worked perfectly with QGis 2.6, but since I upgraded it to 2.8 there are random errors occurring. I use it on a headless server, so I call my script with xvfb-run, like that: xvfb-run -a python myscript.py myconfig.xml The segmentation

Re: [Qgis-user] Qgis settings corrupted after crash.

2015-02-25 Thread Heather Hillers
I have a 3rd incident Report, and this time we were able to look more carefully. The user crashed qgis again. He restarted qgis. He was a different user. He did not touch anything. We looked at his U:, and it was indeed pointed to his Directory. His qgis/qgis2.ini had been overwritten by that

[Qgis-user] Splitting WFS-T line gives wrong results

2015-02-25 Thread emmexx
I tried qgis 2.6 on slackware 14.1 and windows 7 against geoserver 2.6.2 on an AWS Elastic Beanstalk instance. I load the Tasmania Roads layer, enable editing, select a feature, select the Split features tool, split it. When I commit I get the following error: Could not commit changes to

Re: [Qgis-user] Raster calculator: different,extents and nodata

2015-02-25 Thread Robert
Hi Michi and everyone, Coincidentally, I also spent the better part of a whole day trying to figure out how to do the exact same thing yesterday with two float32 geotiff rasters. I tried many of the suggestions in the links Nicolas provided to no success (and many more leads - see below). I

Re: [Qgis-user] How can I attach a label to precede an attribute value?

2015-02-25 Thread Goyo
In the expression editor: 'System A: '||System A||' System B: '||System B http://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#labeling-with-expressions Regards Goyo 2015-02-24 21:27 GMT+01:00 Joey Wang joey.wan...@yahoo.com: Hello, I am currently

Re: [Qgis-user] Segmentation fault running QGis 2.8 python API

2015-02-25 Thread Luigi Pirelli
Hi raphael, I never used qgis or a standalone qgis application using a virtual frame buffer I can suggest to: 1) try running qgis desktop in the same frame buffer to exclude some local script error 2) try to run you app with gdb to have better detail on the error regards, Luigi Pirelli On 25

Re: [Qgis-user] Qgis settings corrupted after crash.

2015-02-25 Thread Heather Hillers
Hi Jürgen, Restarting Qgis involves the user clicking on QGIS Desktop 2.6 in the start menu, which runs qgis.bat. Standard OSGeo4W setup. My user from the second instance of the error said that when qgis crashed, it closed with a Windows App Crash. He was at the time using one of my plugins,

Re: [Qgis-user] Fwd: pyqgis dxf

2015-02-25 Thread Richard Duivenvoorde
On 25-02-15 08:05, Alexandre Busquets wrote: Hi, can somebody help me with load a dxf file as a vector layer? Is QgsDataSourceURI an option? I tried with this code, but I haven't been lucky. fitxer=/tmp/prova.dxf uri = QgsDataSourceURI() uri.setDatabase(fitxer)

Re: [Qgis-user] Fwd: pyqgis dxf

2015-02-25 Thread Alexandre Busquets
Hi Ricard, thanks for your help, but this is not a valid option for me. I need load the layer directly, without the Select vector layers to add dialog. 2015-02-25 10:55 GMT+01:00 Richard Duivenvoorde rdmaili...@duif.net: On 25-02-15 08:05, Alexandre Busquets wrote: Hi, can

Re: [Qgis-user] Open symbol properties by clicking on symbol in layer tree

2015-02-25 Thread Mofo Yoda
Ok - here it goes: http://hub.qgis.org/issues/12263 On 25 Feb 2015, at 12:02, Luigi Pirelli lui...@gmail.com wrote: Good point. May you file a feature request for qgis? I don't think it's hard to implement. Please take in account to finance it's development. Regards, Luigi Pirelli On

[Qgis-user] QGIS point geometry problem

2015-02-25 Thread Enrico Fiore
I, I tried to edit a Oracle Spatial (10g) point geometry table with QGIS 2.6.1. Finished the editing I can't see the point also if a new record is added. I noticed that the others geometries are loaded in Oracle in the format: sdo_geometry (2001, srid, null, sdo_elem_info_array (1,1,1),

Re: [Qgis-user] Qgis settings corrupted after crash.

2015-02-25 Thread Heather Hillers
We call our qgis like this in the .bat: start QGIS /B %OSGEO4W_ROOT%\bin\qgis-bin.exe --configpath U:/qgis %* -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Qgis-settings-corrupted-after-crash-tp5189649p5189867.html Sent from the Quantum GIS - User mailing list archive

Re: [Qgis-user] Qgis settings corrupted after crash.

2015-02-25 Thread Jürgen E . Fischer
Hi Heather, On Wed, 25. Feb 2015 at 00:39:21 -0800, Heather Hillers wrote: We call our qgis like this in the .bat: start QGIS /B %OSGEO4W_ROOT%\bin\qgis-bin.exe --configpath U:/qgis %* Ok, that also moves the configuration from the registry to ini files. Did you verify that U:/qgis was still

[Qgis-user] Problems with MMQGIS

2015-02-25 Thread labiancamaril...@libero.it
Dear all, I have a problem with the plugin MMQGIS. I need to load data whoseI know address, city and state. I saved in CSV (UTF-8) and by Geocode MMQGIS I tried to load it but the result is the following message: [Errno 13] Permission denied: u'C:\\PROGRA~2\\QGISCH~1\\bin/notfound.csv' Can

[Qgis-user] Streamlining of plugins?

2015-02-25 Thread magerlin
Hi I am unfortunately not cabable of making plugins, but I appreciate a lot the existing ones made by others. Seen from a user point of wiev I think a more standardised approach would be nice for the two following points: * Is the plugin able to handle attributes from joined files? Right now is

[Qgis-user] Open symbol properties by clicking on symbol in layer tree

2015-02-25 Thread Mofo Yoda
Hi! With QGIS 2.8 nested rules look great in layer tree. I wonder if it is possible to bring up symbol definition window of the clicked symbol instead of opening Style tab in Layer Properties window? When I want to fine-tune the current symbol, I have to open Layer Properties - Style and

[Qgis-user] what is the best way to keep qgis up to date?

2015-02-25 Thread Michael . Dodd
Qgis is updated frequently but what is the best way to keep it up to date on your local machine? I have gone through perhaps 10 different versions either using the standalone or OSgeo. OSgeo used to work fine but then had more problems with all the different settings and went through a period

Re: [Qgis-user] what is the best way to keep qgis up to date?

2015-02-25 Thread Bo Victor Thomsen
Have you tried this: http://nathanw.net/2013/05/03/installing-qgis-using-apt-on-windows-osgeo4w/ ? Another method - if you have a fleet of QGIS pc's to maintain: http://www.qgis.nl/2014/04/22/qgis-in-de-klas-onder-windows/?lang=en . The methods can be combined Regards Bo Victor Thomsen