Re: [QGIS-Developer] Profiler?

2020-05-28 Thread Nyall Dawson
On Thu, 28 May 2020 at 01:39, Richard Duivenvoorde  wrote:
>
> On 5/23/20 12:41 AM, Nyall Dawson wrote:
> > It will, it's just that the Windows nightly builds are too old to have
> > it. It looks identical to your screenshot.
> >
> > On that note, 12 seconds is a long time for the plugin load I see in
> > your screenshot. Can you expand that out and see if it narrows down
> > the culprit?
>
> Ok, I've updated to QGIS nightly now on those machines.
> Note it's VM's with network disks and virusscanners... (and QGIS itself
> is on the networkdrive...)
>
> This is an image of the plugin loading times:
>
> http://duif.net/loadingtimes.png

Could you expand out those two slow plugins? (processing and lat long tools).

My suspicion is that you'll find that the lat long tools plugin is
importing some processing modules and causing them to be initialised
prior to the main processing plugin starting (which is perfectly fine,
there's no issue with doing that). I expect that if you expanded out
lat long tools you'll see that it's caught up in the processing module
imports.

But I'm keen to see the expanded view to see where the hotspots still
are and where we need to add more granular logging. (Should probably
think about adding an "export to json" option here!!)

Nyall


>
> JRodos is mine :-)
>
> Regards,
>
> Richard Duivenvoorde
>
>
___
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] Adding attribution overlay on a WMS layer

2020-05-28 Thread Tejas L
Hi devs,

I have added a WMS layer as a QgsRasterLayer to the map canvas and would like 
to add an attribution overlay text "Copyright blah..." fixed to the bottom 
right of this layer (and only this layer).

How could this be achieved? The WMS belongs to a third-party.

Regards,
Tej

___
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] Linux users: wanna flatpak?

2020-05-28 Thread Bernd Vogelgesang

Really great!

Worked liked a charm.

Beginning to like Flatpak :)

So, more or less, sorry for the noise. The solution was right there, it
would have only taken to read it ;)

Cheers,

Bernd

On 28.05.20 14:22, Richard Duivenvoorde wrote:

On 5/28/20 2:18 PM, Bernd Vogelgesang wrote:

Wow,

thanx a lot!

Umh, just reading https://github.com/flathub/org.qgis.qgis
Seems I can just reinstall the flatpak with the needed module

|flatpak run --command=pip3 org.qgis.qgis install scipy --user Will give
it a try! Cheers, Bernd |

Ah, YES, that is it. Apparently without the --user it flatpak will try
to install it in the non-user space of it's environment.
So THAT works:

flatpak run --command=pip3 org.qgis.qgis install urllib3 --user

Then I was able to download "Distant measurement styles" successfully!

Thanks! Will add it to the docs

Regards,

Richard Duivenvoorde

___
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] Linux users: wanna flatpak?

2020-05-28 Thread Richard Duivenvoorde
On 5/28/20 2:18 PM, Bernd Vogelgesang wrote:
> Wow,
> 
> thanx a lot!
> 
> Umh, just reading https://github.com/flathub/org.qgis.qgis
> Seems I can just reinstall the flatpak with the needed module
> 
> |flatpak run --command=pip3 org.qgis.qgis install scipy --user Will give
> it a try! Cheers, Bernd |

Ah, YES, that is it. Apparently without the --user it flatpak will try
to install it in the non-user space of it's environment.
So THAT works:

flatpak run --command=pip3 org.qgis.qgis install urllib3 --user

Then I was able to download "Distant measurement styles" successfully!

Thanks! Will add it to the docs

Regards,

Richard Duivenvoorde
___
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] Linux users: wanna flatpak?

2020-05-28 Thread Bernd Vogelgesang

Wow,

thanx a lot!

Umh, just reading https://github.com/flathub/org.qgis.qgis
Seems I can just reinstall the flatpak with the needed module

|flatpak run --command=pip3 org.qgis.qgis install scipy --user Will give
it a try! Cheers, Bernd |

On 28.05.20 14:12, Richard Duivenvoorde wrote:

FYI:

https://github.com/flathub/org.qgis.qgis/issues/59

As I reckon there are not too many flatpak users around here in qgis dev

Regards,

Richard Duivenvoorde

On 5/28/20 1:27 PM, Bernd Vogelgesang wrote:

On 28.05.20 12:48, Richard Duivenvoorde wrote:

Hi Bernd,

I do not know how to fix this, but I would create an issue at the
flatpak repo:

https://github.com/flathub/org.qgis.qgis/issues

They are rather responsive.
In here:
https://github.com/flathub/org.qgis.qgis/issues/28#issuecomment-587224383
It looks like you can run python (so pip?) command within your flatpak
environment (which is different then your default qgis profile
envirnoment).

If you find out, please report back so we can update the flatpak
instructions on the download page.

Regards,

Richard Duivenvoorde


Hi Richard,

actually, I do not intend to fumble myself deeper in this stuff, but
have the hope that some more enlightened people could give some more
detailed instructions how to proceed the before-mentioned workaround.
So, maybe 5 sentences on the matter might be better than only the one
given so far.

Cheers,

Bernd


On 5/28/20 12:22 PM, Bernd Vogelgesang wrote:

On 30.09.18 11:39, Daniele Viganò wrote:

Thanks Aleix and the other devs for the excellent work!

I confirm that it's working well, at least on my Fedora 28 and 29beta.

I had only issues with plugins that are requiring extra Python
dependencies which are not available in the flatpak image (like scipy
and matplotlib).
I was able to find a workaround which is to extract the corresponding
python wheels (for the proper python version, cp35) in the python
folder under the application user storage (which is located under
$HOME/.var/); that path is already part of sys.path.

There's any better way to address that?

Cheers,
Daniele


Sorry for digging up this old thread, but as after upgrading QGIS, my
normal install on Linux Mint is (again) gone, so a I fell back on the
flatpak version which I installed recently to try.

Now I luckily found this thread dealing with missing python modules in
flatpak.
I tried to install "Distant measurement styles" via the Resource Sharing
plugin.

This did not work, cause "urlib3" is missing.

Could someone elaborate more on that python wheels stuff and where to
install what (exactly) to add missing python dependencies to the
flatpak?
  From what I read, I only understood half and I would like to keep at
least one functional QGIS version.

Cheers,

Bernd





---
Daniele Viganò
http://daniele.vigano.me

On mobile, please excuse my brevity.

On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde mailto:rdmaili...@duif.net>> wrote:

  Hi,

  Thanks to some devs and Aleix Pol @aleixpol in particular,
there is a
  (for me working!) flatpak available for QGIS 3.2.x on flathub:

  https://flathub.org/apps/details/org.qgis.qgis

  Short intro:
  https://qgis.org/en/site/forusers/alldownloads.html#flatpak

  Try test and create issues here
  https://github.com/flathub/org.qgis.qgis
  if you encounter some flathub related issues..

  I think it is a nice addition for fresh Linux users to easily
install
  and try out QGIS, independent of lib/qt/gdal/whatever versions

  Regards,

  Richard Duivenvoorde
  ___
  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 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

Re: [QGIS-Developer] Linux users: wanna flatpak?

2020-05-28 Thread Richard Duivenvoorde

FYI:

https://github.com/flathub/org.qgis.qgis/issues/59

As I reckon there are not too many flatpak users around here in qgis dev

Regards,

Richard Duivenvoorde

On 5/28/20 1:27 PM, Bernd Vogelgesang wrote:
> 
> On 28.05.20 12:48, Richard Duivenvoorde wrote:
>> Hi Bernd,
>>
>> I do not know how to fix this, but I would create an issue at the
>> flatpak repo:
>>
>> https://github.com/flathub/org.qgis.qgis/issues
>>
>> They are rather responsive.
>> In here:
>> https://github.com/flathub/org.qgis.qgis/issues/28#issuecomment-587224383
>> It looks like you can run python (so pip?) command within your flatpak
>> environment (which is different then your default qgis profile
>> envirnoment).
>>
>> If you find out, please report back so we can update the flatpak
>> instructions on the download page.
>>
>> Regards,
>>
>> Richard Duivenvoorde
>>
> Hi Richard,
> 
> actually, I do not intend to fumble myself deeper in this stuff, but
> have the hope that some more enlightened people could give some more
> detailed instructions how to proceed the before-mentioned workaround.
> So, maybe 5 sentences on the matter might be better than only the one
> given so far.
> 
> Cheers,
> 
> Bernd
> 
>>
>> On 5/28/20 12:22 PM, Bernd Vogelgesang wrote:
>>> On 30.09.18 11:39, Daniele Viganò wrote:
 Thanks Aleix and the other devs for the excellent work!

 I confirm that it's working well, at least on my Fedora 28 and 29beta.

 I had only issues with plugins that are requiring extra Python
 dependencies which are not available in the flatpak image (like scipy
 and matplotlib).
 I was able to find a workaround which is to extract the corresponding
 python wheels (for the proper python version, cp35) in the python
 folder under the application user storage (which is located under
 $HOME/.var/); that path is already part of sys.path.

 There's any better way to address that?

 Cheers,
 Daniele

>>> Sorry for digging up this old thread, but as after upgrading QGIS, my
>>> normal install on Linux Mint is (again) gone, so a I fell back on the
>>> flatpak version which I installed recently to try.
>>>
>>> Now I luckily found this thread dealing with missing python modules in
>>> flatpak.
>>> I tried to install "Distant measurement styles" via the Resource Sharing
>>> plugin.
>>>
>>> This did not work, cause "urlib3" is missing.
>>>
>>> Could someone elaborate more on that python wheels stuff and where to
>>> install what (exactly) to add missing python dependencies to the
>>> flatpak?
>>>  From what I read, I only understood half and I would like to keep at
>>> least one functional QGIS version.
>>>
>>> Cheers,
>>>
>>> Bernd
>>>
>>>
>>>
>>>
 ---
 Daniele Viganò
 http://daniele.vigano.me

 On mobile, please excuse my brevity.

 On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde >>> > wrote:

  Hi,

  Thanks to some devs and Aleix Pol @aleixpol in particular,
 there is a
  (for me working!) flatpak available for QGIS 3.2.x on flathub:

  https://flathub.org/apps/details/org.qgis.qgis

  Short intro:
  https://qgis.org/en/site/forusers/alldownloads.html#flatpak

  Try test and create issues here
  https://github.com/flathub/org.qgis.qgis
  if you encounter some flathub related issues..

  I think it is a nice addition for fresh Linux users to easily
 install
  and try out QGIS, independent of lib/qt/gdal/whatever versions

  Regards,

  Richard Duivenvoorde
  ___
  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 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

Re: [QGIS-Developer] Linux users: wanna flatpak?

2020-05-28 Thread Bernd Vogelgesang


On 28.05.20 12:48, Richard Duivenvoorde wrote:

Hi Bernd,

I do not know how to fix this, but I would create an issue at the
flatpak repo:

https://github.com/flathub/org.qgis.qgis/issues

They are rather responsive.
In here:
https://github.com/flathub/org.qgis.qgis/issues/28#issuecomment-587224383
It looks like you can run python (so pip?) command within your flatpak
environment (which is different then your default qgis profile envirnoment).

If you find out, please report back so we can update the flatpak
instructions on the download page.

Regards,

Richard Duivenvoorde


Hi Richard,

actually, I do not intend to fumble myself deeper in this stuff, but
have the hope that some more enlightened people could give some more
detailed instructions how to proceed the before-mentioned workaround.
So, maybe 5 sentences on the matter might be better than only the one
given so far.

Cheers,

Bernd



On 5/28/20 12:22 PM, Bernd Vogelgesang wrote:

On 30.09.18 11:39, Daniele Viganò wrote:

Thanks Aleix and the other devs for the excellent work!

I confirm that it's working well, at least on my Fedora 28 and 29beta.

I had only issues with plugins that are requiring extra Python
dependencies which are not available in the flatpak image (like scipy
and matplotlib).
I was able to find a workaround which is to extract the corresponding
python wheels (for the proper python version, cp35) in the python
folder under the application user storage (which is located under
$HOME/.var/); that path is already part of sys.path.

There's any better way to address that?

Cheers,
Daniele


Sorry for digging up this old thread, but as after upgrading QGIS, my
normal install on Linux Mint is (again) gone, so a I fell back on the
flatpak version which I installed recently to try.

Now I luckily found this thread dealing with missing python modules in
flatpak.
I tried to install "Distant measurement styles" via the Resource Sharing
plugin.

This did not work, cause "urlib3" is missing.

Could someone elaborate more on that python wheels stuff and where to
install what (exactly) to add missing python dependencies to the flatpak?
 From what I read, I only understood half and I would like to keep at
least one functional QGIS version.

Cheers,

Bernd





---
Daniele Viganò
http://daniele.vigano.me

On mobile, please excuse my brevity.

On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde mailto:rdmaili...@duif.net>> wrote:

 Hi,

 Thanks to some devs and Aleix Pol @aleixpol in particular, there is a
 (for me working!) flatpak available for QGIS 3.2.x on flathub:

 https://flathub.org/apps/details/org.qgis.qgis

 Short intro:
 https://qgis.org/en/site/forusers/alldownloads.html#flatpak

 Try test and create issues here
 https://github.com/flathub/org.qgis.qgis
 if you encounter some flathub related issues..

 I think it is a nice addition for fresh Linux users to easily install
 and try out QGIS, independent of lib/qt/gdal/whatever versions

 Regards,

 Richard Duivenvoorde
 ___
 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 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

Re: [QGIS-Developer] Linux users: wanna flatpak?

2020-05-28 Thread Richard Duivenvoorde
Hi Bernd,

I do not know how to fix this, but I would create an issue at the
flatpak repo:

https://github.com/flathub/org.qgis.qgis/issues

They are rather responsive.
In here:
https://github.com/flathub/org.qgis.qgis/issues/28#issuecomment-587224383
It looks like you can run python (so pip?) command within your flatpak
environment (which is different then your default qgis profile envirnoment).

If you find out, please report back so we can update the flatpak
instructions on the download page.

Regards,

Richard Duivenvoorde



On 5/28/20 12:22 PM, Bernd Vogelgesang wrote:
> On 30.09.18 11:39, Daniele Viganò wrote:
>> Thanks Aleix and the other devs for the excellent work!
>>
>> I confirm that it's working well, at least on my Fedora 28 and 29beta.
>>
>> I had only issues with plugins that are requiring extra Python
>> dependencies which are not available in the flatpak image (like scipy
>> and matplotlib).
>> I was able to find a workaround which is to extract the corresponding
>> python wheels (for the proper python version, cp35) in the python
>> folder under the application user storage (which is located under
>> $HOME/.var/); that path is already part of sys.path.
>>
>> There's any better way to address that?
>>
>> Cheers,
>> Daniele
>>
> Sorry for digging up this old thread, but as after upgrading QGIS, my
> normal install on Linux Mint is (again) gone, so a I fell back on the
> flatpak version which I installed recently to try.
> 
> Now I luckily found this thread dealing with missing python modules in
> flatpak.
> I tried to install "Distant measurement styles" via the Resource Sharing
> plugin.
> 
> This did not work, cause "urlib3" is missing.
> 
> Could someone elaborate more on that python wheels stuff and where to
> install what (exactly) to add missing python dependencies to the flatpak?
> From what I read, I only understood half and I would like to keep at
> least one functional QGIS version.
> 
> Cheers,
> 
> Bernd
> 
> 
> 
> 
>> ---
>> Daniele Viganò
>> http://daniele.vigano.me
>>
>> On mobile, please excuse my brevity.
>>
>> On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde > > wrote:
>>
>> Hi,
>>
>> Thanks to some devs and Aleix Pol @aleixpol in particular, there is a
>> (for me working!) flatpak available for QGIS 3.2.x on flathub:
>>
>> https://flathub.org/apps/details/org.qgis.qgis
>>
>> Short intro:
>> https://qgis.org/en/site/forusers/alldownloads.html#flatpak
>>
>> Try test and create issues here
>> https://github.com/flathub/org.qgis.qgis
>> if you encounter some flathub related issues..
>>
>> I think it is a nice addition for fresh Linux users to easily install
>> and try out QGIS, independent of lib/qt/gdal/whatever versions
>>
>> Regards,
>>
>> Richard Duivenvoorde
>> ___
>> 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 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

Re: [QGIS-Developer] Linux users: wanna flatpak?

2020-05-28 Thread Bernd Vogelgesang

On 30.09.18 11:39, Daniele Viganò wrote:

Thanks Aleix and the other devs for the excellent work!

I confirm that it's working well, at least on my Fedora 28 and 29beta.

I had only issues with plugins that are requiring extra Python
dependencies which are not available in the flatpak image (like scipy
and matplotlib).
I was able to find a workaround which is to extract the corresponding
python wheels (for the proper python version, cp35) in the python
folder under the application user storage (which is located under
$HOME/.var/); that path is already part of sys.path.

There's any better way to address that?

Cheers,
Daniele


Sorry for digging up this old thread, but as after upgrading QGIS, my
normal install on Linux Mint is (again) gone, so a I fell back on the
flatpak version which I installed recently to try.

Now I luckily found this thread dealing with missing python modules in
flatpak.
I tried to install "Distant measurement styles" via the Resource Sharing
plugin.

This did not work, cause "urlib3" is missing.

Could someone elaborate more on that python wheels stuff and where to
install what (exactly) to add missing python dependencies to the flatpak?
From what I read, I only understood half and I would like to keep at
least one functional QGIS version.

Cheers,

Bernd





---
Daniele Viganò
http://daniele.vigano.me

On mobile, please excuse my brevity.

On Sat, Sep 29, 2018, 18:12 Richard Duivenvoorde mailto:rdmaili...@duif.net>> wrote:

Hi,

Thanks to some devs and Aleix Pol @aleixpol in particular, there is a
(for me working!) flatpak available for QGIS 3.2.x on flathub:

https://flathub.org/apps/details/org.qgis.qgis

Short intro:
https://qgis.org/en/site/forusers/alldownloads.html#flatpak

Try test and create issues here
https://github.com/flathub/org.qgis.qgis
if you encounter some flathub related issues..

I think it is a nice addition for fresh Linux users to easily install
and try out QGIS, independent of lib/qt/gdal/whatever versions

Regards,

Richard Duivenvoorde
___
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 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 [1963] Mappia Publisher approval notification.

2020-05-28 Thread noreply

Plugin Mappia Publisher approval by zimbogisgeek.
The plugin version "[1963] Mappia Publisher 2.4.0" is now approved
Link: http://plugins.qgis.org/plugins/mappia_publisher/
___
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