Re: [Qgis-developer] Compile QGIS master on Ubuntu 14.04 / missing packages

2016-11-07 Thread Stefan Ziegler
Thanks for the info. Stefan On Mon, Nov 7, 2016 at 12:07 PM, Jürgen E. Fischer wrote: > Hi Stefan, > > On Mon, 07. Nov 2016 at 11:53:44 +0100, Stefan Ziegler wrote: > > I'm trying to compile QGIS master on Ubuntu 14.04. According to the > INSTALL > > [1] fi

[Qgis-developer] Compile QGIS master on Ubuntu 14.04 / missing packages

2016-11-07 Thread Stefan Ziegler
Hi I'm trying to compile QGIS master on Ubuntu 14.04. According to the INSTALL [1] file I try to install the build depencies but I can't find some of them: E: Unable to locate package libqca-qt5-2-dev E: Unable to locate package libqca-qt5-2-plugins E: Unable to locate package libqwt-qt5-dev E: U

Re: [Qgis-developer] QGIS 2.14.8 startup error

2016-11-07 Thread Stefan Ziegler
t; > "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", > > line 318, in __init__ > > icon = alg.getIcon() > > File > > "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/algs/qgis/Eliminate.py", > > l

[Qgis-developer] QGIS master Python error on startup

2016-09-25 Thread Stefan Ziegler
Hi I was just able to compile latest QGIS master with all the Qt5 and Python 3 dependencies on Ubuntu 16.04. When starting QGIS I get some Python errors in a window: * Couldn't load PyQGIS. Python support will be disabled. can't import traceback Python version: QG

[Qgis-developer] QGIS compile error

2016-07-18 Thread Stefan Ziegler
Hi I get some compile errors on master (Ubuntu 16.04 and 14.04): [ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/composer/qgscomposition.cpp.o [ 0%] Building CXX object src/core/CMakeFiles/qgis_core.dir/pal/pal.cpp.o /home/stefan/sources/qgis_master/src/core/pal/pal.cpp:125:3: error

Re: [Qgis-developer] Compile error with latest gdal

2016-05-11 Thread Stefan Ziegler
erner > > On Wed, May 11, 2016 at 1:40 PM, Stefan Ziegler > wrote: > > Hi > > > > I get some errors when compiling QGIS master against GDAL master on > Ubuntu > > 16.04: > > > > [ 64%] Built target postgresprovider > > [ 64%] Linking CXX ex

[Qgis-developer] Compile error with latest gdal

2016-05-11 Thread Stefan Ziegler
Hi I get some errors when compiling QGIS master against GDAL master on Ubuntu 16.04: [ 64%] Built target postgresprovider [ 64%] Linking CXX executable ../../output/bin/crssync /usr/local/gdal_master/lib/libgdal.so: undefined reference to `IVFKDataBlock::GetFeatureCount()' collect2: error: ld ret

[Qgis-developer] Strange attribute table behaviour

2016-05-05 Thread Stefan Ziegler
Hi I have some tables with a primary key but without the typical "nextval(... sequence...)" definition: CREATE TABLE nplso_2495.chcantoncode ( itfcode integer NOT NULL, ilicode character varying(1024) NOT NULL, seq integer, dispname character varying(250) NOT NULL, CONSTRAINT chcantonco

[Qgis-developer] Cannot add new feature in attribute table / form

2016-04-24 Thread Stefan Ziegler
Hi I cannot add any new feature with the "Add feature" button in attribute table or form view. The form for a new feature opens but the OK button is always greyed out. I can add new features when starting with digitizing the feature. Happens with Shapefiles and PostGIS layers. Ubuntu 16.04 and QG

Re: [Qgis-developer] Cannot add new GeoPackage connection to DB Manager

2016-04-24 Thread Stefan Ziegler
er choosing file). Using master >> build from yesterday. >> >> Larry Shaffer >> Dakota Cartography >> Black Hills, South Dakota >> >> On Fri, Apr 22, 2016 at 4:34 AM, Stefan Ziegler < >> stefan.ziegler...@gmail.com> wrote: >> >>> Hi &

[Qgis-developer] Cannot add new GeoPackage connection to DB Manager

2016-04-22 Thread Stefan Ziegler
Hi When trying to add a new GeoPackage connection: - right mouse click on Spatialite/Geopackage - New Connection - Choose Geopackage by double-clicking I get the following error: TypeError: TreeItem.itemChanged[] signal has 0 argument(s) but 1 provided Traceback (most recent call last): Fil

[Qgis-developer] segfault on startup

2016-04-20 Thread Stefan Ziegler
/qt_en_US] Segmentation fault (core dumped) I'm on Ubuntu 14.04 and own compiled qgis. best regards Stefan Ziegler ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubs

[Qgis-developer] Processing plugin error on qgis start

2016-01-15 Thread Stefan Ziegler
Hi I get the following error when launching QGIS (Ubuntu 14.04, qgis master): Couldn't load plugin processing due to an error when calling its initGui() method AttributeError: 'NoneType' object has no attribute 'endswith' Traceback (most recent call last): File "/usr/local/qgis_master/share/qg

Re: [Qgis-developer] Could not load processing plugin

2016-01-10 Thread Stefan Ziegler
> > * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli > > * GitHub: https://github.com/luipir > > * Mastering QGIS: > > https://www.packtpub.com/application-development/mastering-qgis > > > ***

[Qgis-developer] Could not load processing plugin

2016-01-10 Thread Stefan Ziegler
Hi I get some strange error when starting QGIS master (on Ubuntu 14.04): TypeError: unable to convert a QVariant of type 0 to a QMetaType of type 1 Traceback (most recent call last): File "/usr/local/qgis_master/share/qgis/python/qgis/utils.py", line 315, in startPlugin plugins[packageName]

Re: [Qgis-developer] Error on startup on master

2016-01-09 Thread Stefan Ziegler
;> >> ImportError: No module named tests.TestData >> >> Regards >> Stefan >> >> Freundliche Grüsse >> Stefan Ziegler >> Kantonsgeometer >> >> Amt für Geoinformation >> Rötistrasse 4 >> 4500 Solothurn >> >> Telefon +41 32 627

Re: [Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-31 Thread Stefan Ziegler
tefan On Thu, Dec 31, 2015 at 9:38 AM, Stefan Ziegler wrote: > I looked at the debug output. This time I did not add a virtual field but > only using the expression in the rule based renderer: > > src/core/qgsvectorlayerrenderer.cpp: 94: (QgsVectorLayerRenderer) [3ms] > renderin

Re: [Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-31 Thread Stefan Ziegler
my case). regards Stefan On Wed, Dec 30, 2015 at 9:34 PM, Stefan Ziegler wrote: > Two postgres layers with an index on the fields. > > Do I see some debug messages (when compiled with DEBUG)? > > On Wed, Dec 30, 2015 at 9:27 PM, Nyall Dawson > wrote: > >> On 31 Dece

Re: [Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-30 Thread Stefan Ziegler
Two postgres layers with an index on the fields. Do I see some debug messages (when compiled with DEBUG)? On Wed, Dec 30, 2015 at 9:27 PM, Nyall Dawson wrote: > On 31 December 2015 at 06:18, Stefan Ziegler > wrote: > > Hi Nyall > > > > I compared 2.12 with current ma

Re: [Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-30 Thread Stefan Ziegler
lds ? Caching mechanism already exists there. > > Le mer. 30 déc. 2015 8:18 PM, Stefan Ziegler > a écrit : > >> Hi Nyall >> >> I compared 2.12 with current master. But I don't see an improvement. >> Opening the attribute table takes around 10 seconds for layers with

Re: [Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-30 Thread Stefan Ziegler
based renderer on the virtual field. regards Stefan On Wed, Dec 30, 2015 at 7:22 PM, Nyall Dawson wrote: > > On 31 Dec 2015 2:01 AM, "Stefan Ziegler" > wrote: > > > > Hi > > > > I add a virtual field to a layer with e.g. following expression > > &

[Qgis-developer] Performance of QGIS expressions "attribute" and "get_feature"

2015-12-30 Thread Stefan Ziegler
Hi I add a virtual field to a layer with e.g. following expression attribute(get_feature('pnf_pnf','t_id',afrom),'year') This works really great. Then I'm using this new virtual field for filtering the features in the rule based renderer. How does affect this the rendering performance? It seems

Re: [Qgis-developer] CurvePolygons are not drawn

2015-12-27 Thread Stefan Ziegler
Can anybody please change the bug report #14028 ( http://hub.qgis.org/issues/14028) from feedback to open again. It works in QGIS 2.12 but not in master at the moment. thanks. Stefan On Tue, Dec 22, 2015 at 9:42 AM, Stefan Ziegler wrote: > Ah, just noticed that the ones without curves

Re: [Qgis-developer] CurvePolygons are not drawn

2015-12-22 Thread Stefan Ziegler
n 12/22/2015 09:29 AM, Stefan Ziegler wrote: > > Hi > > It seems that some CurvePolygons are not drawn in the map canvas. All > features are in the attribute table and you can even label them and the > label appears but some CurvePolygons are not visible. (Maybe the ones with

[Qgis-developer] CurvePolygons are not drawn

2015-12-22 Thread Stefan Ziegler
Hi It seems that some CurvePolygons are not drawn in the map canvas. All features are in the attribute table and you can even label them and the label appears but some CurvePolygons are not visible. (Maybe the ones with curves?) Can anybody confirm this? Regards Stefan __

[Qgis-developer] Compile error (geos)

2015-09-25 Thread Stefan Ziegler
Hi I cannot compile QGIS master: [ 0%] Built target version Linking CXX shared library ../../output/lib/libqgis_core.so CMakeFiles/qgis_core.dir/geosextra/geos_c_extra.cpp.o: In function `GEOSPrecisionModel_create': geos_c_extra.cpp:(.text+0x1b): undefined reference to `geos::geom::PrecisionMode

[Qgis-developer] Compile error on OS X with Homebrew

2015-07-10 Thread Stefan Ziegler
Hi I just wanted to compile/install latest master with Homebrew on Yosemite but I do get some error: -- Installing: /usr/local/Cellar/qgis-28/HEAD/QGIS.app/Contents/MacOS/../Resources/python/plugins/fTools/./fTools.py CMake Error at python/plugins/fTools/cmake_install.cmake:31 (file): file INST

Re: [Qgis-developer] Drag n drop on OS X

2015-06-06 Thread Stefan Ziegler
Thanks for looking into it! Stefan Sent from my iPhone > On 07 Jun 2015, at 00:07, Nyall Dawson wrote: > > > On 7 Jun 2015 7:13 am, "Stefan Ziegler" wrote: > > > > Hi > > > > I'm running into this issue: https://hub.qgis.org/is

[Qgis-developer] Drag n drop on OS X

2015-06-06 Thread Stefan Ziegler
Hi I'm running into this issue: https://hub.qgis.org/issues/11399 Could this be a solution? https://bugreports.qt.io/browse/QTBUG-40449 Since 2.10 is coming soon, it would be great to have a solution. I'm using QGIS master on Yosemite built with homebrew. best regards Stefan ___

Re: [Qgis-developer] Python QgsVectorLayer.commitChanges() problem

2011-07-28 Thread Stefan Ziegler
Hi Martin thanks for clearing this up and for the hints. regards Stefan Original-Nachricht > Datum: Thu, 28 Jul 2011 13:39:39 +0200 > Von: Martin Dobias > An: Stefan Ziegler > CC: qgis-developer@lists.osgeo.org > Betreff: Re: [Qgis-de

[Qgis-developer] Python QgsVectorLayer.commitChanges() problem

2011-07-28 Thread Stefan Ziegler
Hi I'm trying to add some features with python to an existing postgis layer: tsplayer.startEditing() tspprovider.addFeatures(features) committed = tsplayer.commitChanges() The strange thing is that "committed" is "True" even if the features were not added (because of violating a unique co