Re: [Qgis-developer] Vector styled by joined attributes

2013-10-03 Thread Marco Hugentobler

Hi Radim


vector layer styles (categorized, graduated) based on attributes from
joined table are expected to work in master?


Yes, it's intended to work. Sounds like a bug then.

Regards,
Marco

On 02.10.2013 17:58, Radim Blazek wrote:

Hi,
vector layer styles (categorized, graduated) based on attributes from
joined table are expected to work in master?

For me it does not work (shp - shp). Classification is correct but
all rendered as NULL value.

Radim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Ziegler Stefan
Hi 

I get an compile error on Ubuntu 10.04:

[ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp, 
analysis/network/sipnetworkanalysispart1.cpp, 
analysis/network/sipnetworkanalysispart2.cpp, 
analysis/network/sipnetworkanalysispart3.cpp

[ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1: syntax 
error
sip: 
/home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1:
 syntax error
make[2]: *** [python/core/sipcorepart0.cpp] Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: *** [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] 
Error 2

Should the master still be compilable on 10.04?

Regards
Stefan 

Freundliche Grüsse 
Stefan Ziegler 
Leiter amtliche Vermessung 

Amt für Geoinformation
Amtliche Vermessung 
Rötistrasse 4 
4500 Solothurn 

Telefon +41 32 627 75 96
Telefax +41 32 627 75 98 
stefan.zieg...@bd.so.ch
http://www.so.ch 

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Vector styled by joined attributes

2013-10-03 Thread Andreas Neumann

Hi,

There are tons of problems with joined tables. Would be a useful goal 
to fix these issues within QGIS 2.1.


As an example one cannot edit layers anymore once they are joined (not 
even the geometry of the original table). In addition one cannot filter 
the layer anymore once they are joined. The query builder button is 
disabled/greyed out after a different table is joined to a master layer.


There are also crashes if a join is disconnected and the joined columns 
are still referenced (e.g. in labeling, symbology and diagrams).


For my own purposes, table joins are not very usable in its current 
state. I tend to join layers in Postgis on the database level.


Andreas

On Thu, 03 Oct 2013 10:04:50 +0200, Marco Hugentobler wrote:

Hi Radim


vector layer styles (categorized, graduated) based on attributes from
joined table are expected to work in master?


Yes, it's intended to work. Sounds like a bug then.

Regards,
Marco

On 02.10.2013 17:58, Radim Blazek wrote:

Hi,
vector layer styles (categorized, graduated) based on attributes 
from

joined table are expected to work in master?

For me it does not work (shp - shp). Classification is correct but
all rendered as NULL value.

Radim
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Vector styled by joined attributes

2013-10-03 Thread Radim Blazek
On Thu, Oct 3, 2013 at 10:04 AM, Marco Hugentobler
marco.hugentob...@sourcepole.ch wrote:
 Hi Radim

 vector layer styles (categorized, graduated) based on attributes from
 joined table are expected to work in master?

 Yes, it's intended to work. Sounds like a bug then.

I have created http://hub.qgis.org/issues/8757

This is the very basic functionality! Please test, hopefully I missed something.

Radim

 Regards,
 Marco


 On 02.10.2013 17:58, Radim Blazek wrote:

 Hi,
 vector layer styles (categorized, graduated) based on attributes from
 joined table are expected to work in master?

 For me it does not work (shp - shp). Classification is correct but
 all rendered as NULL value.

 Radim
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



 --
 Dr. Marco Hugentobler
 Sourcepole -  Linux  Open Source Solutions
 Weberstrasse 5, CH-8004 Zürich, Switzerland
 marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
 Technical Advisor QGIS Project Steering Committee

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-03 Thread Matthias Kuhn
Hi René-Luc, hi all,

I don't know about these specific problems, but I can well imagine, that
there are some flaws hidden in all the new features introduced, since
2.0 marks a huge step forward in terms of functionality.

Recently there has been a discussion around the topic of managing a
stable release with different opinions and plans from different parties.

As already said, I think that 2.0 marks a big step forward. All this
would not have been possible without a lot of time invested by various
people, some of it on a contract basis and some on a voluntary basis. I
have myself been spending countless unpaid hours on fixing bugs because
I wanted to make this release awesome (Just to be clear, it was fun, I
don't want to complain!)
I think the developers have (once more) shown, that they are able to
produce a professional product.

However, at the current stage, I think it would be very good, to have a
sponsored bug-squashing effort, just like we had to have Jürgen work on
getting rid of blockers before the release. I think we should promote
targeted donations to get rid of the most annoying issues. I'm sure
there are companies out there which save a lot on licenses. It would be
a good time to reinvest part of this money into the project.

Kind regards,
Matthias


On Mit 02 Okt 2013 19:01:06 CEST, rldhont wrote:

 Hi all,

 Some french users downloading the windows standalone 64bits version
 and they encounter bugs considered as blockers :
 * IGNF:LAMBE -- not reprojecting https://hub.qgis.org/issues/7941
 * Interpolation crash
 * not conserving EPSG:900913 and not transform to EPSG:3857 for old
 project
 * no GRASS plugin
 * 'The selected color palette is not available' on windows7

 I don't know if its just for 64bits version, but some users thought
 that *QGIS 2.0.1 is not stable enough* to be used in production. They
 are waiting for a bugfix release.

 Regards,

 René-Luc D'Hont
 3Liz


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-03 Thread Régis Haubourg
Hi Matthias. agreed. 
How to fund, this is the question. I have budget (at least at the moment). 
I haven't been able to spend it completly in 2.0 release sprint because all
goes too fast for classical contract, where I'm constrained to pay for a
specific work (debug or feature). 
Please be warned to public finances are not good in europe, and every
unconsumed budget can be erased. 
Sponsoring should be a way to finance infrastructure consolidation, but in
current rules, sponsoring can't be oriented. 

I need help from the community to have a serious real use case unit test
suite. I'm ready to fund a part if PSC gives an infrastructure and a
manager. If no work canvas is given, I'm sure I won't have any successfull
commercial proposal to such a funding. 

I also kindly ask other funders to systematically include unit test
developpement for every new feature. 

Again today, I found 3 regressions, hard to find. I thought once 2.0 was
out, I could spend less time testing, and more time working. It's still not
the case. 

Again, you gave a lot unpaid work, when I was struggling to find a way to
spend some.. 
Hope we'll find a way. 
Régis




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-2-64bits-is-it-stable-tp5081507p5081586.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-03 Thread Jonathan Moules
Assuming it's not already done, I'd suggest that requiring Unit Tests for
all new features should be mandatory for a Pull Request/patch to be
accepted into QGIS. In the long term that would hopefully help alleviate
the significant number of regressions that we're seeing in 2.0.

Jonathan

On 3 October 2013 11:51, Régis Haubourg regis.haubo...@eau-adour-garonne.fr
 wrote:

 Hi Matthias. agreed.
 How to fund, this is the question. I have budget (at least at the moment).
 I haven't been able to spend it completly in 2.0 release sprint because all
 goes too fast for classical contract, where I'm constrained to pay for a
 specific work (debug or feature).
 Please be warned to public finances are not good in europe, and every
 unconsumed budget can be erased.
 Sponsoring should be a way to finance infrastructure consolidation, but in
 current rules, sponsoring can't be oriented.

 I need help from the community to have a serious real use case unit test
 suite. I'm ready to fund a part if PSC gives an infrastructure and a
 manager. If no work canvas is given, I'm sure I won't have any successfull
 commercial proposal to such a funding.

 I also kindly ask other funders to systematically include unit test
 developpement for every new feature.

 Again today, I found 3 regressions, hard to find. I thought once 2.0 was
 out, I could spend less time testing, and more time working. It's still not
 the case.

 Again, you gave a lot unpaid work, when I was struggling to find a way to
 spend some..
 Hope we'll find a way.
 Régis




 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/QGIS-2-64bits-is-it-stable-tp5081507p5081586.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-03 Thread Sandro Santilli
On Thu, Oct 03, 2013 at 12:00:05PM +0100, Jonathan Moules wrote:
 Assuming it's not already done, I'd suggest that requiring Unit Tests for
 all new features should be mandatory for a Pull Request/patch to be
 accepted into QGIS. In the long term that would hopefully help alleviate
 the significant number of regressions that we're seeing in 2.0.

+1

Of course providing tests will only be effective when there's also a rule
of not accepting changes beaking any of the tests, and that's only effective
when there's a continuous monitoring of testsuite runs. All of that is likely
yet to be defined by the new Testing and QA Manager.

Speaking of which, the psc page describes the roles but there's no link
to the currently appointed person for each role:
http://www.qgis.org/en/site/getinvolved/governance/organisation/psc.html
(nor links to contextualize the path that brings there from the homepage)

--strk;

 
 Jonathan
 
 On 3 October 2013 11:51, Régis Haubourg regis.haubo...@eau-adour-garonne.fr
  wrote:
 
  Hi Matthias. agreed.
  How to fund, this is the question. I have budget (at least at the moment).
  I haven't been able to spend it completly in 2.0 release sprint because all
  goes too fast for classical contract, where I'm constrained to pay for a
  specific work (debug or feature).
  Please be warned to public finances are not good in europe, and every
  unconsumed budget can be erased.
  Sponsoring should be a way to finance infrastructure consolidation, but in
  current rules, sponsoring can't be oriented.
 
  I need help from the community to have a serious real use case unit test
  suite. I'm ready to fund a part if PSC gives an infrastructure and a
  manager. If no work canvas is given, I'm sure I won't have any successfull
  commercial proposal to such a funding.
 
  I also kindly ask other funders to systematically include unit test
  developpement for every new feature.
 
  Again today, I found 3 regressions, hard to find. I thought once 2.0 was
  out, I could spend less time testing, and more time working. It's still not
  the case.
 
  Again, you gave a lot unpaid work, when I was struggling to find a way to
  spend some..
  Hope we'll find a way.
  Régis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Adding a WMS layer in QGIS 2.0 (python)

2013-10-03 Thread Luca Manganelli
On Wed, Oct 2, 2013 at 6:10 PM, Enzo Ciarmoli enzo.ciarm...@csi.it wrote:

 **
 QgsRasterLayer constructor has changed, now it accept four arguments, the
 first is the uri string.

 To construct the uri string you must know what layers you want.

 You could try this:

 desired_layer = 'abcdefg'
 uri = 'crs=EPSG:25832featureCount=10format=image/pnglayers=' +
 desired_layer + 'styles=url=http://testsrv/mapaccel?map=ciao.map'
 rlayer = self.iface.addRasterLayer(uri, 'test', 'wms')



 Hope this helps!



 Enzo




This works! Thank you in advance :-)
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Oracle connection dialog broken in 64 bit 2.0.1-2 ?

2013-10-03 Thread Jonathan Moules
Hi Régis,
  Windows x64 2.0.1-2 install here - the Oracle dialog works fine. I didn't
use the OSGEO installer but instead used the standalone one. Worth trying
that?
Cheers,
Jonathan


On 2 October 2013 08:47, Régis Haubourg regis.haubo...@eau-adour-garonne.fr
 wrote:

 Hi,
 Oracle connection dialog does not show in 64 bits version (revision
 d94c044,
 gdal 1.10), installed with OSGEO4W here.
 I get a error message Impossible to obtain Oracle selection dialog from
 provider.
 32 bits versions does well (revision 341139bc, gdal 1.9.2).

 Something wrong only on my system? If someone can reproduce, I will open a
 ticket.
 Régis



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Oracle-connection-dialog-broken-in-64-bit-2-0-1-2-tp5081363.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-user] QGIS 2.0 in Portable App

2013-10-03 Thread Jonathan Moules
This is probably better placed on the developer list (cc'd).
However I believe I read a message on there suggesting it was being ported
over.

Jonathan



On 3 October 2013 04:01, maning sambale emmanuel.samb...@gmail.com wrote:

 Has anyone tried using QGIS 2.0 in USB Portable App [0]?
 There are instructions and build with QGIS 1.8 here [1].

 [0] http://portableapps.com/
 [1]
 http://cyclatron.users.sourceforge.net/menuitem-howto-soft-alterations/7-article-howto-softalteration-qgisportable-1-8
 --
 cheers,
 maning
 --
 Freedom is still the most radical idea of all -N.Branden
 wiki: http://esambale.wikispaces.com/
 blog: http://epsg4253.wordpress.com/
 --
 ___
 Qgis-user mailing list
 qgis-u...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Ziegler Stefan
Hi

Now I get some errors in the gui part:

[ 55%] Generating gui/sipguipart0.cpp, gui/sipguipart1.cpp, 
gui/sipguipart2.cpp, gui/sipguipart3.cpp

sip: /home/stefan/Develop/src/qgis_master/python/gui/gui.sip:1: syntax error
make[2]: *** [python/gui/sipguipart0.cpp] Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 56%] Built target gpsimporterplugin
[ 56%] Built target topolplugin
[ 56%] Built target heatmapplugin
[ 57%] Built target spitplugin
[ 60%] Built target georefplugin

Regards
Stefan 

 -Ursprüngliche Nachricht-
 Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
 boun...@lists.osgeo.org] Im Auftrag von Ziegler Stefan
 Gesendet: Donnerstag, 3. Oktober 2013 10:14
 An: qgis-developer@lists.osgeo.org
 Betreff: [Qgis-developer] qgis master compile error on ubuntu 10.04
 
 Hi
 
 I get an compile error on Ubuntu 10.04:
 
 [ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp,
 analysis/network/sipnetworkanalysispart1.cpp,
 analysis/network/sipnetworkanalysispart2.cpp,
 analysis/network/sipnetworkanalysispart3.cpp
 
 [ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1: 
 syntax
 error
 sip:
 /home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1
 : syntax error
 make[2]: *** [python/core/sipcorepart0.cpp] Error 1
 make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
 make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error 1
 make[1]: *** Waiting for unfinished jobs
 make[1]: *** [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] 
 Error 2
 
 Should the master still be compilable on 10.04?
 
 Regards
 Stefan
 
 Freundliche Grüsse
 Stefan Ziegler
 Leiter amtliche Vermessung
 
 Amt für Geoinformation
 Amtliche Vermessung
 Rötistrasse 4
 4500 Solothurn
 
 Telefon +41 32 627 75 96
 Telefax +41 32 627 75 98
 stefan.zieg...@bd.so.ch
 http://www.so.ch
 
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Ziegler Stefan
Yes. Some sip version problem?

I can run make four times with errors and the fifth time it compiles without 
errors. But then I get an error on qgis startup that pyqgis will be disabled.

Regards
Stefan

Von: Marco Bernasocchi [mailto:ma...@bernawebdesign.ch]
Gesendet: Donnerstag, 3. Oktober 2013 16:54
An: Ziegler Stefan
Cc: qgis-developer
Betreff: Re: [Qgis-developer] qgis master compile error on ubuntu 10.04


thats all you get as error? ciao

Marco Bernasocchi (mobile)
http://opengis.ch
On 3 Oct 2013 15:48, Ziegler Stefan 
stefan.zieg...@bd.so.chmailto:stefan.zieg...@bd.so.ch wrote:
Hi

Now I get some errors in the gui part:

[ 55%] Generating gui/sipguipart0.cpp, gui/sipguipart1.cpp, 
gui/sipguipart2.cpp, gui/sipguipart3.cpp

sip: /home/stefan/Develop/src/qgis_master/python/gui/gui.sip:1: syntax error
make[2]: *** [python/gui/sipguipart0.cpp] Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
[ 56%] Built target gpsimporterplugin
[ 56%] Built target topolplugin
[ 56%] Built target heatmapplugin
[ 57%] Built target spitplugin
[ 60%] Built target georefplugin

Regards
Stefan

 -Ursprüngliche Nachricht-
 Von: 
 qgis-developer-boun...@lists.osgeo.orgmailto:qgis-developer-boun...@lists.osgeo.org
  [mailto:qgis-developer-mailto:qgis-developer-
 boun...@lists.osgeo.orgmailto:boun...@lists.osgeo.org] Im Auftrag von 
 Ziegler Stefan
 Gesendet: Donnerstag, 3. Oktober 2013 10:14
 An: qgis-developer@lists.osgeo.orgmailto:qgis-developer@lists.osgeo.org
 Betreff: [Qgis-developer] qgis master compile error on ubuntu 10.04

 Hi

 I get an compile error on Ubuntu 10.04:

 [ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp,
 analysis/network/sipnetworkanalysispart1.cpp,
 analysis/network/sipnetworkanalysispart2.cpp,
 analysis/network/sipnetworkanalysispart3.cpp

 [ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1: 
 syntax
 error
 sip:
 /home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1
 : syntax error
 make[2]: *** [python/core/sipcorepart0.cpp] Error 1
 make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
 make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error 1
 make[1]: *** Waiting for unfinished jobs
 make[1]: *** [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] 
 Error 2

 Should the master still be compilable on 10.04?

 Regards
 Stefan

 Freundliche Grüsse
 Stefan Ziegler
 Leiter amtliche Vermessung

 Amt für Geoinformation
 Amtliche Vermessung
 Rötistrasse 4
 4500 Solothurn

 Telefon +41 32 627 75 96
 Telefax +41 32 627 75 98
 stefan.zieg...@bd.so.chmailto:stefan.zieg...@bd.so.ch
 http://www.so.ch

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.orgmailto:Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.orgmailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Marco Bernasocchi
thats all you get as error? ciao

Marco Bernasocchi (mobile)
http://opengis.ch
On 3 Oct 2013 15:48, Ziegler Stefan stefan.zieg...@bd.so.ch wrote:

 Hi

 Now I get some errors in the gui part:

 [ 55%] Generating gui/sipguipart0.cpp, gui/sipguipart1.cpp,
 gui/sipguipart2.cpp, gui/sipguipart3.cpp

 sip: /home/stefan/Develop/src/qgis_master/python/gui/gui.sip:1: syntax
 error
 make[2]: *** [python/gui/sipguipart0.cpp] Error 1
 make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs
 [ 56%] Built target gpsimporterplugin
 [ 56%] Built target topolplugin
 [ 56%] Built target heatmapplugin
 [ 57%] Built target spitplugin
 [ 60%] Built target georefplugin

 Regards
 Stefan

  -Ursprüngliche Nachricht-
  Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
  boun...@lists.osgeo.org] Im Auftrag von Ziegler Stefan
  Gesendet: Donnerstag, 3. Oktober 2013 10:14
  An: qgis-developer@lists.osgeo.org
  Betreff: [Qgis-developer] qgis master compile error on ubuntu 10.04
 
  Hi
 
  I get an compile error on Ubuntu 10.04:
 
  [ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp,
  analysis/network/sipnetworkanalysispart1.cpp,
  analysis/network/sipnetworkanalysispart2.cpp,
  analysis/network/sipnetworkanalysispart3.cpp
 
  [ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1:
 syntax
  error
  sip:
 
 /home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1
  : syntax error
  make[2]: *** [python/core/sipcorepart0.cpp] Error 1
  make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
  make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error
 1
  make[1]: *** Waiting for unfinished jobs
  make[1]: ***
 [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] Error 2
 
  Should the master still be compilable on 10.04?
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Leiter amtliche Vermessung
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Marco Bernasocchi
yes, that is because each run you pass a sip error and the generated file
is still partly done. eventually you generate enough times and the
compilation goes through. or something like that.

Marco Bernasocchi (mobile)
http://opengis.ch
On 3 Oct 2013 16:58, Ziegler Stefan stefan.zieg...@bd.so.ch wrote:

  Yes. Some sip version problem?

 ** **

 I can run make four times with errors and the fifth time it compiles
 without errors. But then I get an error on qgis startup that pyqgis will be
 disabled.

 ** **

 Regards

 Stefan 

 ** **

 *Von:* Marco Bernasocchi [mailto:ma...@bernawebdesign.ch]
 *Gesendet:* Donnerstag, 3. Oktober 2013 16:54
 *An:* Ziegler Stefan
 *Cc:* qgis-developer
 *Betreff:* Re: [Qgis-developer] qgis master compile error on ubuntu 10.04*
 ***

 ** **

 thats all you get as error? ciao

 Marco Bernasocchi (mobile)
 http://opengis.ch

 On 3 Oct 2013 15:48, Ziegler Stefan stefan.zieg...@bd.so.ch wrote:

 Hi

 Now I get some errors in the gui part:

 [ 55%] Generating gui/sipguipart0.cpp, gui/sipguipart1.cpp,
 gui/sipguipart2.cpp, gui/sipguipart3.cpp

 sip: /home/stefan/Develop/src/qgis_master/python/gui/gui.sip:1: syntax
 error
 make[2]: *** [python/gui/sipguipart0.cpp] Error 1
 make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs
 [ 56%] Built target gpsimporterplugin
 [ 56%] Built target topolplugin
 [ 56%] Built target heatmapplugin
 [ 57%] Built target spitplugin
 [ 60%] Built target georefplugin

 Regards
 Stefan

  -Ursprüngliche Nachricht-
  Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
  boun...@lists.osgeo.org] Im Auftrag von Ziegler Stefan
  Gesendet: Donnerstag, 3. Oktober 2013 10:14
  An: qgis-developer@lists.osgeo.org
  Betreff: [Qgis-developer] qgis master compile error on ubuntu 10.04
 
  Hi
 
  I get an compile error on Ubuntu 10.04:
 
  [ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp,
  analysis/network/sipnetworkanalysispart1.cpp,
  analysis/network/sipnetworkanalysispart2.cpp,
  analysis/network/sipnetworkanalysispart3.cpp
 
  [ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1:
 syntax
  error
  sip:
 
 /home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1
  : syntax error
  make[2]: *** [python/core/sipcorepart0.cpp] Error 1
  make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
  make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error
 1
  make[1]: *** Waiting for unfinished jobs
  make[1]: ***
 [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] Error 2
 
  Should the master still be compilable on 10.04?
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Leiter amtliche Vermessung
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] qgis master compile error on ubuntu 10.04

2013-10-03 Thread Marco Bernasocchi
which is the error after a make clean?

Marco Bernasocchi (mobile)
http://opengis.ch
On 3 Oct 2013 16:58, Ziegler Stefan stefan.zieg...@bd.so.ch wrote:

  Yes. Some sip version problem?

 ** **

 I can run make four times with errors and the fifth time it compiles
 without errors. But then I get an error on qgis startup that pyqgis will be
 disabled.

 ** **

 Regards

 Stefan 

 ** **

 *Von:* Marco Bernasocchi [mailto:ma...@bernawebdesign.ch]
 *Gesendet:* Donnerstag, 3. Oktober 2013 16:54
 *An:* Ziegler Stefan
 *Cc:* qgis-developer
 *Betreff:* Re: [Qgis-developer] qgis master compile error on ubuntu 10.04*
 ***

 ** **

 thats all you get as error? ciao

 Marco Bernasocchi (mobile)
 http://opengis.ch

 On 3 Oct 2013 15:48, Ziegler Stefan stefan.zieg...@bd.so.ch wrote:

 Hi

 Now I get some errors in the gui part:

 [ 55%] Generating gui/sipguipart0.cpp, gui/sipguipart1.cpp,
 gui/sipguipart2.cpp, gui/sipguipart3.cpp

 sip: /home/stefan/Develop/src/qgis_master/python/gui/gui.sip:1: syntax
 error
 make[2]: *** [python/gui/sipguipart0.cpp] Error 1
 make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2
 make[1]: *** Waiting for unfinished jobs
 [ 56%] Built target gpsimporterplugin
 [ 56%] Built target topolplugin
 [ 56%] Built target heatmapplugin
 [ 57%] Built target spitplugin
 [ 60%] Built target georefplugin

 Regards
 Stefan

  -Ursprüngliche Nachricht-
  Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-
  boun...@lists.osgeo.org] Im Auftrag von Ziegler Stefan
  Gesendet: Donnerstag, 3. Oktober 2013 10:14
  An: qgis-developer@lists.osgeo.org
  Betreff: [Qgis-developer] qgis master compile error on ubuntu 10.04
 
  Hi
 
  I get an compile error on Ubuntu 10.04:
 
  [ 31%] Generating analysis/network/sipnetworkanalysispart0.cpp,
  analysis/network/sipnetworkanalysispart1.cpp,
  analysis/network/sipnetworkanalysispart2.cpp,
  analysis/network/sipnetworkanalysispart3.cpp
 
  [ 31%] sip: /home/stefan/Develop/src/qgis_master/python/core/core.sip:1:
 syntax
  error
  sip:
 
 /home/stefan/Develop/src/qgis_master/python/analysis/network/networkanalysis.sip:1
  : syntax error
  make[2]: *** [python/core/sipcorepart0.cpp] Error 1
  make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
  make[2]: *** [python/analysis/network/sipnetworkanalysispart0.cpp] Error
 1
  make[1]: *** Waiting for unfinished jobs
  make[1]: ***
 [python/CMakeFiles/python_module_qgis_networkanalysis.dir/all] Error 2
 
  Should the master still be compilable on 10.04?
 
  Regards
  Stefan
 
  Freundliche Grüsse
  Stefan Ziegler
  Leiter amtliche Vermessung
 
  Amt für Geoinformation
  Amtliche Vermessung
  Rötistrasse 4
  4500 Solothurn
 
  Telefon +41 32 627 75 96
  Telefax +41 32 627 75 98
  stefan.zieg...@bd.so.ch
  http://www.so.ch
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] PyQGIS : QgsMapRender does not project layers

2013-10-03 Thread rldhont

Hi all,

I encounter some difficulties with QGIS 2.

I have some code which rendering well layers in a PNg image, but now it 
does not project layers :


# create renderer
render = QgsMapRenderer()

# set output size
render.setOutputSize(img.size(), img.logicalDpiX())

outputCrs = QgsCoordinateReferenceSystem(3857, 
QgsCoordinateReferenceSystem.EpsgCrsId)

render.setDestinationCrs(outputCrs)
render.setProjectionsEnabled( True )

# set map units to get labels from new label engine
render.setMapUnits(outputCrs.mapUnits())
render.setOutputUnits(QgsMapRenderer.Millimeters)
render.updateScale()
labeling = QgsPalLabeling()
render.setLabelingEngine(labeling)

p = QPainter()
p.begin(self.img)
p.setRenderHint(QPainter.Antialiasing)

render.setLayerSet(lst)

render.setExtent(rect)

# do the rendering
render.render(self.p)
# end
p.end()

What I missed ?

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-03 Thread Vincent Picavet
Hello,

Le jeudi 3 octobre 2013 13:13:10, Sandro Santilli a écrit :
 On Thu, Oct 03, 2013 at 12:00:05PM +0100, Jonathan Moules wrote:
  Assuming it's not already done, I'd suggest that requiring Unit Tests for
  all new features should be mandatory for a Pull Request/patch to be
  accepted into QGIS. In the long term that would hopefully help alleviate
  the significant number of regressions that we're seeing in 2.0.
 
 +1
 
 Of course providing tests will only be effective when there's also a rule
 of not accepting changes beaking any of the tests, and that's only
 effective when there's a continuous monitoring of testsuite runs. All of
 that is likely yet to be defined by the new Testing and QA Manager.

And another +1. It's time to focus on code quality to reduce bugs and 
maintainance costs, for which it is always difficult to find funding.
We need more unit test, more code quality dashboards and much stricter rules 
relative to what code has to be accepted into master.
A PostgreSQL-like code inclusion workflow, with commitfest and review, could be 
something interested, to be discussed.

On the funding side, for information, public administrations, at least in 
france, cannot pay for a time based contract. Estimating how much time a bug 
fix could take is a really hard task (except if you fixed the bug already). 
This 
is a problem both for company willing to fix bug for paid contracts and for 
public administrations wanting to finance bugs, and can explain the funding 
situation related to maintainance and bugfixing.

Vincent

 Speaking of which, the psc page describes the roles but there's no link
 to the currently appointed person for each role:
 http://www.qgis.org/en/site/getinvolved/governance/organisation/psc.html
 (nor links to contextualize the path that brings there from the homepage)
 
 --strk;
 
  Jonathan
  
  On 3 October 2013 11:51, Régis Haubourg
  regis.haubo...@eau-adour-garonne.fr
  
   wrote:
   
   Hi Matthias. agreed.
   How to fund, this is the question. I have budget (at least at the
   moment). I haven't been able to spend it completly in 2.0 release
   sprint because all goes too fast for classical contract, where I'm
   constrained to pay for a specific work (debug or feature).
   Please be warned to public finances are not good in europe, and every
   unconsumed budget can be erased.
   Sponsoring should be a way to finance infrastructure consolidation, but
   in current rules, sponsoring can't be oriented.
   
   I need help from the community to have a serious real use case unit
   test suite. I'm ready to fund a part if PSC gives an infrastructure
   and a manager. If no work canvas is given, I'm sure I won't have any
   successfull commercial proposal to such a funding.
   
   I also kindly ask other funders to systematically include unit test
   developpement for every new feature.
   
   Again today, I found 3 regressions, hard to find. I thought once 2.0
   was out, I could spend less time testing, and more time working. It's
   still not the case.
   
   Again, you gave a lot unpaid work, when I was struggling to find a way
   to spend some..
   Hope we'll find a way.
   Régis
 
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer