[Qgis-developer] lack of zip_decoder in PIL with Windows 64bits installer

2014-07-01 Thread Arnaud Morvan
I've meet problems to open PNG files with PIL from plugin on with windows 64 bits version of QGIS standalone installer I don't have zip_decoder in binary _image.pyd (same problem on 2.2 and 2.4) A workaround is to overwrite PIL in QGIS folder with files from PIL standalone installer I've

[Qgis-developer] error saving project with OpenLayer

2014-07-01 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to save a project with just 2 shapefiles (EPSG 432, but I noticed that the projection doesn't matter) and a OpenLayer file (OSMCycle, but same error for the other OpenLayer files). Trying to save the project it appears this error:

[Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Nathan Woodrow
Hey, I would like to propose that we remove the single select map tool. Main reason to remove is its function is redundant as the rectangle select does a single point select if you don't drag i.e single click. I live in rectangle select mode 99% of the time and never have any issues. As the

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Régis Haubourg
+1 ! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Do-we-need-a-single-select-map-tool-tp5148969p5148972.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list

[Qgis-developer] Installing Python Modules

2014-07-01 Thread Bjorn Nyberg
What are the recommended steps to install additional python modules that are not included in the standard qgis download package? I am trying to share some processing scripts to individuals who are not tech savy when it involves setting up various variables that might be required - instead they are

Re: [Qgis-developer] error saving project with OpenLayer

2014-07-01 Thread Pirmin Kalberer
Hi Matteo Am Dienstag, 1. Juli 2014, 10.35:39 schrieb matteo: I'm trying to save a project with just 2 shapefiles (EPSG 432, but I noticed that the projection doesn't matter) and a OpenLayer file (OSMCycle, but same error for the other OpenLayer files). Trying to save the project it appears

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Mathieu Pellerin
+1 On 1 Jul 2014 18:55, Nathan Woodrow madman...@gmail.com wrote: Hey, I would like to propose that we remove the single select map tool. Main reason to remove is its function is redundant as the rectangle select does a single point select if you don't drag i.e single click. I live in

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread G. Allegri
+1 2014-07-01 14:20 GMT+02:00 Mathieu Pellerin nirvn.a...@gmail.com: +1 On 1 Jul 2014 18:55, Nathan Woodrow madman...@gmail.com wrote: Hey, I would like to propose that we remove the single select map tool. Main reason to remove is its function is redundant as the rectangle select does

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Nyall Dawson
On 01/07/2014 9:55 pm, Nathan Woodrow madman...@gmail.com wrote: Hey, I would like to propose that we remove the single select map tool. Main reason to remove is its function is redundant as the rectangle select does a single point select if you don't drag i.e single click. I live in

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Mathieu Pellerin
So maybe we could change the default selection tool to rectangle? One of the first thing I personally always do when using a fresh qgis (with default settings) is to change selection tool to rectangle for the reason Nathan raised this thread. On 1 Jul 2014 19:38, Nyall Dawson

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Nathan Woodrow
My main goal at the moment is to reduce some of the clutter and duplicate, or shared behavior, tools that we have. So setting it as a default wouldn't really solve that issue. I would only remove it from the UI, it will still be in the code for the API. - Nathan On Tue, Jul 1, 2014 at 10:59

Re: [Qgis-developer] [QGIS-UX] Do we need a single select map tool?

2014-07-01 Thread Nathan Woodrow
On Tue, Jul 1, 2014 at 11:01 PM, Keith Jenkins k...@cornell.edu wrote: So I would suggest calling the combined function Select Features (with the idea that it is the basic way of selecting features, whereas the select by polygon, freehand, etc. are more advanced selection functions that need

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Andreas Neumann
Hi, Given that the rectangle tool also contains the select single features with a click tool I agree that we could get rid of the select single features with a click tool. So +1 from me. +1 also to calling it Select Features Tool in the tooltip. Andreas Am 01.07.2014 12:37, schrieb Nyall

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Jürgen E . Fischer
Hi Nathan, On Tue, 01. Jul 2014 at 23:03:31 +1000, Nathan Woodrow wrote: My main goal at the moment is to reduce some of the clutter and duplicate, or shared behavior, tools that we have. So setting it as a default wouldn't really solve that issue. I would only remove it from the UI, it

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Nathan Woodrow
On Tue, Jul 1, 2014 at 11:22 PM, Jürgen E. j...@norbit.de wrote: The point selection tool actually selects the nearest feature from a 10x10 pixel rectangle. The rectangle one does the same thing: if ( !mDragging ) { QgsMapToolSelectUtils::expandSelectRectangle( mSelectRect, vlayer,

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread Jürgen E . Fischer
Hi Nathan, On Tue, 01. Jul 2014 at 23:26:08 +1000, Nathan Woodrow wrote: QgsMapToolSelectUtils::expandSelectRectangle( mSelectRect, vlayer, e-pos() ); It does QgsMapToolSelectUtils::setSelectFeatures( mCanvas, selectGeom, e ); while the select *single* feature tool does:

Re: [Qgis-developer] [QGIS-UX] Do we need a single select map tool?

2014-07-01 Thread Nathan Woodrow
Ohh well I would say not important enough to have two tools. We could just move the logic into the Select Rectangle tool if you do a single click. - Nathan On Tue, Jul 1, 2014 at 11:35 PM, Jürgen E. j...@norbit.de wrote: Hi Nathan, On Tue, 01. Jul 2014 at 23:26:08 +1000, Nathan Woodrow

[Qgis-developer] python function to upgrade qgs datasources?

2014-07-01 Thread Régis Haubourg
Hi All, We are preparing a great postgres migration here, and to make it transparent, we have given virtual aliases to our server. User's QGS file refer today to hard coded IP or aliases (172.16.9.147 or vslin147). We have been migrating most qgs using bash script with grep and sed, but we

Re: [Qgis-developer] New Processing graphical modeler

2014-07-01 Thread kimaidou
Thanks Victor for this improvements. I will test it and report if I have some issues. Cheers, Michael 2014-06-29 17:05 GMT+02:00 Victor Olaya vola...@gmail.com: Hi all, I have been working on a new graphical modeler and Alex Bruy merged it today into master (thanks Alex!) It has some

Re: [Qgis-developer] python function to upgrade qgs datasources?

2014-07-01 Thread Andreas Neumann
Hi Régis, I can't help you with the Python script to process your files, but I have a suggestion: Use a PostgreSQL service instead of hard-coded IP addresses, names or aliases. In such a scenario you can easily change between a production and test server and more easily migrate to a new

[Qgis-developer] AccurAssess Plugin

2014-07-01 Thread Paolo Cavallini
Hi all. We have a few plugins pending approval. Of these, one: AccurAssess by Jaime Loya, Jean F Mas requires some intervention; I tried to contact the authors, at the address provided, but I get an error from the recipient mailsever. Does anybody know the authors, and could ask to fix the

[Qgis-developer] Lose fields type when opening a 2.2 project with 2.4 ?

2014-07-01 Thread kimaidou
Hi, It seems I have just encountered a bug in QGIS 2.4. When I open with QGIS 2.4 a project built with QGIS 2.2 containing vector layers with user-defined fields types (for example value relations or photo, etc.), I lose all this configurations. If I have no QML for the vector layers, I simply

Re: [Qgis-developer] Lose fields type when opening a 2.2 project with 2.4 ?

2014-07-01 Thread kimaidou
Hum, Forget my last email, it seems I cannot reproduce it... I will investigate more to see if the problem is the man in the chair or not :) Michael 2014-07-01 16:48 GMT+02:00 kimaidou kimai...@gmail.com: Hi, It seems I have just encountered a bug in QGIS 2.4. When I open with QGIS 2.4 a

Re: [Qgis-developer] python function to upgrade qgs datasources?

2014-07-01 Thread Régis Haubourg
Great, thanks Andrea, I knew that system coming from Oracle, but we didn't find much doc on it so we did not focused a lot. Next migration will upgrade to using services for sure.. By now, I still have to deal with preexisting documents. switch as been done now, iut works anyway ;) let's us

Re: [Qgis-developer] error saving project with OpenLayer

2014-07-01 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 thanks Pirmin, ticket filled: http://hub.qgis.org/issues/10766 -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQEcBAEBAgAGBQJTst1/AAoJEBy7UYf0gaEONqgH/ik11e0SnXkqOhU+802A8qth

[Qgis-developer] error creating QGIS package with creatensis

2014-07-01 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to create a package of the recent QGIS release but I'm facing a problem: Running NSIS File: failed opening file osgeo4w/unpacked-x86_64/bin\gdalplugins\ogr_SOSI.dll Error in script QGIS-Installer.nsi on line 321 -- aborting

Re: [Qgis-developer] error creating QGIS package with creatensis

2014-07-01 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 01/07/2014 18:31, matteo ha scritto: Running NSIS File: failed opening file osgeo4w/unpacked-x86_64/bin\gdalplugins\ogr_SOSI.dll I think this is related to recent work on Norwegian vector format. All the best. - -- Paolo Cavallini -

[Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
I'm doing some tests on fTools/Processing spatial operators, with a cover multilinestring layer and a base polygon layer. Running the following query on PostGIS I get similar timings with st_intersection and st_difference: select l.osm_id,ST_intersection(l.geom,e.geom) as geom from

Re: [Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
To be correct, the two postgis queries are: select min(l.osm_id),st_difference(l.geom,st_union(e.geom)) as geom from linee_selezione_s l join edifici_buffer_s e on ST_Intersects(l.geom, e.geom) group by l.geom select min(l.osm_id),st_intersection(l.geom,st_union(e.geom)) as geom from

Re: [Qgis-developer] error creating QGIS package with creatensis

2014-07-01 Thread Jürgen E . Fischer
Hi Matteo, On Tue, 01. Jul 2014 at 18:31:08 +0200, matteo wrote: Running NSIS File: failed opening file osgeo4w/unpacked-x86_64/bin\gdalplugins\ogr_SOSI.dll The package was broken. It had backslashes instead of forward slashes in the archive. Only a problem if you run nsis on Linux, though.

Re: [Qgis-developer] lack of zip_decoder in PIL with Windows 64bits installer

2014-07-01 Thread Etienne Tourigny
It would be useful if you can file a bug report for this problem. On Tue, Jul 1, 2014 at 5:23 AM, Arnaud Morvan arnaud.mor...@camptocamp.com wrote: I've meet problems to open PNG files with PIL from plugin on with windows 64 bits version of QGIS standalone installer I don't have zip_decoder

Re: [Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
Just two graphics two show a brutal benchmark (measuring time in every cycle step). Clip: http://cdn.img42.com/31e0205c1273a1d1c705e5109da48db1.png Difference: http://cdn.img42.com/eeba68e62ea7d4db50662c2745a6d912.png 2014-07-01 20:05 GMT+02:00 G. Allegri gioha...@gmail.com: To be correct,

[Qgis-developer] openSuse and 2.4

2014-07-01 Thread Kari Salovaara
Hi, thanks to everybody involved to this fine product ! For me not so wonderful yet, last evening was 2.4 for openSuse 12.3 also published. I thought ... Unfortunately for some reason it has been linked with old library, GDAL 1.10.1, which means that those options I need are not for use.

Re: [Qgis-developer] lack of zip_decoder in PIL with Windows 64bits installer

2014-07-01 Thread Etienne Tourigny
Hi, is the standalone installer based on osgeo4w? On Tue, Jul 1, 2014 at 5:46 PM, Jürgen E. j...@norbit.de wrote: Hi Etienne, On Tue, 01. Jul 2014 at 17:32:25 -0300, Etienne Tourigny wrote: It would be useful if you can file a bug report for this problem. if anywhere on OSGeo4W.

Re: [Qgis-developer] lack of zip_decoder in PIL with Windows 64bits installer

2014-07-01 Thread Jürgen E . Fischer
Hi Etienne, On Tue, 01. Jul 2014 at 21:38:03 -0300, Etienne Tourigny wrote: is the standalone installer based on osgeo4w? yes. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50