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

2014-07-02 Thread Matthias Kuhn
Hi Michael, Is it maybe the other way round: opening the project works, but not loading the widgets from QML? See: http://hub.qgis.org/issues/10752 Best, Matthias ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

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

2014-07-02 Thread Zoltan Szecsei
+1 for leaving both visible options, but defaulting to rectangle. If the underlying code is different, then even at the expense of the extra code required to compute that you have a null-sized rectangle (ie a point click), you might want to use the same code. But, especially for a newbie, it

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

2014-07-02 Thread Régis Haubourg
Hi, in my user experience, I feel like Nathan: one tool is more intuitive. I'm bothered each time I have to explicitly switch to rectangular selection tool.. Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Do-we-need-a-single-select-map-tool-tp5148969p5149145.html

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

2014-07-02 Thread Nyall Dawson
On 02/07/2014 4:57 pm, Zoltan Szecsei zolt...@geograph.co.za wrote: But, especially for a newbie, it will not be intuitive that by clicking without dragging, the rectangle select will do a point-click select. I'm not so sure about that - the single click to select one item, click and drag to

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

2014-07-02 Thread Matthias Kuhn
Hi, -1 : but change the default tool Reasons: Users might be used to the select single feature tool and miss it. While it's possible for somebody to get used to new interaction designs it's an effort and it's not where you want to spend your time worrying. Second - and more important - The

[Qgis-developer] Navigation toolbar

2014-07-02 Thread Andreas Neumann
Hi, In addition to the discussion around the selection tool I would like to discuss a reduction of buttons in the navigation toolbar. I think it eats way too much screen-space by default. I'd like to suggest the following: 1. get rid of the refresh button. I never use it. If you have to use

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Paolo Cavallini
Il 02/07/2014 09:40, Andreas Neumann ha scritto: What do people think? I'm in favour of heavily simplifying the GUI. IMHO, the main area where this can happen is consolidating all the loading (vector, raster, etc.) buttons in the Browser, adding what is missing there. All the best. -- Paolo

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

2014-07-02 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jürgen, I didn't understand if the problem is fixed now or if I have to do something. I have updated the repository right now but I'm facing the same error. Thanks Matteo -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Alex Mandel
On 07/02/2014 12:44 AM, Paolo Cavallini wrote: Il 02/07/2014 09:40, Andreas Neumann ha scritto: What do people think? I'm in favour of heavily simplifying the GUI. IMHO, the main area where this can happen is consolidating all the loading (vector, raster, etc.) buttons in the Browser,

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Paolo Cavallini
Il 02/07/2014 10:07, Alex Mandel ha scritto: I'm fine with simplification of the default toolbars, but the tools should exist to be re-added by the user for customization. Reason: when you have a specific workflow, making a custom toolbar with the 5 buttons you need is much faster than

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

2014-07-02 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 02/07/2014 09:55, matteo ha scritto: Hi Jürgen, I didn't understand if the problem is fixed now or if I have to do something. I have updated the repository right now but I'm facing the same error. you can run NSIS on Windows, in the meantime,

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

2014-07-02 Thread Blumentrath, Stefan
Hi, I just checked the repository, and it looks like Jürgen updated the package already yesterday. So the problem is probably located somewhere else than in the path settings if the problem still occures. It is furthermore probably worth adding the some info to the OSGeo4W-packaging

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

2014-07-02 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stefan, are you sure that Jürgen fixed the problem yesterday? He wrote that the problem is only for linux users because of a mix between back and for slashes. I see here https://github.com/qgis/QGIS/tree/master/ms-windows/osgeo4w that the last

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

2014-07-02 Thread Blumentrath, Stefan
Hi Matteo, Yes, quite sure: http://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-sosi/ I did not check the content of the new package though, but I guess it was Jürgen who created the 4.0-2 package, and I cannot imagine that he did something else than fixing the paths-settings... Cheers

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

2014-07-02 Thread Blumentrath, Stefan
Another thing to consider in this context is that there are open issues with the gdal-sosi package on Windows[1]. Given that the sosi-driver-plugin works properly with GDAL, but not in QGIS it might be good to have it in OSGeo4W, but not necessarily in the QGIS stand-alone installer or as a

[Qgis-developer] QGIS standalone app - layer tree, legend and co.

2014-07-02 Thread Matthias Ludwig
Hi,   I'am writing a data viewer as python qgis standalone application. Is it possible to use the QgisInterface and other classes (like QgsLegendInterface) for layer handling (adding, removing, activation, etc.)? Cause I didn't found a way I have written my own layer model based on qts

Re: [Qgis-developer] QGIS standalone app - layer tree, legend and co.

2014-07-02 Thread Andreas Neumann
Hi Matthias, Martin Dobias just did a legend-tree redesign which was introduced in QGIS 2.4 and should improve situation for plugin developers and derived applications a lot. I don't know if/how this is documented yet. I hope that Martin can answer this in more detail, perhaps with a

[Qgis-developer] How can I reproject a raster and change its file type in a plugin?

2014-07-02 Thread Tom Chadwin
I need to reproject rasters and change their file type in a QGIS plugin. Can I do this using the QGIS API? If not, I can do this externally with gdal_translate, but how can I determine the path to gdal_translate in Python? Thanks Tom Tom Chadwin, UK National Parks Portal Manager Telephone:

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

2014-07-02 Thread Jürgen E . Fischer
Hi Matteo, On Wed, 02. Jul 2014 at 10:37:26 +0200, matteo wrote: are you sure that Jürgen fixed the problem yesterday? He wrote that the problem is only for linux users because of a mix between back and for slashes. I see here https://github.com/qgis/QGIS/tree/master/ms-windows/osgeo4w

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

2014-07-02 Thread Nathan Woodrow
On Wed, Jul 2, 2014 at 4:57 PM, Zoltan Szecsei zolt...@geograph.co.za wrote: I feel the developers must always put the user before the code simplification. This because the programmer makes a once-off (big) effort, but there may be millions of users that suffer if the coder simplifies the

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

2014-07-02 Thread Nathan Woodrow
On Wed, Jul 2, 2014 at 5:20 PM, Matthias Kuhn matthias.k...@gmx.ch wrote: Users might be used to the select single feature tool and miss it. The tools have the same behavior so it will be no change to how the user does selecting. Most will not even see the change. While it's possible for

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Nathan Woodrow
On Wed, Jul 2, 2014 at 5:40 PM, Andreas Neumann a.neum...@carto.net wrote: 4. Potentially combine the touch zoom/and pan tool with the pan tool into a single tool. Is there a specific reason why both of these tools are available? Doesn't the Touch zoom and pan also support pan with the mouse?

Re: [Qgis-developer] QGIS standalone app - layer tree, legend and co.

2014-07-02 Thread Arnaud Morvan
Yes, you could use QgsMapLayerRegistry for adding/removing layer and QgsLegendInterface for manage groups and layer visiblity, but new layer tree is more powerfull. Here is a previous response of Martin on same subject : http://lists.osgeo.org/pipermail/qgis-developer/2014-June/033529.html

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

2014-07-02 Thread matteo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jürgen, well in packages-x86_64 I found gdal-sosi-4.0-1.tar.bz2. The same package is in packages-x86, but I didn't have any problem with x86. If I remove the gdal-sosi package and run creatensis again nothing changes because it downloads the

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

2014-07-02 Thread Nyall Dawson
Am 02.07.2014 12:02, schrieb Nathan Woodrow: The tools have the same behavior so it will be no change to how the user does selecting. Most will not even see the change. For the record, I'm changing my vote to a +1 for the merge. If a single click performs a select single polygon action,

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

2014-07-02 Thread Matthias Kuhn
Hi Nathan On 02.07.2014 12:02, Nathan Woodrow wrote: On Wed, Jul 2, 2014 at 5:20 PM, Matthias Kuhn matthias.k...@gmx.ch mailto:matthias.k...@gmx.ch wrote: Users might be used to the select single feature tool and miss it. The tools have the same behavior so it will be no change to how

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

2014-07-02 Thread Jürgen E . Fischer
Hi Matteo, On Wed, 02. Jul 2014 at 12:11:42 +0200, matteo wrote: well in packages-x86_64 I found gdal-sosi-4.0-1.tar.bz2. The same package is in packages-x86, but I didn't have any problem with x86. Check if the setup.ini is up-to-date. You should have gdal-sosi-4.0-2.tar.bz2 Can I avoid

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Jonathan Moules
Hi Andreas, On 2 July 2014 08:40, Andreas Neumann a.neum...@carto.net wrote: Hi, In addition to the discussion around the selection tool I would like to discuss a reduction of buttons in the navigation toolbar. I think it eats way too much screen-space by default. I'd like to suggest the

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

2014-07-02 Thread Zoltan Szecsei
On 2014/07/02 11:57, Nathan Woodrow wrote: On Wed, Jul 2, 2014 at 4:57 PM, Zoltan Szecsei zolt...@geograph.co.za mailto:zolt...@geograph.co.za wrote: I feel the developers must always put the user before the code simplification. This because the programmer makes a once-off (big)

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Andreas Neumann
Hi Jonathan, Thanks for your reply. Can you explain in what circumstances you need the refresh button? What are those bugs that need you to manually refresh the canvas? Would it suffice to have the refresh function on the F5 shortcut key and in the View menu rather than occupying a button

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

2014-07-02 Thread Ramon Andiñach
On 02/07/2014, at 18:28 , Giuseppe Sucameli wrote: +1, single click selects one feature and drag selects features by rectangle. Of course, we must default the selection tool to the rectangle one, in addition we must change the tooltip (and maybe the icon too?) to something more

Re: [Qgis-developer] Navigation toolbar

2014-07-02 Thread Andreas Neumann
I found out that the F5 key did not work because the plugin reloader plugin also assigned the F5 key for reloading the selected plugin. I closed the bug therefore. Andreas BTW: I found out that the F5 key is currently broken. It does not reload the canvas. Here is the bug-report:

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

2014-07-02 Thread Giuseppe Sucameli
On Wed, Jul 2, 2014 at 2:50 PM, Ramon Andiñach cust...@westnet.com.au wrote: If the default was changed to rectangle, I'd expect that most would change it the first time that they needed to do a single point select anyway. And if they try to change back to the single point selection but the

Re: [Qgis-developer] openSuse and 2.4

2014-07-02 Thread Kari Salovaara
Hi, to clarify my previous email I want to give the reason why I need ogr 1.11. Since OGR 1.11, the GML driver supports reading : - Finnish National Land Survey GML files (a.k.a MTK GML) for topographic data. - Finnish National Land Survey GML files for cadastral data. - Cadastral data in

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

2014-07-02 Thread Olivier Dalang
+1 for simplifying the ui ! The rationale about old users not liking changes doesn't hold against the rationale new users needing an easy software, since we have way more future users than current users ;) Bests, Olivier Envoyé depuis mon mobile ___

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

2014-07-02 Thread Larry Shaffer
Hi, +1 for dropping the select-by-point part of the tool and making select-by-rect the default. However, I really think the icon, as Giuseppe noted, needs updated to indicate the change (even if the select-by-rect hasn't actually changed). Maybe just adding a pronounced or colored point to the

[Qgis-developer] How do QGIS plugin unit test?

2014-07-02 Thread BJ Jang
Dear all. I want make a QGIS Python plugin with unit test using the 'Plugin Builder' The 'Plugin Builder' make some unit test class automatically in test folder like as test_init.py, test_translations.py. I want to do unit test by these class but I had failed. This is my unit test code.

[Qgis-developer] Error in downloading model

2014-07-02 Thread Paolo Cavallini
Hi. While downloading a model (Model within a model) I get an error[0]. I think there are two issue here: * the model is missing * in case of a missing model, the error should be handled better All the best. === [0] Traceback (most recent call last): File

[Qgis-developer] New Processing modeller issue

2014-07-02 Thread Paolo Cavallini
Hi all. The new modeller seems to have a minor issue: when zooming in, when items get close to the window border, the lines connecting the blocks disappear. Does anyone confirm? Should I open a ticket? All the best. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS:

[Qgis-developer] Processing: Calculator

2014-07-02 Thread Paolo Cavallini
Hi all. In the ModelerModeler-only toolsCalculator I found several minor issues: * 'usingsingle' should be 'using single' * 'as follows:' is not follwed by any text * text in the box is not selectable. Should I open tickets? All the best. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS:

[Qgis-developer] Donations

2014-07-02 Thread Paolo Cavallini
Hi all. After each release we have a spike in donations, that partly covers our bugfixing effort. For 2.4, apparently the increase is more marked, probably as a result of the (IMHO discreet and gentle) invitation to donate from the download page. A success, overall. Thanks to Richard and others