Re: [Qgis-user] QGIS 2.18.9 crash using Python console

2017-06-06 Thread Nyall Dawson
On 7 June 2017 at 06:18, johnrobot wrote: > Hi > I had a look at the python examples at > http://www.qgistutorials.com/en/docs/getting_started_with_pyqgis.html. I > noticed that when I run > > layer = iface.activeLayer() > for f in layer.getFeatures(): > print

Re: [Qgis-user] Ubuntu 16.04 dependency problem (qgis-2.18.9 and python-sip)

2017-06-06 Thread Slawomir Bienias
Andre Joost wrote > Am 06.06.2017 um 11:06 schrieb SaekBinko: >> Hello, >> >> I updated my OS, and my system now has dependency problem. I think the >> problem is with python-sip package. python-sip was updated (to python-sip >> (4.19.2+dfsg-1+16.04+xenial+build3) and python3-sip >>

[Qgis-user] QGIS 2.18.9 crash using Python console

2017-06-06 Thread johnrobot
Hi I had a look at the python examples at http://www.qgistutorials.com/en/docs/getting_started_with_pyqgis.html. I noticed that when I run layer = iface.activeLayer() for f in layer.getFeatures(): print geom.asPoint() QGIS crashes and creates a dump file. Is this a known issue? Running layer

Re: [Qgis-user] Confirming Problem Importing Geopackage Data?

2017-06-06 Thread Even Rouault
On mardi 6 juin 2017 15:13:20 CEST Michael Treglia wrote: > Thanks Even. > > I renamed layers within Arc, just for anonymity of the data, and then tried > to open the data again in QGIS 2.18.9, and it worked, so not sure what was > going on. > > If I can get another demonstrable and replicable

Re: [Qgis-user] Confirming Problem Importing Geopackage Data?

2017-06-06 Thread Michael Treglia
Thanks Even. I renamed layers within Arc, just for anonymity of the data, and then tried to open the data again in QGIS 2.18.9, and it worked, so not sure what was going on. If I can get another demonstrable and replicable example, I'll file a ticket. Cheers, mike On Tue, Jun 6, 2017 at 2:53

Re: [Qgis-user] Confirming Problem Importing Geopackage Data?

2017-06-06 Thread Even Rouault
On mardi 6 juin 2017 14:41:19 CEST Michael Treglia wrote: > Hi All, > > I have a gpkg file into which I exported a bunch of layers from ArcGIS. > When drag the gpkg file into the QGIS desktop (2.18.8 & 2.18.9), most > layers show up as not having a geometry type, though the geometries appears >

[Qgis-user] Confirming Problem Importing Geopackage Data?

2017-06-06 Thread Michael Treglia
Hi All, I have a gpkg file into which I exported a bunch of layers from ArcGIS. When drag the gpkg file into the QGIS desktop (2.18.8 & 2.18.9), most layers show up as not having a geometry type, though the geometries appears fine in both Arc (10.3.1) and QGIS 2.14.3, on a different PC. Can

[QGIS-it-user] Analisi di intervisibilità viewshed

2017-06-06 Thread Davide Mangraviti
Per un'analisi di intervisibilità di un impianto eolico su un'area, sto diventando matto da giorni con la generazione del risultato. In questo caso il plugin Viewshed Analysis non andrebbe bene, ma occorre utilizzare il modulo processing GRASS r.viewshed. Non c'è modo che restituisca il risultato

Re: [Qgis-user] Insert Selected Fields From ESRI Shape-File To PostGIS Geometry Table

2017-06-06 Thread Richard Duivenvoorde
On 06-06-17 16:53, Osahon Oduware wrote: > Hi, > > I added an ESRI Shape file as a layer in QGIS (version 2.14) using the > "Add vector layer" tool. Now, I want to import selected fields > (including the geometry) from this shape-file layer into an existing > PostGIS Geometry table. > > I have

Re: [Qgis-user] Ubuntu 16.04 dependency problem (qgis-2.18.9 and python-sip)

2017-06-06 Thread Andre Joost
Am 06.06.2017 um 11:06 schrieb SaekBinko: Hello, I updated my OS, and my system now has dependency problem. I think the problem is with python-sip package. python-sip was updated (to python-sip (4.19.2+dfsg-1+16.04+xenial+build3) and python3-sip (4.19.2+dfsg-1+16.04+xenial+build3)), and QGIS

Re: [Qgis-user] Insert Selected Fields From ESRI Shape-File To PostGIS Geometry Table

2017-06-06 Thread Richard McDonnell
Hi, I haven't tried this, but..You could try inserting the PostGIS Table you wish to add the data too, then make it editable by toggling editing. Copy the data selected in the Shapefile and then paste it into the editable Database Table. You can then make the DB Table toggle editing again,

[Qgis-user] Ubuntu 16.04 dependency problem (qgis-2.18.9 and python-sip)

2017-06-06 Thread SaekBinko
Hello, I updated my OS, and my system now has dependency problem. I think the problem is with python-sip package. python-sip was updated (to python-sip (4.19.2+dfsg-1+16.04+xenial+build3) and python3-sip (4.19.2+dfsg-1+16.04+xenial+build3)), and QGIS (2.18.9) has been removed automatically...

Re: [Qgis-user] QGIS in snap flatpak or appimage

2017-06-06 Thread Matthias Kuhn
Hello Luis, Yes, that would be great. Besides the easy installation you mention, this would offer some great potential for ease of testing, deployment and automated tasks. You can have a look at some experiments I once started here, https://github.com/qgis/QGIS/pull/3784, feel free to take that