Re: [Qgis-user] [QGIS-Developer] Zoom to Scale Plugin - Should we include it on qgis.org?

2020-02-20 Thread Alexander Bruy
Also QGIS allows to create custom scale lists and switch between scales
by selecting desired value from the scale combobox in the main window
statusbar.

пт, 21 лют. 2020 о 00:48 Nyall Dawson  пише:
>
> On Fri, 21 Feb 2020 at 05:37, C Hamilton  wrote:
> >
> > We have written a plugin that fixes the scale of the QGIS canvas to match 
> > the integral size of EPSG:3857 map server tiles. This way there is no 
> > degradation of the images by transformation. This has some similarities to 
> > the QGIS 2 plugin called Tile Map Scale Plugin which was never updated for 
> > QGIS 3.
>
> How is this different to the built-in "Tile Scale" panel? Can you clarify?
>
> Nyall
>
> >
> > This only works with EPSG:3857 projections. I wish I could figure out a way 
> > to also match an EPSG:4326 tile cache to the canvas scale size, but I 
> > cannot use the map scale to calculate this because it changes as you move 
> > around.
> >
> > Would you be interested in having this plugin added into the QGIS repo? 
> > Unlike the Tile Map Scale Plugin ours only has a single toggle button to 
> > lock or unlock the QGIS scale to one of the predefined scales.
> >
> > Let me know what you think?
> >
> > Thanks,
> >
> > Calvin
> > ___
> > QGIS-Developer mailing list
> > qgis-develo...@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-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alexander Bruy
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] Zoom to Scale Plugin - Should we include it on qgis.org?

2020-02-20 Thread Nyall Dawson
On Fri, 21 Feb 2020 at 05:37, C Hamilton  wrote:
>
> We have written a plugin that fixes the scale of the QGIS canvas to match the 
> integral size of EPSG:3857 map server tiles. This way there is no degradation 
> of the images by transformation. This has some similarities to the QGIS 2 
> plugin called Tile Map Scale Plugin which was never updated for QGIS 3.

How is this different to the built-in "Tile Scale" panel? Can you clarify?

Nyall

>
> This only works with EPSG:3857 projections. I wish I could figure out a way 
> to also match an EPSG:4326 tile cache to the canvas scale size, but I cannot 
> use the map scale to calculate this because it changes as you move around.
>
> Would you be interested in having this plugin added into the QGIS repo? 
> Unlike the Tile Map Scale Plugin ours only has a single toggle button to lock 
> or unlock the QGIS scale to one of the predefined scales.
>
> Let me know what you think?
>
> Thanks,
>
> Calvin
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] Zoom to Scale Plugin - Should we include it on qgis.org?

2020-02-20 Thread C Hamilton
Richard,

Thanks for that information. I meant plugins.qgis.org. From the URL you
sent it looks like it has many of the components and it gives me ideas for
EPSG:4326.

Unless someone else is working on this I will submit a plugin after I see
if I can make it work with other CRS tile caches.

Thanks,

Calvin

On Thu, Feb 20, 2020 at 2:58 PM Richard Duivenvoorde 
wrote:

> Hi Chris,
>
> One year ago I proposed the following: a tree embedded widget to be used
> for WMS/WMTS layers. It uses the functionality which is in the Juergens
> Tile Scale Panel:
>
>
> http://www.qgis.nl/2019/02/14/about-layer-tree-embedded-widgets-and-have-your-wmts-always-crispy-sharp/?lang=en
>
> Probably you mean something else? As it is not resizing the servertiles,
> but 'clicking' to the right scales (coming from the capability
> documents) of the active layer.
>
> If you mean plugins.qgis.org when you talk 'adding it to the repo' I
> would say yes! Why not?
> If you say add it by default to QGIS, I'd say: let's first see and check
> it out as plugin :-)
> Also (see discussion about resources plugin) adding python plugins to
> QGIS installs has some drawbacks.
>
> Regards,
>
> Richard Duivenvoorde
>
>
> On 2/20/20 8:37 PM, C Hamilton wrote:
> > We have written a plugin that fixes the scale of the QGIS canvas to
> > match the integral size of EPSG:3857 map server tiles. This way there is
> > no degradation of the images by transformation. This has some
> > similarities to the QGIS 2 plugin called Tile Map Scale Plugin which was
> > never updated for QGIS 3.
> >
> > This only works with EPSG:3857 projections. I wish I could figure out a
> > way to also match an EPSG:4326 tile cache to the canvas scale size, but
> > I cannot use the map scale to calculate this because it changes as you
> > move around.
> >
> > Would you be interested in having this plugin added into the QGIS repo?
> > Unlike the Tile Map Scale Plugin ours only has a single toggle button to
> > lock or unlock the QGIS scale to one of the predefined scales.
> >
> > Let me know what you think?
> >
> > Thanks,
> >
> > Calvin
> >
> > ___
> > QGIS-Developer mailing list
> > qgis-develo...@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] Zoom to Scale Plugin - Should we include it on qgis.org?

2020-02-20 Thread Richard Duivenvoorde
Hi Chris,

One year ago I proposed the following: a tree embedded widget to be used
for WMS/WMTS layers. It uses the functionality which is in the Juergens
Tile Scale Panel:

http://www.qgis.nl/2019/02/14/about-layer-tree-embedded-widgets-and-have-your-wmts-always-crispy-sharp/?lang=en

Probably you mean something else? As it is not resizing the servertiles,
but 'clicking' to the right scales (coming from the capability
documents) of the active layer.

If you mean plugins.qgis.org when you talk 'adding it to the repo' I
would say yes! Why not?
If you say add it by default to QGIS, I'd say: let's first see and check
it out as plugin :-)
Also (see discussion about resources plugin) adding python plugins to
QGIS installs has some drawbacks.

Regards,

Richard Duivenvoorde


On 2/20/20 8:37 PM, C Hamilton wrote:
> We have written a plugin that fixes the scale of the QGIS canvas to
> match the integral size of EPSG:3857 map server tiles. This way there is
> no degradation of the images by transformation. This has some
> similarities to the QGIS 2 plugin called Tile Map Scale Plugin which was
> never updated for QGIS 3.
> 
> This only works with EPSG:3857 projections. I wish I could figure out a
> way to also match an EPSG:4326 tile cache to the canvas scale size, but
> I cannot use the map scale to calculate this because it changes as you
> move around.
> 
> Would you be interested in having this plugin added into the QGIS repo?
> Unlike the Tile Map Scale Plugin ours only has a single toggle button to
> lock or unlock the QGIS scale to one of the predefined scales.
> 
> Let me know what you think?
> 
> Thanks,
> 
> Calvin
> 
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Zoom to Scale Plugin - Should we include it on qgis.org?

2020-02-20 Thread C Hamilton
We have written a plugin that fixes the scale of the QGIS canvas to match
the integral size of EPSG:3857 map server tiles. This way there is no
degradation of the images by transformation. This has some similarities to
the QGIS 2 plugin called Tile Map Scale Plugin which was never updated for
QGIS 3.

This only works with EPSG:3857 projections. I wish I could figure out a way
to also match an EPSG:4326 tile cache to the canvas scale size, but I
cannot use the map scale to calculate this because it changes as you move
around.

Would you be interested in having this plugin added into the QGIS repo?
Unlike the Tile Map Scale Plugin ours only has a single toggle button to
lock or unlock the QGIS scale to one of the predefined scales.

Let me know what you think?

Thanks,

Calvin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Thoughts on QGIS Development and LTR Releases

2020-02-20 Thread Régis Haubourg
Hi Chris,
I share most of your concerns, as much as I advocate the spread of QGIS in
enterprise and organisations.
It is true we need always more reliability, documentation.  I'd like also
to point that 2.x is not so far away, and that the reliability have since
improved by order of magnitude.
Let's also keep in mind that the level of expectations of users grows very
fast too, so this is a race that will never end ;-)

However, I think there is a cultural problem, and probably a pedagogy
effort we should make.

LTR does not mean stable. LTR means it will gain bugfixes longer than
releases. So it is highly expectable that installing a LTR in its early
versions will let you hit more issues.  I remember the very same situation
for ArcGIS 8 or 9 early stages. And this is the very same for linux
distributions or any software. I don't remember any  early x.0 release in
QGIS that was not followed one week later by an urgent point release. But
new users don't know this. They see a big green button "download that sexy
new version".

That said, how to improve the situation? After years of discussions in the
various events, hackfest, conferences, discussions with public or private
customers, developpers, here are the possible leads we have:

- Keep on explaining the rationale and codes of free software to users and
potential funders.

- Try to keep our "power users / early testers" population, so that we
target the right issues during bugfix sprints.

- Offer longer LTR lifespan, so that funders have a larger window to
actually find and have bug fixed.

- Keep on explaining that QGIS bugfix release should be easily deployable
in big organisations. OSGEO4W silent installs allows this. Maybe going
toward auto upgrade /  patch system could help (it's a big effort though)

- Keep on gaining more budget for QGIS.org, so that we can setup a real
semi automated Q/A acceptance test suite. This requires human tests.
Boundless did, it is possible. It is a matter of ressources. Should it be
centralized or community powered ? I have no idea, but this requires
someone to be hired all year long to do this. IMO, enterprises requiring
such reliability should really consider sponsoring this framework and
dedicate some human ressources.

- Same goes for documentation

- Same goes for code review, we need to have more reviewers. the learning
curve is steep though, and we need to find money for this

- Improve the website with a simple page, with graphics and videos on what
is the lifecycle of QGIS, and what version to use for what expectations.


A note about QGIS.org budget. To me, it is only a leverage, a catalyser,
but it can't fund itself a full QA infrastructure with the current economic
model of the association. I think, this is our responsability to spread
this word everywhere so that the user / contributor rate changes a bit.

After all, even Microsoft with its thousands of testers, and its early
testing network was able to push updates causing the famous Blue Screen Of
the Death.
So shit can happen. Packaging nightmare with major changes in underlying
libraries remains a really really complex process. How fast we are to fix
and change our ways to do is the real question. I think the QGIS and OSGeo
Community does a tremendeous work.

Best regards,
Régis




Le jeu. 20 févr. 2020 à 16:21, C Hamilton  a écrit :

> I first want to say how much I appreciate all of the QGIS developers and
> all of your hard work, but I would also like to suggest that you exercise
> caution when you label a release LTR. I work in a large organization where
> most geospatial analysts can have access to ArcGIS if they want it. The
> advantage to ArcGIS is that everyone has been trained to use it, ESRI has
> been around for a long time and there is a lot of documentation, training
> and support for it. So why would users want to use QGIS?
>
> There are always a curious few who see QGIS and realize they can download
> it for free at home. They tinker with it and come to like it and then they
> try it in the workplace. For the users who have ArcGIS at their disposal
> there must be a good reason to use QGIS instead. These tend to be the
> reasons they use QGIS: 1) It does not crash as much as ArcGIS. 2) It is
> faster than ArcGIS. 3) It can effectively processing larger data sets than
> ArcGIS. 4) There may be some workflow in QGIS that is simpler than in
> ArcGIS.
>
> I think that the QGIS community can be proud about the fact that most of
> my users who start using QGIS love it and don't want to go back to ArcGIS
> if at all possible.
>
> If a user finds that their reason for using QGIS goes away, they will be
> disappointed, but will to go back to ArcGIS. I am an advocate for QGIS in
> our work place. I think it should be used more, but it is really, really
> hard to convince most people. Most of my users are not programmers so if
> something is broken they don' t know how to fix it. We have QGIS support
> contracts which help. Users consider the QGIS 

[Qgis-user] Thoughts on QGIS Development and LTR Releases

2020-02-20 Thread C Hamilton
I first want to say how much I appreciate all of the QGIS developers and
all of your hard work, but I would also like to suggest that you exercise
caution when you label a release LTR. I work in a large organization where
most geospatial analysts can have access to ArcGIS if they want it. The
advantage to ArcGIS is that everyone has been trained to use it, ESRI has
been around for a long time and there is a lot of documentation, training
and support for it. So why would users want to use QGIS?

There are always a curious few who see QGIS and realize they can download
it for free at home. They tinker with it and come to like it and then they
try it in the workplace. For the users who have ArcGIS at their disposal
there must be a good reason to use QGIS instead. These tend to be the
reasons they use QGIS: 1) It does not crash as much as ArcGIS. 2) It is
faster than ArcGIS. 3) It can effectively processing larger data sets than
ArcGIS. 4) There may be some workflow in QGIS that is simpler than in
ArcGIS.

I think that the QGIS community can be proud about the fact that most of my
users who start using QGIS love it and don't want to go back to ArcGIS if
at all possible.

If a user finds that their reason for using QGIS goes away, they will be
disappointed, but will to go back to ArcGIS. I am an advocate for QGIS in
our work place. I think it should be used more, but it is really, really
hard to convince most people. Most of my users are not programmers so if
something is broken they don' t know how to fix it. We have QGIS support
contracts which help. Users consider the QGIS LTR to be a stable release.
If you release the LTR before it is stable, then that can have bad
consequences to our user base.

QGIS 3.10.2 probably should not have been labeled LTR, but I have been
actively telling our workforce not to use 3.10 yet. 3.10.2 still seems to
have some serious bugs as it is frequently crashing (negating one of the
reasons for using QGIS). There must be a WMTS problem that is causing it to
crash and I have had a report that there is a serious memory bug. I am
hoping that 3.10.3 will have solved most of these problems, but I am not
going to count on it until I test it. Everyone has different uses for QGIS
and different workflows and each person's experiences are going to be
different, but I would suggest that you don't mark a release LTR until it
is reliable. Additionally, I suggest that you never back port major
libraries or capabilities into the LTR like what happened last fall. Only
fix the bugs. As saying goes, "If it isn't broken, don't fix it." I still
have users on QGIS 2.x and they love it and it works for their needs.

I share this with you in the hope that it is helpful.

The best to you all,

Calvin
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-20 Thread J. M
Hi again Andre,

Thanks for that, I more or less get what you mean. The problem is that when
I ran autoremove it came back with almost a gig of dependencies it wanted
to remove, so I cancelled it! QGIS wasn't the last program I installed so I
have no idea how to purge only the dependencies directly related to the
previous version of it I was running. If I run autoremove and it damages
other applications or makes my system unusable then I won't be able to fix
it (I'm only a user, I've got no background in programming). I read around
and people warned strongly against doing this unless you're sure what you
want to remove. How can I be sure I only remove the right dependencies?
Does QGIS have a list or something I can use as a guide?

If anyone could explain how to use Synaptic package manager then I'd be
really grateful! It must have the most unintuitive interface of any piece
of software I've ever tried to use..

I edited the source file last time I installed it, so that part is done.
Incidentally, I don't see the 'other Software' tab in the Ubuntu Software
Center, so I just edited it manually. Any idea what that package is called?
I'm happy enough using the terminal if I know (roughly) what I'm doing!

Thanks a lot team,
Jimi.

On Wed, Feb 19, 2020 at 8:18 PM Andre Joost 
wrote:

> Am 18.02.20 um 23:58 schrieb J. M:
> > Hi again Andre,
> >
> > I don't actually understand what to do with this, because I can't run
> 'sudo
> > apt-get install qgis qgis-plugin-grass' as it keeps giving me the same
> > error messages about broken packages.
>
> Yes, because you have packages that are compiled against a set of
> libraries that does not match your computer. You have to remove,
> autoremove and purge those QGIS packages to force a download from the
> right folder.
>
>
> > When you say this, I don't get what this link does. I click on it and it
> > just takes me into a file hierarchy. Are users supposed to obtain the
> > downloads from here, or is it purely informative?
> > Try
> > deb https://qgis.org/ubuntugis bionic main
>
> That should go into your sources list, to replace the QGIS download
> source you used before. The Ubuntu Software center has a tab for "other
> Software" that holds the same information, so no need to edit the
> sources file manually.
>
> HTH,
> Andre Joost
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS release confusion

2020-02-20 Thread Mats Elfström
 Hi!
I am a bit confused about the current QGIS releases.
The splash screen for QGIS 3.10.2 says Long Term Release, but the download
page maintains that 3.4.15 is the LTR. or Long Term Release Repositories
(LTRR?).
Instructions for the Network installer says
"To get the *long term release* (that is not also the latest release)..."
Which one would that be?
And the road map says that 3.10.3 will be LR/PR, due tomorrow. And no LTR
until october.
Is there a difference between Long Term Release and Long Term Repositories?
The release schedule says "four monthly releases with LTRs in late
february".
Please clarify.

Regards, Mats.E

-- 
__
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: mats.elfst...@giskraft.com 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Semi Automatic Classification Plugin and Python3.8

2020-02-20 Thread giovanni . rossetto . 4
Hi all, it's my first message here and i hope to be ok with this.

I use manjaro linux (based on arch) which comes with python3.8 right
now. 
I have a problem with the plugin Semi Automatic Classification that
calls a python error:

>EndT = cfg.timeSCP.clock()
>AttributeError: module 'time' has no attribute 'clock'

Googling i found out that it might not like python 3.8, so i am trying
to run qgis with python3.7 with no success.

I tryied venv also, but it seems that qgis in venv does not even load
python.

The 3.7 version is apparently running on my machine infact:
> $ python3.7
> Python 3.7.6 (default, Feb 20 2020, 09:49:29) 
[...]


Hoping for any tip,
Giovanni Rossetto

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user