Re: [Qgis-developer] add rasterlayer to qgsmapcanvas

2014-06-10 Thread Felix Schmidt
I found the problem. In the hibo.py: self.gui = Ui_hibo () self.gui.setupUi() Without the second line everything works fine. I had called two times, first in the hibo.py and also in the init-function of Ui_hibo.py . Thanks for your help =) Felix Am 10.06.2014 08:10,

[Qgis-developer] Legend tree appears expanded, not closed in master

2014-06-10 Thread Andreas Neumann
Hi, I noticed that a project that had the layer tree in a closed state in QGIS 2.2 appears expanded in QGIS master. In this project I have several nested groups (up to 3 levels deep). The first two levels appear expanded in QGIS master. I would prefer if the groups would appear in a closed state

Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread Andreas Neumann
Hi, I was able to solve the problems. Seems like only environment variables set by SetEnv in /etc/apache2/mods-enabled/env.conf are respected. Variables set in /etc/apache2/envvars or with the FcgidInitialEnv parameter in /etc/apache2/mods-enabled/fcgid.conf seem to be ignored. Very strange. My

Re: [Qgis-developer] Is useasdefault column in public.layerstyles correctly handled when retrieving default style?

2014-06-10 Thread Gabriele Monfardini
Hi all, I've opened issue http://hub.qgis.org/issues/10523 proposing also a solution. May someone confirm this bug and have a look at the proposed solution? Best regards, Gabriele Monfardini On Thu, Jun 5, 2014 at 11:11 AM, Gabriele Monfardini wrote: > Hi all, > > in QGIS (trunk updated f

Re: [Qgis-developer] add rasterlayer to qgsmapcanvas

2014-06-10 Thread Felix Schmidt
I have tried it, but I work on 2.2 and I think I its only at 2.4. or higher. I thought, that the changes I've done in the slot maybe not returned to the main, for whatever reason, because I work on the same object. But I try to change the color of the QgsMapCanvas in one slot and print the col

Re: [Qgis-developer] spherical trigonometry

2014-06-10 Thread Geo DrinX
Hi Giuliano, I think this link can be useful : https://code.google.com/p/gpsbabel/source/browse/trunk/gpsbabel/jeeps/gpsmath.cc?r=4619 expecially in "GPS_Math_LatLonH_To_XYZ" and the reverse "GPS_Math_XYX_To_LatLonH"functions. ... also if is C++ source code :( Regards Roberto 2014

Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread custard
On 10/06/14 16:59, Andreas Neumann wrote: Hi, With the self-compiled libspatialite (4.1.1) I am now able to compile QGIS server. It does not work with the internal spatialite library provided by QGIS and it also fails with the version provided by Ubuntu 14.04 ;-( Now I am running into the next

Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread Jürgen E . Fischer
Hi Andreas, On Tue, 10. Jun 2014 at 10:59:32 +0200, Andreas Neumann wrote: > With the self-compiled libspatialite (4.1.1) I am now able to compile > QGIS server. It does not work with the internal spatialite library > provided by QGIS and it also fails with the version provided by Ubuntu > 1

Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread Andreas Neumann
Hi, With the self-compiled libspatialite (4.1.1) I am now able to compile QGIS server. It does not work with the internal spatialite library provided by QGIS and it also fails with the version provided by Ubuntu 14.04 ;-( Now I am running into the next issue that Apache does not find my Pos

Re: [Qgis-developer] Opinion on plugin named prepair (and possible likes)

2014-06-10 Thread Régis Haubourg
Vincent Picavet (ml) wrote > QGIS dependencies begins to be really huge, and this complicates a lot > compilation and deployment. Hi, furthermore, user experience starts to be impacted on windows by all those library links. First opening on windows is long. Adding other by libraries will lead

Re: [Qgis-developer] Opinion on plugin named prepair (and possible likes)

2014-06-10 Thread Vincent Picavet
Hello, Would it be possible in any case to have the boost + CGAL dependencies Optional ? These two libraries are really long to compile, and can therefore slow down the development workflow pretty hard. As for having an internal boost / cgal source tree, there is a strong risk of divergence bee

Re: [Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread Andrea Peri
I work on Debina. stable. I download the spatialite from home site and compile from source. is surely easy and no problem at all. I download and use the SL 4.2.0 RC1, but as reported in another thread of this ML. There a little bug that ask to resolve manually. Add a define to spatialite source

[Qgis-developer] Trouble compiling QGIS on Ubuntu Server

2014-06-10 Thread Andreas Neumann
Hi, I am trying to compile QGIS server on a new Ubuntu 14.04 server. I have trouble around spatialite and ‘gaiaVectorLayerPtr’. The errors I get are as follows: -- In file included from /root/dev/QGIS/src/providers/spatialite/qgsspatialiteprovider.cpp:31:0