Re: [Qgis-developer] Python: Union selected polygons in a layer

2013-10-06 Thread Marco Bernasocchi
Hi Andi in inasafe i do something similar [0] Please be warned that it is in the messyest part of our code :) Ciao [0] https://github.com/AIFDR/inasafe/blob/master/safe_qgis/impact_statistics/aggregator.py#L1046 Hi, I am trying to union selected geometries in a layer into one geometry. A

[Qgis-developer] new server

2013-10-06 Thread Richard Duivenvoorde
Hi PSC/Devs, last week we ordered and received a new server at Hetzner. It's a rental server, paid per month via Paypal. Specs: Intel® Core™ i7-4770 Quadcore Haswellincl. Hyper-Threading Technology RAM 32 GB DDR3 RAM Hard Drive 2 x 2 TB SATA 6 Gb/s 7200 rpm HDD (Software-RAID 1) Class

Re: [Qgis-developer] new server

2013-10-06 Thread Andreas Neumann
Hi, Good. It is a welcome move. Our current servers are a bit too overloaded. Hetzner is a good company. I also have my servers at Hetzner. It is a good price/value ratio and reliable. It is also good to know that the data is stored in Germany, where they have better privacy protection and no

Re: [Qgis-developer] Error in WCS

2013-10-06 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 05/10/2013 12:20, Radim Blazek ha scritto: The request seem to get a timeout, but it does not wait more than a couple of seconds, whereas in my settings the timeout is 6. thanks Radim for explaining. - -- Paolo Cavallini - Faunalia

[Qgis-developer] New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread chrome2006-...@yahoo.com
Hi This is my first attemp with QGIS. I'm using 2.0 version. My first goal is a proof of concept with a wms map and a vector map. I started with the wms service. You'll find the code below, there are two things that don't go well. First, QgsApplication::applicationVersion() is , Did I do

[Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread bjorn.burr.nyb...@gmail.com
Hi, I have this error that keeps occuring and i've tried fixing it all afternoon but with no luck and its slowly driving me crazy. I tried to change the r scripts processing location to my r folder but after I changed those settings in the processing options I cant load the processing plugin!

Re: [Qgis-developer] New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread Daniel
I don't know if you should receive 2.0 as output of applicationVersion() method. It's because setApplicationVersion() and setApplicationName() are called from src/core/main.cpp (QGIS code). The class QgsApplication don't call setter methods, so I don't know what are the supposed behavior when I

Re: [Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread Victor Olaya
That is already fixed in master The problem is related to a \r character being added at the end of the path string when retrieving its value from the configuration file, which causes the mkdir method to fail. Hope this helps 2013/10/6 bjorn.burr.nyb...@gmail.com bjorn.burr.nyb...@gmail.com:

Re: [Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 06/10/2013 21:07, Victor Olaya ha scritto: That is already fixed in master Hi all. What are the plans for this?Are we going to backport and release a fixed version? This question concerns a few other fixed bugs, I believe. All the best. - --

Re: [Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread Victor Olaya
I have discussed with Tim the idea of releasing new versions of Processing periodically, tagged as experimental, to the plugin repo. Alex has prepared a script that packages and uploads the Processing code, and that can be used to automate that, but we haven't done anything yet regarding that.

Re: [Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread Pedro Venâncio
Hi, I also think the best option is to provide updates of Processing in the plugin repo. Processing is still evolving and much bugfixing has been done and is done regularly. In my opinion, these fixes must be backported more regularly than the QGIS releases. Best regards, Pedro -

Re: [Qgis-developer] new server

2013-10-06 Thread Alex Mandel
As I mentioned in IRC chats I think this server is appropriate for developer sandboxes, build machines, load balancing an other non critical services. That way it can scale or move as necessary. So in terms of the django, I disagree with that being the priority to move, it's actually running

Re: [Qgis-developer] Processing Python Error on Startup

2013-10-06 Thread Filipe Dias
I agree too. Processing is massive and to fully test it is going to take while. Also, considering the interest of the community and the number of new features that are added or requested in the bug tracker/GIS Stackexchange every day, I think scheduling frequent releases is the best way to keep

Re: [Qgis-developer] new server

2013-10-06 Thread Richard Duivenvoorde
On 06-10-13 21:38, Alex Mandel wrote: So in terms of the django, I disagree with that being the priority to move, it's actually running quite well now with added ram and builds relocated. The biggest competition for resources is actually Ruby/Passenger which last I looked was unoptimized the

Re: [Qgis-developer] new server

2013-10-06 Thread Alex Mandel
On 10/06/2013 12:54 PM, Richard Duivenvoorde wrote: On 06-10-13 21:38, Alex Mandel wrote: So in terms of the django, I disagree with that being the priority to move, it's actually running quite well now with added ram and builds relocated. The biggest competition for resources is actually

[Qgis-developer] Tr : New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread chrome2006-...@yahoo.com
Hi Daniel Thanks for your help. I tried nasa server within my app without success, rlayer is still invalid. I also tried within the QGis app, the server returned this server no longer provide full WMS services!... I also notice that my app starts immediatly, I'm not sure wether it should

Re: [Qgis-developer] Tr : New QGis project, application : version is empty and wms layer invalid

2013-10-06 Thread Daniel
It works for me! QString uri = crs=EPSG:4326featureCount=10format=image/giflayers=osm_auto:allstyles=url= http://129.206.228.72/cached/osm;; QgsRasterLayer *rlayer = new QgsRasterLayer(uri, layer_name, wms, false); qDebug() layer is valid: rlayer-isValid(); connect( rlayer,