Re: [QGIS-Developer] A Couple of Plugin Ideas

2017-05-25 Thread Ganeshkumar Shanmugam
hi


Geospatial Animator
> What I am thinking of is a plugin where you can define a series key
> locations keeping track of the (X,Y) coordinate and zoom level.
> Additionally there would be a step size and it would output either
> rendered frames or a video.
>
>
Have you looked at this plugin? some similarity...

https://anitagraser.com/projects/time-manager/


​Ganesh​




On Fri, May 26, 2017 at 3:53 AM, C Hamilton  wrote:

> I have been toying with writing a couple of QGIS plugins and wanted to
> check to see if anyone else is doing something similar and to see if there
> is interest.
> ​​
>
> 1. Geospatial Animator
> What I am thinking of is a plugin where you can define a series key
> locations keeping track of the (X,Y) coordinate and zoom level.
> Additionally there would be a step size and it would output either rendered
> frames or a video.
>
> 2. Another Measure Tool
> As a preface I was looking at some old archaeological records and it was
> giving site locations based off of the previous location with a distance
> and bearing. As far as I can tell there is no tools that interactively
> gives both of these values.
>
> I would like a measure tool that provides the distance between points A &
> B, the bearing from point A to B, and the bearing from point B to A.
>
> I would appreciate any thoughts you have or whether someone is already
> working on this.
>
> Thanks,
>
> Calvin
>
> ___
> 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] QGIS 2.18.x Attribute Table Performance

2017-05-25 Thread Ted
Hi,

I'm facing a HIGHLY DEGRADED performance with attribute table opening with
version 2.18.x (2.18.8 and 2.18.7) when we have more than 100K rows. (in
this case 161K)

I'm looking at an OLD application done 5 years back with a custom QGIS 1.7,
PostgreSQL 9.0 and PostGIS.

The performance at that time was high commendable and it worked very well.
See the video here;
https://www.youtube.com/watch?v=3rjeqgFK5GA
(this video was taken on a Virtual Machine)

Recently we stepped into upgrade the technology stack and to my surprise,
the current version of QGIS 2.18.8 is way TOO slow and this goes all
against the QGIS in the Government environment.

While keeping the DB on the VM environment, we tested it on different
platform and version;

QGIS 2.18.8 (latest) ruining on Windows 10 environment
https://www.youtube.com/watch?v=k19tEqSK-1Y=64s
Took nearly 2 minutes to open !!!

QGIS 2.18.7 ruining on MacOS environment
https://www.youtube.com/watch?v=S1eg2K17Z1E=15s
Again took more than 2 minutes to open !!!

QGIS 2.14.14 (LTR) ruining on MacOS environment
https://www.youtube.com/watch?v=Sv-qklLFCHA
Took only 5 seconds to open :)


So, it appears that something has gone SERIOUSLY WRONG between the version
2.14.x and 2.18.x

Since 2.18.x is marked as LTR version, I really hope this issue is fixed
since most of the government environments adopt only the LTR version and
with such performance it goes against QGIS.

The next LTR is 3.2 which is more than a year later. Can you please look
into this issue?

Thanks and Cheers !


Ted
___
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-user] A Couple of Plugin Ideas

2017-05-25 Thread Nyall Dawson
On 26 May 2017 at 05:53, C Hamilton  wrote:

> I would like a measure tool that provides the distance between points A & B,
> the bearing from point A to B, and the bearing from point B to A.
>

This certainly sounds useful!

I'm wondering - instead of adding this as a plugin, how about adding
it into the default QGIS measure tool instead? I'm happy to help out
with mentoring c++ changes if you need it.

Nyall
___
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 [624] VectorMCDA approval notification.

2017-05-25 Thread noreply

Plugin VectorMCDA approval by pcav.
The plugin version "[624] VectorMCDA 1.1.2" is now approved
Link: http://plugins.qgis.org/plugins/VectorMCDA/
___
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] A Couple of Plugin Ideas

2017-05-25 Thread C Hamilton
I have been toying with writing a couple of QGIS plugins and wanted to
check to see if anyone else is doing something similar and to see if there
is interest.

1. Geospatial Animator
What I am thinking of is a plugin where you can define a series key
locations keeping track of the (X,Y) coordinate and zoom level.
Additionally there would be a step size and it would output either rendered
frames or a video.

2. Another Measure Tool
As a preface I was looking at some old archaeological records and it was
giving site locations based off of the previous location with a distance
and bearing. As far as I can tell there is no tools that interactively
gives both of these values.

I would like a measure tool that provides the distance between points A &
B, the bearing from point A to B, and the bearing from point B to A.

I would appreciate any thoughts you have or whether someone is already
working on this.

Thanks,

Calvin
___
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 [970] TUFLOW approval notification.

2017-05-25 Thread noreply

Plugin TUFLOW approval by pcav.
The plugin version "[970] TUFLOW 1.2" is now approved
Link: http://plugins.qgis.org/plugins/tuflow/
___
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 [1035] Lat Lon Tools approval notification.

2017-05-25 Thread noreply

Plugin Lat Lon Tools approval by pcav.
The plugin version "[1035] Lat Lon Tools 0.9" is now approved
Link: http://plugins.qgis.org/plugins/latlontools/
___
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] hasCrsTransformEnabled removed?

2017-05-25 Thread Nyall Dawson
On 25 May 2017 at 19:26, Radim Blazek  wrote:
> Hi,
>
> I found in http://qgis.org/api/api_break.html:
> setCrsTransformEnabled(), hasCrsTransformEnabled(),
> hasCrsTransformEnabledChanged() were removed. CRS transformation is
> now always enabled.
>
> But in Project Properties CRS there is now "No projection" checkbox
> instead of "Enable on the fly reprojection" in QGIS2, so basically the
> same, inverted. Which method to use to get 'No projection' state and
> which signal is emitted when it is changed?
>
> QgsProject().instance().crs().isValid() or
> QgsProject().instance().crs() == NULL?
> QgsProject().instance().crsChanged()?

"No projection" is subtly different to OTF off. No projection is
basically a "non earth" mode, where coordinates are treated exactly as
they are and all measurements become unitless.

QgsProject().instance().crs().isValid() will return false if this mode
is turned on. QgsProject().instance().crsChanged() will be emitted
when it's switched on or off.

Nyall
___
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] hasCrsTransformEnabled removed?

2017-05-25 Thread Radim Blazek
Hi,

I found in http://qgis.org/api/api_break.html:
setCrsTransformEnabled(), hasCrsTransformEnabled(),
hasCrsTransformEnabledChanged() were removed. CRS transformation is
now always enabled.

But in Project Properties CRS there is now "No projection" checkbox
instead of "Enable on the fly reprojection" in QGIS2, so basically the
same, inverted. Which method to use to get 'No projection' state and
which signal is emitted when it is changed?

QgsProject().instance().crs().isValid() or
QgsProject().instance().crs() == NULL?
QgsProject().instance().crsChanged()?

Thanks
Radim
___
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] Min Qt version

2017-05-25 Thread Nyall Dawson
On 25 May 2017 at 17:18, Radim Blazek  wrote:
> On Mon, Feb 20, 2017 at 11:42 AM, Denis Rouzaud  
> wrote:
>>> On Tue, Feb 7, 2017 at 10:43 AM, Jürgen E. Fischer  wrote:
 On Tue, 07. Feb 2017 at 09:11:25 +1000, Nyall Dawson wrote:
>> INSTALL says in requirements Qt >= 5.3.0, Debian stable has 5.3.2.
> That's a mistake. AFAIK we are targeting 5.3 to cater for Debian.
 Debian jessie (stable) has GDAL 1.10.1 - too old for us.
>>> On Tue, Feb 7, 2017 at 10:51 AM, Nyall Dawson  
>>> wrote:
>>> Ah - I didn't realise. So what's the minimum target now? 5.5 to match 
>>> Xenial?
>
>> Is there a decision here?
>> What min Qt version is the requirement: 5.3 or 5.7?
>
> I can just confirm again that Qt 5.3 is not enough, for example (but
> there will be more):
> https://github.com/qgis/QGIS/commit/7eb63d99dceddbe7ea10a51149800d0e0326c19a#commitcomment-8267
>
> What min version of Qt are you able to compile with? We should update INSTALL.
>
> In INSTALL requirements it is also written: Qwt >= 5.0 & (< 6.1 with
> internal QwtPolar)
> but Qwt 6.0 does not compile with Qt >= 5.4:
> http://www.qtcentre.org/archive/index.php/t-63275.html
> Is it still true that Qwt must be < 6.1? I have compiled with 6.1.3
> (but not tested related functionality).

I can't help with minimum Qt version (it's either 5.4 or 5.5, but I
don't believe a firm decision has been made), but the minimum Qwt is
6.1. In this case the INSTALL is incorrect and needs to be updated.

Nyall
___
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] Min Qt version

2017-05-25 Thread Radim Blazek
On Mon, Feb 20, 2017 at 11:42 AM, Denis Rouzaud  wrote:
>> On Tue, Feb 7, 2017 at 10:43 AM, Jürgen E. Fischer  wrote:
>>> On Tue, 07. Feb 2017 at 09:11:25 +1000, Nyall Dawson wrote:
> INSTALL says in requirements Qt >= 5.3.0, Debian stable has 5.3.2.
 That's a mistake. AFAIK we are targeting 5.3 to cater for Debian.
>>> Debian jessie (stable) has GDAL 1.10.1 - too old for us.
>> On Tue, Feb 7, 2017 at 10:51 AM, Nyall Dawson  wrote:
>> Ah - I didn't realise. So what's the minimum target now? 5.5 to match Xenial?

> Is there a decision here?
> What min Qt version is the requirement: 5.3 or 5.7?

I can just confirm again that Qt 5.3 is not enough, for example (but
there will be more):
https://github.com/qgis/QGIS/commit/7eb63d99dceddbe7ea10a51149800d0e0326c19a#commitcomment-8267

What min version of Qt are you able to compile with? We should update INSTALL.

In INSTALL requirements it is also written: Qwt >= 5.0 & (< 6.1 with
internal QwtPolar)
but Qwt 6.0 does not compile with Qt >= 5.4:
http://www.qtcentre.org/archive/index.php/t-63275.html
Is it still true that Qwt must be < 6.1? I have compiled with 6.1.3
(but not tested related functionality).

Radim
___
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