Re: [QGIS-Developer] Qt & Python version for QGIS 3

2017-06-05 Thread Tom Elwertowski
I have built current QGIS using Qt 5.8 on macOS 10.12 with your 
libraries if available and commandline make for others. I use Python 3.6 
and commandline pip3 for required modules. Qt 5.9 is just out but I will 
give it a try.


Tom
LinkedIn: https://www.linkedin.com/in/thomas-elwertowski-a0886032

On 6/5/17 4:46 PM, William Kyngesburye wrote:

I'm starting to look at building QGIS 3, and I'd like to know what recent 
versions of Qt5 and Python 3 are supported.  I see Qt is up to 5.9 and Python 
is up to 3.6.

-
William Kyngesburye 
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the 
universe is for and why it is here, it will instantly disappear and be replaced 
by something even more bizarrely inexplicable.  There is another theory which 
states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1240] Geo Picker approval notification.

2017-06-05 Thread noreply

Plugin Geo Picker approval by pcav.
The plugin version "[1240] Geo Picker 0.1.2 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/GeoPicker/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Stéphane Henriod
Hi Alessandro

replies inline

Le lundi 5 juin 2017, Alessandro Pasotti  a écrit :

> On Mon, Jun 5, 2017 at 1:54 PM, Stéphane Henriod  > wrote:
>
>> Hi Alessandro
>>
>> First of all, thank you so much for this work, it looks really great
>> already!
>>
>> Here a few comments / ideas after a few quick tests, I let you filter
>> which ones could actually be part of this phase and which ones should be
>> left out for a future phase 2
>>
>
> Hi,
>
> thanks for testing!
>

That's the least I can do when someone has already done the hard part, i.e.
developing :-)



>
>
>
>>
>> - "Raster" is not consistent: it is confusing that the file selector
>> opens directly. The behavior should mimick the "vector" (open the file
>> selector only when the user clicks on "browse")
>>
>
> yeah, I know,  this has been already discussed in the PR comments, please
> have a look.
>

Yes, I've seen that. But I was not sure  if a consensus has been reached.
Will it stay like this for now or is it still open for discussion? I would
favor the "extra-click" that would make it more consistent with the other
providers



>
>>
>> - The "DB2" logo should be cleaned (at least add transparency)
>>
>
>
> Sorry, I've no graphics design skills, and this task is really something
> that a not-programmer can contribute to. Changing the icons was not in
> scope btw.
>


I don't have such skills either but I'd be happy to try and at least make
the background transparent. I however don't know where to find the original
icon and how to push it back, once I have (maybe) successfully improved it.
(This had also been raised by Nyall)



>
>>
>> - When I click on "Browse", the file selector window opens behind the
>> Data Source Manager
>>
>
> Not sure I understand what you mean here, probably need more details, and
> it seems like a bug.
>

Here what I mean: https://vimeo.com/220330186

But it is not super consistent and doesn't necessarily happen everytime

I opened an issue here: https://issues.qgis.org/issues/1



>
>
>>
>> - I would change the order of the providers: move the "Delimited text"
>> just below raster (so that we have all file-based providers together). And
>> maybe separate (visually) the providers in sections: "Files", "Databases",
>> "Web services", "Virtual" (or something like this). Also,"ArcGIS Feature
>> Server" should probably be just after "ArcGIS Map Server"
>>
>
>
> If I'm not mistaken, the order is  the same order we had before for the
> menu items and the icons, I did not alter the order (at least that was not
> my intention).
>

I indeed think that you kept the original order. But would it be out of the
scope of this first phase to clean up and make this order more intuitive?
It seems to me like a good opportunity but maybe I am underestimating the
associated workload?



>
>
>> - It would be super useful to be able to display a basemap (OSM, Google,
>> etc) directly from the Data Source Manager, without having to configure
>> "XYZ Tiles" in the browser.Would it be possible in this phase to add 1
>> entry in the Data source manager "Webmaps" where the user could simply pick
>> in a drop-down one of the most common webmaps (and could add additional XYZ
>> tiles)? This would be a golden feature for non-power users.
>>
>
>
> This is totally unrelated, but AFAIK there are plans to add some default
> xyz maps to the mix for 3.0.
>

Ok, thanks for the info!


>
>
>
>>
>> Thanks again, I will try to test it a bit deeper in the coming days
>>
>> Cheers
>> Stéphane
>>
>>
> Thanks again for the feed-back!
>
> Cheers.
>

You're very welcome!
Cheers

Stéphane


>
>
>
>>
>> Le lundi 5 juin 2017, Alessandro Pasotti > > a écrit :
>>
>>> Hi Stéphane,
>>>
>>> Thanks for testing the new dialog!
>>>
>>> I think that if you find a bug (a crash or something that doesn't work
>>> as expected) you should open an issue on the hub and assign it to me.
>>>
>>> For general feed-back or change proposal for the UI/UX you can either
>>> use this thread or make a PR with the proposed changes and discuss them in
>>> the the PR.
>>>
>>> Cheers
>>>
>>>
>>> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
>>> wrote:
>>>
 Hi Alessandro

 I just downloaded the latest nightly build and will make some tests in
 the coming days. What would be the most efficient / useful way to give you
 feedback and comments? On this thread?

 Thanks and cheers

 Stéphane


 Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :

> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
> stephane...@gmail.com> wrote:
>
>> I really look forward to testing it :-) Thanks a lot for our
>> involvement here!
>>
>>
>
> Thanks to Boundless for funding the development and thanks to all of

Re: [QGIS-Developer] QgsMapLayerComboBox add None

2017-06-05 Thread Etienne Trimaille
Yes it's possible with the QGIS 3 API only:
https://qgis.org/api/classQgsMapLayerComboBox.html#
a3f38873230e93d6bc7d73a50671a9c5e

2017-06-05 23:23 GMT+08:00 Ing. Pierluigi De Rosa :

> Dear all,
>
> into the QgsMapLayerComboBox is there a simple way to add the --None--
> option for the list of layer?
> Normally the widget is already full of all layer but I need also the
> option: no layer
>
> What is the best solution to do that?
> Thanks
> Pierluigi
>
> --
> --
>
>
>
>
>
> 
> Ing. Pierluigi De Rosa
> PhD in Scienze della terra
> Professore a contratto di G.I.S. presso Università di Perugia
>
> Studio Associato GFOSSERVICES
>
> Presso CAMPUS Via F.lli Cairoli 24 - 06127 Perugia (PG)
> fax: 075 7823038
> cel: 3497558268
> web: www.gfosservices.it
> skype: pierluigi.derosa
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QgsMapLayerComboBox add None

2017-06-05 Thread Ing. Pierluigi De Rosa
Dear all,

into the QgsMapLayerComboBox is there a simple way to add the --None--
option for the list of layer?
Normally the widget is already full of all layer but I need also the
option: no layer

What is the best solution to do that?
Thanks
Pierluigi

-- 
-- 






Ing. Pierluigi De Rosa 
PhD in Scienze della terra 
Professore a contratto di G.I.S. presso Università di Perugia

Studio Associato GFOSSERVICES

Presso CAMPUS Via F.lli Cairoli 24 - 06127 Perugia (PG) 
fax: 075 7823038
cel: 3497558268
web: www.gfosservices.it
skype: pierluigi.derosa

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1251] Vector Transformation approval notification.

2017-06-05 Thread noreply

Plugin Vector Transformation approval by pcav.
The plugin version "[1251] Vector Transformation 0.1 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/VectorTranformation/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1230] Vector Tiles Reader approval notification.

2017-06-05 Thread noreply

Plugin Vector Tiles Reader approval by pcav.
The plugin version "[1230] Vector Tiles Reader 0.13.1 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/vector_tiles_reader/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] discover python executable in use

2017-06-05 Thread Andreas Plesch
Using the Python console on 2.18

import sys
sys.executable

returns

1) on Windows (2.18.9 32bit):

'C:\\PROGRA~1\\QGIS2~1.18\\bin\\qgis-bin.exe'

which unexpectedly does not appear to be a Python interpreter

and

2) on Linux (2.18.3. 64bit)

'/usr/bin/python'

which does appear to be the Python interpreter in use by the console.

Is there a cross platform way to discover the Python interpreter in current
use ? Would 1) considered to be a possible bug somewhere ?

I want to use it for

QProcess.startDetached(sys.executable, args, root_folder)

Thanks,

-Andreas


-- 
Andreas Plesch
39 Barbara Rd.
Waltham, MA 02453
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Alexandre Neto
Ismail Sunni  escreveu no dia segunda, 5/06/2017 às
09:28:

> Ah yes, sorry. I was thinking that button will do the same thing like in
> the toolbar (I also didn't read the tooltip).
>
>
Probably a sign that a distinct Icon is needed.


> Thanks!
>
> On Mon, Jun 5, 2017 at 2:59 PM, Alessandro Pasotti 
> wrote:
>
>> On Mon, Jun 5, 2017 at 9:50 AM, Ismail Sunni 
>> wrote:
>>
>>> Hi Allesandro,
>>>
>>> I just tried the new add layer button. It looks great! One thing that I
>>> found, when I click the add layer button in the browser panel, there is
>>> nothing happening.
>>>
>>> I made a gif to show it : http://imgur.com/EPGFuEz
>>>
>>
>>
>> Works for me. Make sure you selected a layer before pushing that button.
>>
>>
>>
>>> I build QGIS master on MacOS, for 27850fb00e
>>>
>>> Best regards.
>>>
>>> On Mon, Jun 5, 2017 at 1:51 PM, Alessandro Pasotti 
>>> wrote:
>>>
 Hi Stéphane,

 Thanks for testing the new dialog!

 I think that if you find a bug (a crash or something that doesn't work
 as expected) you should open an issue on the hub and assign it to me.

 For general feed-back or change proposal for the UI/UX you can either
 use this thread or make a PR with the proposed changes and discuss them in
 the the PR.

 Cheers


 On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod  wrote:

> Hi Alessandro
>
> I just downloaded the latest nightly build and will make some tests in
> the coming days. What would be the most efficient / useful way to give you
> feedback and comments? On this thread?
>
> Thanks and cheers
>
> Stéphane
>
>
> Le jeudi 1 juin 2017, Alessandro Pasotti  a
> écrit :
>
>> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
>> stephane...@gmail.com> wrote:
>>
>>> I really look forward to testing it :-) Thanks a lot for our
>>> involvement here!
>>>
>>>
>>
>> Thanks to Boundless for funding the development and thanks to all of
>> you who participated with design, mockups, ideas, comments and reviews!
>>
>> This was a nice and effective cooperation.
>>
>>
>> BTW, if you can't wait, a Docker with a nigthly build of the PR
>> branch is available as
>> "boundlessgeo/qgis-testing-environment:unified-button"
>>
>> Cheers
>>
>>
>>>
>>> Le mercredi 31 mai 2017, Alessandro Pasotti  a
>>> écrit :
>>>
 Hi,

 final update: the development of what was in phase 1 is done.

 Actually, a bit more than phase 1 considering that we've redesigned
 the delimited text dialog GUI and I've done quite a bit of small
 refactorings of the providers selection dialogs interfaces.

 There has been a lot of feed-back, thank you all!

 As expected, there is no complete agreement over the final GUI bits
 for the menus and toolbars, and we still miss an icon (the green plus 
 that
 I've used was only meant as a placeholder). I tried to keep the old 
 toolbar
 available (disabled by default) mainly because it can spare a click and
 power users might want it back. Also, the new icon is the most 
 prominent in
 the left bar and it's the first menu item in the layers menu.

 I have not a strong opinion about those toolbars and menus but I
 think I should wait no more and merge it as it is, then give the people
 some time to test the actual implementation and decide how to improve 
 it.

 I kept the controversial part in a single commit so that it will be
 very easy to revert and propose a different placement for menus, icons 
 and
 toolbars.


 Any objections if I proceed?



 On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti <
 apaso...@gmail.com> wrote:

> Hi,
>
> a quick update:
>
> I've prepared a PR with a working prototype in
> https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
> some help, expecially UX/UI about if we want it as a dockable dialog 
> too
> (and how to make it user-configurable).
>
> Feed-back welcome (but please keep it limited in scope to phase 1).
>
> Cheers
>
>
>
> On Fri, May 19, 2017 at 9:45 AM, Richard Duivenvoorde <
> rdmaili...@duif.net> wrote:
>
>> On 19-05-17 01:23, Nyall Dawson wrote:
>>
>> > On this note - I've recently discovered the need for some type
>> of
>> > reusable layer selection widget which allows choice of existing

[QGIS-Developer] Plugin [1230] Vector Tiles Reader approval notification.

2017-06-05 Thread noreply

Plugin Vector Tiles Reader approval by pcav.
The plugin version "[1230] Vector Tiles Reader 0.13.0 Experimental" is now 
approved
Link: http://plugins.qgis.org/plugins/vector_tiles_reader/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Alessandro Pasotti
On Mon, Jun 5, 2017 at 1:54 PM, Stéphane Henriod 
wrote:

> Hi Alessandro
>
> First of all, thank you so much for this work, it looks really great
> already!
>
> Here a few comments / ideas after a few quick tests, I let you filter
> which ones could actually be part of this phase and which ones should be
> left out for a future phase 2
>

Hi,

thanks for testing!



>
> - "Raster" is not consistent: it is confusing that the file selector opens
> directly. The behavior should mimick the "vector" (open the file selector
> only when the user clicks on "browse")
>

yeah, I know,  this has been already discussed in the PR comments, please
have a look.


>
> - The "DB2" logo should be cleaned (at least add transparency)
>


Sorry, I've no graphics design skills, and this task is really something
that a not-programmer can contribute to. Changing the icons was not in
scope btw.


>
> - When I click on "Browse", the file selector window opens behind the Data
> Source Manager
>

Not sure I understand what you mean here, probably need more details, and
it seems like a bug.


>
> - I would change the order of the providers: move the "Delimited text"
> just below raster (so that we have all file-based providers together). And
> maybe separate (visually) the providers in sections: "Files", "Databases",
> "Web services", "Virtual" (or something like this). Also,"ArcGIS Feature
> Server" should probably be just after "ArcGIS Map Server"
>


If I'm not mistaken, the order is  the same order we had before for the
menu items and the icons, I did not alter the order (at least that was not
my intention).


> - It would be super useful to be able to display a basemap (OSM, Google,
> etc) directly from the Data Source Manager, without having to configure
> "XYZ Tiles" in the browser.Would it be possible in this phase to add 1
> entry in the Data source manager "Webmaps" where the user could simply pick
> in a drop-down one of the most common webmaps (and could add additional XYZ
> tiles)? This would be a golden feature for non-power users.
>


This is totally unrelated, but AFAIK there are plans to add some default
xyz maps to the mix for 3.0.



>
> Thanks again, I will try to test it a bit deeper in the coming days
>
> Cheers
> Stéphane
>
>
Thanks again for the feed-back!

Cheers.



>
> Le lundi 5 juin 2017, Alessandro Pasotti  a écrit :
>
>> Hi Stéphane,
>>
>> Thanks for testing the new dialog!
>>
>> I think that if you find a bug (a crash or something that doesn't work as
>> expected) you should open an issue on the hub and assign it to me.
>>
>> For general feed-back or change proposal for the UI/UX you can either use
>> this thread or make a PR with the proposed changes and discuss them in the
>> the PR.
>>
>> Cheers
>>
>>
>> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
>> wrote:
>>
>>> Hi Alessandro
>>>
>>> I just downloaded the latest nightly build and will make some tests in
>>> the coming days. What would be the most efficient / useful way to give you
>>> feedback and comments? On this thread?
>>>
>>> Thanks and cheers
>>>
>>> Stéphane
>>>
>>>
>>> Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :
>>>
 On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
 stephane...@gmail.com> wrote:

> I really look forward to testing it :-) Thanks a lot for our
> involvement here!
>
>

 Thanks to Boundless for funding the development and thanks to all of
 you who participated with design, mockups, ideas, comments and reviews!

 This was a nice and effective cooperation.


 BTW, if you can't wait, a Docker with a nigthly build of the PR branch
 is available as "boundlessgeo/qgis-testing-environment:unified-button"

 Cheers


>
> Le mercredi 31 mai 2017, Alessandro Pasotti  a
> écrit :
>
>> Hi,
>>
>> final update: the development of what was in phase 1 is done.
>>
>> Actually, a bit more than phase 1 considering that we've redesigned
>> the delimited text dialog GUI and I've done quite a bit of small
>> refactorings of the providers selection dialogs interfaces.
>>
>> There has been a lot of feed-back, thank you all!
>>
>> As expected, there is no complete agreement over the final GUI bits
>> for the menus and toolbars, and we still miss an icon (the green plus 
>> that
>> I've used was only meant as a placeholder). I tried to keep the old 
>> toolbar
>> available (disabled by default) mainly because it can spare a click and
>> power users might want it back. Also, the new icon is the most prominent 
>> in
>> the left bar and it's the first menu item in the layers menu.
>>
>> I have not a strong opinion about those toolbars and menus but I
>> think I should wait no more and merge it as it is, then give the people
>> some time to test the 

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Stéphane Henriod
Hi Alessandro

First of all, thank you so much for this work, it looks really great
already!

Here a few comments / ideas after a few quick tests, I let you filter which
ones could actually be part of this phase and which ones should be left out
for a future phase 2

- "Raster" is not consistent: it is confusing that the file selector opens
directly. The behavior should mimick the "vector" (open the file selector
only when the user clicks on "browse")

- The "DB2" logo should be cleaned (at least add transparency)

- When I click on "Browse", the file selector window opens behind the Data
Source Manager

- I would change the order of the providers: move the "Delimited text" just
below raster (so that we have all file-based providers together). And maybe
separate (visually) the providers in sections: "Files", "Databases", "Web
services", "Virtual" (or something like this). Also,"ArcGIS Feature Server"
should probably be just after "ArcGIS Map Server"

- It would be super useful to be able to display a basemap (OSM, Google,
etc) directly from the Data Source Manager, without having to configure
"XYZ Tiles" in the browser.Would it be possible in this phase to add 1
entry in the Data source manager "Webmaps" where the user could simply pick
in a drop-down one of the most common webmaps (and could add additional XYZ
tiles)? This would be a golden feature for non-power users.

Thanks again, I will try to test it a bit deeper in the coming days

Cheers
Stéphane


Le lundi 5 juin 2017, Alessandro Pasotti  a écrit :

> Hi Stéphane,
>
> Thanks for testing the new dialog!
>
> I think that if you find a bug (a crash or something that doesn't work as
> expected) you should open an issue on the hub and assign it to me.
>
> For general feed-back or change proposal for the UI/UX you can either use
> this thread or make a PR with the proposed changes and discuss them in the
> the PR.
>
> Cheers
>
>
> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod  > wrote:
>
>> Hi Alessandro
>>
>> I just downloaded the latest nightly build and will make some tests in
>> the coming days. What would be the most efficient / useful way to give you
>> feedback and comments? On this thread?
>>
>> Thanks and cheers
>>
>> Stéphane
>>
>>
>> Le jeudi 1 juin 2017, Alessandro Pasotti > > a écrit :
>>
>>> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod >> > wrote:
>>>
 I really look forward to testing it :-) Thanks a lot for our
 involvement here!


>>>
>>> Thanks to Boundless for funding the development and thanks to all of you
>>> who participated with design, mockups, ideas, comments and reviews!
>>>
>>> This was a nice and effective cooperation.
>>>
>>>
>>> BTW, if you can't wait, a Docker with a nigthly build of the PR branch
>>> is available as "boundlessgeo/qgis-testing-environment:unified-button"
>>>
>>> Cheers
>>>
>>>

 Le mercredi 31 mai 2017, Alessandro Pasotti  a
 écrit :

> Hi,
>
> final update: the development of what was in phase 1 is done.
>
> Actually, a bit more than phase 1 considering that we've redesigned
> the delimited text dialog GUI and I've done quite a bit of small
> refactorings of the providers selection dialogs interfaces.
>
> There has been a lot of feed-back, thank you all!
>
> As expected, there is no complete agreement over the final GUI bits
> for the menus and toolbars, and we still miss an icon (the green plus that
> I've used was only meant as a placeholder). I tried to keep the old 
> toolbar
> available (disabled by default) mainly because it can spare a click and
> power users might want it back. Also, the new icon is the most prominent 
> in
> the left bar and it's the first menu item in the layers menu.
>
> I have not a strong opinion about those toolbars and menus but I think
> I should wait no more and merge it as it is, then give the people some 
> time
> to test the actual implementation and decide how to improve it.
>
> I kept the controversial part in a single commit so that it will be
> very easy to revert and propose a different placement for menus, icons and
> toolbars.
>
>
> Any objections if I proceed?
>
>
>
> On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti <
> apaso...@gmail.com> wrote:
>
>> Hi,
>>
>> a quick update:
>>
>> I've prepared a PR with a working prototype in
>> https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
>> some help, expecially UX/UI about if we want it as a dockable dialog too
>> (and how to make it user-configurable).
>>
>> Feed-back welcome (but please keep it limited in scope to phase 1).
>>
>> Cheers
>>
>>

[QGIS-Developer] Plugin [1251] Vector Transformation approval notification.

2017-06-05 Thread noreply

Plugin Vector Transformation approval by pcav.
The plugin version "[1251] Vector Transformation 1.0" is now approved
Link: http://plugins.qgis.org/plugins/VectorTranformation/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Processing R scripts - TypeError: cannot concatenate 'str' and 'NoneType' objects

2017-06-05 Thread Giovanni Manghi
Hi,

I confirm that in previous QGIS releases (2.14/2.16 for example) R
scripts were working as expected.

So I added

https://issues.qgis.org/issues/16618

to the list of regressions that must be fixed in time for the next LTR

https://docs.google.com/spreadsheets/d/1frZQU8bwGX499WMvtOc6GDIWqEuSv3QHz3zc90TS46Q/edit?usp=sharing


cheers!

-- G --



> Maybe a fix ...
>
> On Fri, Jun 2, 2017 at 8:31 PM, Anita Graser  wrote:
>
>> File 
>> "C:/OSGEO4~1/apps/qgis-ltr/./python/plugins\processing\algs\r\RAlgorithm.py",
>> line 404, in getExportCommands
>>
>> commands.append('cat("##' + out.name + '",file="' + outputDataFile +
>> '",sep="\n",append=TRUE)')
>>
>> TypeError: cannot concatenate 'str' and 'NoneType' objects
>>
>
> Not sure if it breaks anything else, but if I add
>
> elif isinstance(out, OutputHTML):
> pass
>
> before the offending
>
> elif out.name != RAlgorithm.R_OUTPUT_VALUES:
> commands.append('cat("##' + out.name + '",file="' +
> outputDataFile + '",sep="\n",append=TRUE)')
> commands.append('cat(' + out.name + ',file="' +
> outputDataFile + '",sep="\n",append=TRUE)')
>
> Then the HTML output is created and visible in the results viewer and there
> is no error.
>
> I'm not sure what the problematic lines were supposed to do anyway ...
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Ismail Sunni
Ah yes, sorry. I was thinking that button will do the same thing like in
the toolbar (I also didn't read the tooltip).

Thanks!

On Mon, Jun 5, 2017 at 2:59 PM, Alessandro Pasotti 
wrote:

> On Mon, Jun 5, 2017 at 9:50 AM, Ismail Sunni 
> wrote:
>
>> Hi Allesandro,
>>
>> I just tried the new add layer button. It looks great! One thing that I
>> found, when I click the add layer button in the browser panel, there is
>> nothing happening.
>>
>> I made a gif to show it : http://imgur.com/EPGFuEz
>>
>
>
> Works for me. Make sure you selected a layer before pushing that button.
>
>
>
>> I build QGIS master on MacOS, for 27850fb00e
>>
>> Best regards.
>>
>> On Mon, Jun 5, 2017 at 1:51 PM, Alessandro Pasotti 
>> wrote:
>>
>>> Hi Stéphane,
>>>
>>> Thanks for testing the new dialog!
>>>
>>> I think that if you find a bug (a crash or something that doesn't work
>>> as expected) you should open an issue on the hub and assign it to me.
>>>
>>> For general feed-back or change proposal for the UI/UX you can either
>>> use this thread or make a PR with the proposed changes and discuss them in
>>> the the PR.
>>>
>>> Cheers
>>>
>>>
>>> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
>>> wrote:
>>>
 Hi Alessandro

 I just downloaded the latest nightly build and will make some tests in
 the coming days. What would be the most efficient / useful way to give you
 feedback and comments? On this thread?

 Thanks and cheers

 Stéphane


 Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :

> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
> stephane...@gmail.com> wrote:
>
>> I really look forward to testing it :-) Thanks a lot for our
>> involvement here!
>>
>>
>
> Thanks to Boundless for funding the development and thanks to all of
> you who participated with design, mockups, ideas, comments and reviews!
>
> This was a nice and effective cooperation.
>
>
> BTW, if you can't wait, a Docker with a nigthly build of the PR branch
> is available as "boundlessgeo/qgis-testing-environment:unified-button"
>
> Cheers
>
>
>>
>> Le mercredi 31 mai 2017, Alessandro Pasotti  a
>> écrit :
>>
>>> Hi,
>>>
>>> final update: the development of what was in phase 1 is done.
>>>
>>> Actually, a bit more than phase 1 considering that we've redesigned
>>> the delimited text dialog GUI and I've done quite a bit of small
>>> refactorings of the providers selection dialogs interfaces.
>>>
>>> There has been a lot of feed-back, thank you all!
>>>
>>> As expected, there is no complete agreement over the final GUI bits
>>> for the menus and toolbars, and we still miss an icon (the green plus 
>>> that
>>> I've used was only meant as a placeholder). I tried to keep the old 
>>> toolbar
>>> available (disabled by default) mainly because it can spare a click and
>>> power users might want it back. Also, the new icon is the most 
>>> prominent in
>>> the left bar and it's the first menu item in the layers menu.
>>>
>>> I have not a strong opinion about those toolbars and menus but I
>>> think I should wait no more and merge it as it is, then give the people
>>> some time to test the actual implementation and decide how to improve 
>>> it.
>>>
>>> I kept the controversial part in a single commit so that it will be
>>> very easy to revert and propose a different placement for menus, icons 
>>> and
>>> toolbars.
>>>
>>>
>>> Any objections if I proceed?
>>>
>>>
>>>
>>> On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti <
>>> apaso...@gmail.com> wrote:
>>>
 Hi,

 a quick update:

 I've prepared a PR with a working prototype in
 https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
 some help, expecially UX/UI about if we want it as a dockable dialog 
 too
 (and how to make it user-configurable).

 Feed-back welcome (but please keep it limited in scope to phase 1).

 Cheers



 On Fri, May 19, 2017 at 9:45 AM, Richard Duivenvoorde <
 rdmaili...@duif.net> wrote:

> On 19-05-17 01:23, Nyall Dawson wrote:
>
> > On this note - I've recently discovered the need for some type of
> > reusable layer selection widget which allows choice of existing
> > layers/loading new layers from the file system/loading new
> layers from
> > available db/online connections. This would be extremely
> valuable for
> > processing too!
> >
> > So I'm really glad to hear that you'll be pushing ahead with
> this 

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Alessandro Pasotti
On Mon, Jun 5, 2017 at 9:50 AM, Ismail Sunni  wrote:

> Hi Allesandro,
>
> I just tried the new add layer button. It looks great! One thing that I
> found, when I click the add layer button in the browser panel, there is
> nothing happening.
>
> I made a gif to show it : http://imgur.com/EPGFuEz
>


Works for me. Make sure you selected a layer before pushing that button.



> I build QGIS master on MacOS, for 27850fb00e
>
> Best regards.
>
> On Mon, Jun 5, 2017 at 1:51 PM, Alessandro Pasotti 
> wrote:
>
>> Hi Stéphane,
>>
>> Thanks for testing the new dialog!
>>
>> I think that if you find a bug (a crash or something that doesn't work as
>> expected) you should open an issue on the hub and assign it to me.
>>
>> For general feed-back or change proposal for the UI/UX you can either use
>> this thread or make a PR with the proposed changes and discuss them in the
>> the PR.
>>
>> Cheers
>>
>>
>> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
>> wrote:
>>
>>> Hi Alessandro
>>>
>>> I just downloaded the latest nightly build and will make some tests in
>>> the coming days. What would be the most efficient / useful way to give you
>>> feedback and comments? On this thread?
>>>
>>> Thanks and cheers
>>>
>>> Stéphane
>>>
>>>
>>> Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :
>>>
 On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
 stephane...@gmail.com> wrote:

> I really look forward to testing it :-) Thanks a lot for our
> involvement here!
>
>

 Thanks to Boundless for funding the development and thanks to all of
 you who participated with design, mockups, ideas, comments and reviews!

 This was a nice and effective cooperation.


 BTW, if you can't wait, a Docker with a nigthly build of the PR branch
 is available as "boundlessgeo/qgis-testing-environment:unified-button"

 Cheers


>
> Le mercredi 31 mai 2017, Alessandro Pasotti  a
> écrit :
>
>> Hi,
>>
>> final update: the development of what was in phase 1 is done.
>>
>> Actually, a bit more than phase 1 considering that we've redesigned
>> the delimited text dialog GUI and I've done quite a bit of small
>> refactorings of the providers selection dialogs interfaces.
>>
>> There has been a lot of feed-back, thank you all!
>>
>> As expected, there is no complete agreement over the final GUI bits
>> for the menus and toolbars, and we still miss an icon (the green plus 
>> that
>> I've used was only meant as a placeholder). I tried to keep the old 
>> toolbar
>> available (disabled by default) mainly because it can spare a click and
>> power users might want it back. Also, the new icon is the most prominent 
>> in
>> the left bar and it's the first menu item in the layers menu.
>>
>> I have not a strong opinion about those toolbars and menus but I
>> think I should wait no more and merge it as it is, then give the people
>> some time to test the actual implementation and decide how to improve it.
>>
>> I kept the controversial part in a single commit so that it will be
>> very easy to revert and propose a different placement for menus, icons 
>> and
>> toolbars.
>>
>>
>> Any objections if I proceed?
>>
>>
>>
>> On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti <
>> apaso...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> a quick update:
>>>
>>> I've prepared a PR with a working prototype in
>>> https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
>>> some help, expecially UX/UI about if we want it as a dockable dialog too
>>> (and how to make it user-configurable).
>>>
>>> Feed-back welcome (but please keep it limited in scope to phase 1).
>>>
>>> Cheers
>>>
>>>
>>>
>>> On Fri, May 19, 2017 at 9:45 AM, Richard Duivenvoorde <
>>> rdmaili...@duif.net> wrote:
>>>
 On 19-05-17 01:23, Nyall Dawson wrote:

 > On this note - I've recently discovered the need for some type of
 > reusable layer selection widget which allows choice of existing
 > layers/loading new layers from the file system/loading new layers
 from
 > available db/online connections. This would be extremely valuable
 for
 > processing too!
 >
 > So I'm really glad to hear that you'll be pushing ahead with this
 work
 > - thanks Boundless!

 Yep, and thanks Alessandro for the screenie. Makes me want more!

 @Nyall in Essen the talk was to start with what Alessandro wrote in
 his
 email, so 1 dialog 'merging' all buttons/widgets/dialogs into one,
 reuse
 as much as possible. So it was possible to get it into 3.0

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Ismail Sunni
Hi Allesandro,

I just tried the new add layer button. It looks great! One thing that I
found, when I click the add layer button in the browser panel, there is
nothing happening.

I made a gif to show it : http://imgur.com/EPGFuEz

I build QGIS master on MacOS, for 27850fb00e

Best regards.

On Mon, Jun 5, 2017 at 1:51 PM, Alessandro Pasotti 
wrote:

> Hi Stéphane,
>
> Thanks for testing the new dialog!
>
> I think that if you find a bug (a crash or something that doesn't work as
> expected) you should open an issue on the hub and assign it to me.
>
> For general feed-back or change proposal for the UI/UX you can either use
> this thread or make a PR with the proposed changes and discuss them in the
> the PR.
>
> Cheers
>
>
> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
> wrote:
>
>> Hi Alessandro
>>
>> I just downloaded the latest nightly build and will make some tests in
>> the coming days. What would be the most efficient / useful way to give you
>> feedback and comments? On this thread?
>>
>> Thanks and cheers
>>
>> Stéphane
>>
>>
>> Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :
>>
>>> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod >> > wrote:
>>>
 I really look forward to testing it :-) Thanks a lot for our
 involvement here!


>>>
>>> Thanks to Boundless for funding the development and thanks to all of you
>>> who participated with design, mockups, ideas, comments and reviews!
>>>
>>> This was a nice and effective cooperation.
>>>
>>>
>>> BTW, if you can't wait, a Docker with a nigthly build of the PR branch
>>> is available as "boundlessgeo/qgis-testing-environment:unified-button"
>>>
>>> Cheers
>>>
>>>

 Le mercredi 31 mai 2017, Alessandro Pasotti  a
 écrit :

> Hi,
>
> final update: the development of what was in phase 1 is done.
>
> Actually, a bit more than phase 1 considering that we've redesigned
> the delimited text dialog GUI and I've done quite a bit of small
> refactorings of the providers selection dialogs interfaces.
>
> There has been a lot of feed-back, thank you all!
>
> As expected, there is no complete agreement over the final GUI bits
> for the menus and toolbars, and we still miss an icon (the green plus that
> I've used was only meant as a placeholder). I tried to keep the old 
> toolbar
> available (disabled by default) mainly because it can spare a click and
> power users might want it back. Also, the new icon is the most prominent 
> in
> the left bar and it's the first menu item in the layers menu.
>
> I have not a strong opinion about those toolbars and menus but I think
> I should wait no more and merge it as it is, then give the people some 
> time
> to test the actual implementation and decide how to improve it.
>
> I kept the controversial part in a single commit so that it will be
> very easy to revert and propose a different placement for menus, icons and
> toolbars.
>
>
> Any objections if I proceed?
>
>
>
> On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti <
> apaso...@gmail.com> wrote:
>
>> Hi,
>>
>> a quick update:
>>
>> I've prepared a PR with a working prototype in
>> https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
>> some help, expecially UX/UI about if we want it as a dockable dialog too
>> (and how to make it user-configurable).
>>
>> Feed-back welcome (but please keep it limited in scope to phase 1).
>>
>> Cheers
>>
>>
>>
>> On Fri, May 19, 2017 at 9:45 AM, Richard Duivenvoorde <
>> rdmaili...@duif.net> wrote:
>>
>>> On 19-05-17 01:23, Nyall Dawson wrote:
>>>
>>> > On this note - I've recently discovered the need for some type of
>>> > reusable layer selection widget which allows choice of existing
>>> > layers/loading new layers from the file system/loading new layers
>>> from
>>> > available db/online connections. This would be extremely valuable
>>> for
>>> > processing too!
>>> >
>>> > So I'm really glad to hear that you'll be pushing ahead with this
>>> work
>>> > - thanks Boundless!
>>>
>>> Yep, and thanks Alessandro for the screenie. Makes me want more!
>>>
>>> @Nyall in Essen the talk was to start with what Alessandro wrote in
>>> his
>>> email, so 1 dialog 'merging' all buttons/widgets/dialogs into one,
>>> reuse
>>> as much as possible. So it was possible to get it into 3.0
>>>
>>> Off course people (.../me) started brainstorming about features which
>>> w/could be added too :-)
>>>
>>> Your idea adds (I think) to the idea to make some kind of
>>> 'datamanagement-console' in near future, where you can create/copy
>>> data(!), move data around (browser part) 

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Alessandro Pasotti
Hi Stéphane,

Thanks for testing the new dialog!

I think that if you find a bug (a crash or something that doesn't work as
expected) you should open an issue on the hub and assign it to me.

For general feed-back or change proposal for the UI/UX you can either use
this thread or make a PR with the proposed changes and discuss them in the
the PR.

Cheers


On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod 
wrote:

> Hi Alessandro
>
> I just downloaded the latest nightly build and will make some tests in the
> coming days. What would be the most efficient / useful way to give you
> feedback and comments? On this thread?
>
> Thanks and cheers
>
> Stéphane
>
>
> Le jeudi 1 juin 2017, Alessandro Pasotti  a écrit :
>
>> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod 
>> wrote:
>>
>>> I really look forward to testing it :-) Thanks a lot for our involvement
>>> here!
>>>
>>>
>>
>> Thanks to Boundless for funding the development and thanks to all of you
>> who participated with design, mockups, ideas, comments and reviews!
>>
>> This was a nice and effective cooperation.
>>
>>
>> BTW, if you can't wait, a Docker with a nigthly build of the PR branch is
>> available as "boundlessgeo/qgis-testing-environment:unified-button"
>>
>> Cheers
>>
>>
>>>
>>> Le mercredi 31 mai 2017, Alessandro Pasotti  a
>>> écrit :
>>>
 Hi,

 final update: the development of what was in phase 1 is done.

 Actually, a bit more than phase 1 considering that we've redesigned the
 delimited text dialog GUI and I've done quite a bit of small refactorings
 of the providers selection dialogs interfaces.

 There has been a lot of feed-back, thank you all!

 As expected, there is no complete agreement over the final GUI bits for
 the menus and toolbars, and we still miss an icon (the green plus that I've
 used was only meant as a placeholder). I tried to keep the old toolbar
 available (disabled by default) mainly because it can spare a click and
 power users might want it back. Also, the new icon is the most prominent in
 the left bar and it's the first menu item in the layers menu.

 I have not a strong opinion about those toolbars and menus but I think
 I should wait no more and merge it as it is, then give the people some time
 to test the actual implementation and decide how to improve it.

 I kept the controversial part in a single commit so that it will be
 very easy to revert and propose a different placement for menus, icons and
 toolbars.


 Any objections if I proceed?



 On Wed, May 24, 2017 at 2:29 PM, Alessandro Pasotti  wrote:

> Hi,
>
> a quick update:
>
> I've prepared a PR with a working prototype in
> https://github.com/qgis/QGIS/pull/4629, I need some feed-back and
> some help, expecially UX/UI about if we want it as a dockable dialog too
> (and how to make it user-configurable).
>
> Feed-back welcome (but please keep it limited in scope to phase 1).
>
> Cheers
>
>
>
> On Fri, May 19, 2017 at 9:45 AM, Richard Duivenvoorde <
> rdmaili...@duif.net> wrote:
>
>> On 19-05-17 01:23, Nyall Dawson wrote:
>>
>> > On this note - I've recently discovered the need for some type of
>> > reusable layer selection widget which allows choice of existing
>> > layers/loading new layers from the file system/loading new layers
>> from
>> > available db/online connections. This would be extremely valuable
>> for
>> > processing too!
>> >
>> > So I'm really glad to hear that you'll be pushing ahead with this
>> work
>> > - thanks Boundless!
>>
>> Yep, and thanks Alessandro for the screenie. Makes me want more!
>>
>> @Nyall in Essen the talk was to start with what Alessandro wrote in
>> his
>> email, so 1 dialog 'merging' all buttons/widgets/dialogs into one,
>> reuse
>> as much as possible. So it was possible to get it into 3.0
>>
>> Off course people (.../me) started brainstorming about features which
>> w/could be added too :-)
>>
>> Your idea adds (I think) to the idea to make some kind of
>> 'datamanagement-console' in near future, where you can create/copy
>> data(!), move data around (browser part) or delete it.
>> Your note fits in this isn't it?
>>
>> Regards,
>>
>> Richard
>>
>>
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>



 --
 Alessandro Pasotti
 w3: 

[QGIS-Developer] Plugin [1242] QuickPrint approval notification.

2017-06-05 Thread noreply

Plugin QuickPrint approval by pcav.
The plugin version "[1242] QuickPrint 0.2" is now approved
Link: http://plugins.qgis.org/plugins/QuickPrint/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1072] wps4server approval notification.

2017-06-05 Thread noreply

Plugin wps4server approval by pcav.
The plugin version "[1072] wps4server 1.0.4 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/wps4server/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer