Re: [Qgis-user] Selecting displaced symbols

2017-06-01 Thread Neumann, Andreas
Hi Nyall, 

Can you please estimate the time it takes to finish this old commit? I
think it would be really nice to have in QGIS 3. It always bothered me
(and my users) that we can't click on the displaced symbols. 

How about QGIS server? Could your improvement also benefit QGIS server?
In the Web-GIS it is particularly hard to understand for users, why they
can't pick on displaced symbols. 

Maybe we can find someone to finance this improvement. 

Thanks, 

Andreas 

On 2017-06-01 01:20, Nyall Dawson wrote:

> On 30 May 2017 at 19:11, Neumann, Andreas  wrote: 
> 
>> Hi Martin,
>> 
>> As far as I know, picking is totally independent of the rendering. So the
>> "Info tool" doesn't know about the displacement renderer. I know it is not
>> ideal, but it is a technical limitation and there are no known workarounds.
> 
> Well - there's this half finished commit I wrote but never merged:
> https://github.com/nyalldawson/QGIS/commit/2405c9cc2c9d07bd0975d60ce36db5c5e8d8b612
> 
> I can't remember exactly why I didn't complete this. I think it was
> written during feature freeze once and I never got around to verifying
> that it didn't cause regressions in the rendering speed after freeze
> was lifted. From memory it worked well for info tool and rotate point
> symbol tool.
> 
> From the commit message:
> 
> "Register rendered point features into a spatial index so that we can
> later retrieve features by their actual rendered location.
> (The rendered location may be different in numerous circumstances, eg
> when using the displacement renderer, or when marker symbols
> have an offset set)
> This index could then be used to later retrieve the features for a
> specific canvas coordinate, for use eg in identify tool, rotate point
> symbols, etc."
> 
> Theoretically this could be cleaned up, finished off and tested, and
> then later extended to apply to selections also.
> 
> Nyall___
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] Selecting displaced symbols

2017-05-31 Thread Martin Bain
My mum always said I had an overactive imagination  :P  

-Original Message-
From: Nyall Dawson [mailto:nyall.daw...@gmail.com] 
Sent: Thursday, 1 June 2017 9:38 AM
To: Martin Bain <martin.b...@lismore.nsw.gov.au>
Cc: Neumann, Andreas <a.neum...@carto.net>; qgis-user 
<qgis-user@lists.osgeo.org>
Subject: Re: [Qgis-user] Selecting displaced symbols

On 1 June 2017 at 09:26, Martin Bain <martin.b...@lismore.nsw.gov.au> wrote:
> Cool!  Maybe I didn't imagine it after all.

No - you did ;) That commit isn't merged into master, it's sitting orphaned and 
alone and rotting away along with a bunch of other abandoned experiments...

Nyall

>
> -Original Message-
> From: Nyall Dawson [mailto:nyall.daw...@gmail.com]
> Sent: Thursday, 1 June 2017 9:21 AM
> To: Neumann, Andreas <a.neum...@carto.net>
> Cc: Martin Bain <martin.b...@lismore.nsw.gov.au>; qgis-user 
> <qgis-user@lists.osgeo.org>
> Subject: Re: [Qgis-user] Selecting displaced symbols
>
> On 30 May 2017 at 19:11, Neumann, Andreas <a.neum...@carto.net> wrote:
>> Hi Martin,
>>
>> As far as I know, picking is totally independent of the rendering. So 
>> the "Info tool" doesn't know about the displacement renderer. I know 
>> it is not ideal, but it is a technical limitation and there are no known 
>> workarounds.
>
> Well - there's this half finished commit I wrote but never merged:
> https://github.com/nyalldawson/QGIS/commit/2405c9cc2c9d07bd0975d60ce36
> db5c5e8d8b612
>
> I can't remember exactly why I didn't complete this. I think it was written 
> during feature freeze once and I never got around to verifying that it didn't 
> cause regressions in the rendering speed after freeze was lifted. From memory 
> it worked well for info tool and rotate point symbol tool.
>
> From the commit message:
>
> "Register rendered point features into a spatial index so that we can later 
> retrieve features by their actual rendered location.
> (The rendered location may be different in numerous circumstances, eg when 
> using the displacement renderer, or when marker symbols have an offset set) 
> This index could then be used to later retrieve the features for a specific 
> canvas coordinate, for use eg in identify tool, rotate point symbols, etc."
>
> Theoretically this could be cleaned up, finished off and tested, and then 
> later extended to apply to selections also.
>
> Nyall
>
> This email is intended for the named recipient only.  The information it 
> contains may be confidential.  If you are not the intended recipient you must 
> not reproduce or distribute any part of this email, disclose its contents to 
> any other party or take any action in reliance on it.  If you have received 
> this email in error, please contact the sender immediately and delete the 
> message.

This email is intended for the named recipient only.  The information it 
contains may be confidential.  If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it.  If you have received 
this email in error, please contact the sender immediately and delete the 
message.
___
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] Selecting displaced symbols

2017-05-31 Thread Nyall Dawson
On 1 June 2017 at 09:26, Martin Bain <martin.b...@lismore.nsw.gov.au> wrote:
> Cool!  Maybe I didn't imagine it after all.

No - you did ;) That commit isn't merged into master, it's sitting
orphaned and alone and rotting away along with a bunch of other
abandoned experiments...

Nyall

>
> -Original Message-
> From: Nyall Dawson [mailto:nyall.daw...@gmail.com]
> Sent: Thursday, 1 June 2017 9:21 AM
> To: Neumann, Andreas <a.neum...@carto.net>
> Cc: Martin Bain <martin.b...@lismore.nsw.gov.au>; qgis-user 
> <qgis-user@lists.osgeo.org>
> Subject: Re: [Qgis-user] Selecting displaced symbols
>
> On 30 May 2017 at 19:11, Neumann, Andreas <a.neum...@carto.net> wrote:
>> Hi Martin,
>>
>> As far as I know, picking is totally independent of the rendering. So
>> the "Info tool" doesn't know about the displacement renderer. I know
>> it is not ideal, but it is a technical limitation and there are no known 
>> workarounds.
>
> Well - there's this half finished commit I wrote but never merged:
> https://github.com/nyalldawson/QGIS/commit/2405c9cc2c9d07bd0975d60ce36db5c5e8d8b612
>
> I can't remember exactly why I didn't complete this. I think it was written 
> during feature freeze once and I never got around to verifying that it didn't 
> cause regressions in the rendering speed after freeze was lifted. From memory 
> it worked well for info tool and rotate point symbol tool.
>
> From the commit message:
>
> "Register rendered point features into a spatial index so that we can later 
> retrieve features by their actual rendered location.
> (The rendered location may be different in numerous circumstances, eg when 
> using the displacement renderer, or when marker symbols have an offset set) 
> This index could then be used to later retrieve the features for a specific 
> canvas coordinate, for use eg in identify tool, rotate point symbols, etc."
>
> Theoretically this could be cleaned up, finished off and tested, and then 
> later extended to apply to selections also.
>
> Nyall
>
> This email is intended for the named recipient only.  The information it 
> contains may be confidential.  If you are not the intended recipient you must 
> not reproduce or distribute any part of this email, disclose its contents to 
> any other party or take any action in reliance on it.  If you have received 
> this email in error, please contact the sender immediately and delete the 
> message.
___
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] Selecting displaced symbols

2017-05-31 Thread Martin Bain
Cool!  Maybe I didn't imagine it after all.

-Original Message-
From: Nyall Dawson [mailto:nyall.daw...@gmail.com] 
Sent: Thursday, 1 June 2017 9:21 AM
To: Neumann, Andreas <a.neum...@carto.net>
Cc: Martin Bain <martin.b...@lismore.nsw.gov.au>; qgis-user 
<qgis-user@lists.osgeo.org>
Subject: Re: [Qgis-user] Selecting displaced symbols

On 30 May 2017 at 19:11, Neumann, Andreas <a.neum...@carto.net> wrote:
> Hi Martin,
>
> As far as I know, picking is totally independent of the rendering. So 
> the "Info tool" doesn't know about the displacement renderer. I know 
> it is not ideal, but it is a technical limitation and there are no known 
> workarounds.

Well - there's this half finished commit I wrote but never merged:
https://github.com/nyalldawson/QGIS/commit/2405c9cc2c9d07bd0975d60ce36db5c5e8d8b612

I can't remember exactly why I didn't complete this. I think it was written 
during feature freeze once and I never got around to verifying that it didn't 
cause regressions in the rendering speed after freeze was lifted. From memory 
it worked well for info tool and rotate point symbol tool.

From the commit message:

"Register rendered point features into a spatial index so that we can later 
retrieve features by their actual rendered location.
(The rendered location may be different in numerous circumstances, eg when 
using the displacement renderer, or when marker symbols have an offset set) 
This index could then be used to later retrieve the features for a specific 
canvas coordinate, for use eg in identify tool, rotate point symbols, etc."

Theoretically this could be cleaned up, finished off and tested, and then later 
extended to apply to selections also.

Nyall

This email is intended for the named recipient only.  The information it 
contains may be confidential.  If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it.  If you have received 
this email in error, please contact the sender immediately and delete the 
message.
___
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] Selecting displaced symbols

2017-05-31 Thread Martin Bain
Thanks for the discussion gentlemen.

I too think your idea is a good one Karl_Magnus.  Andreas, thanks for your 
suggestion with the info tool.  I set the mode to “Top Down stop at first” long 
ago and hadn’t changed it since.  Layer Choice works well in this situation and 
I didn’t realise the individual symbols are highlighted as you hover over the 
list.

Cheers,
Martin.


From: Neumann, Andreas [mailto:a.neum...@carto.net]
Sent: Tuesday, 30 May 2017 9:40 PM
To: Karl Magnus Jönsson <karl-magnus.jons...@kristianstad.se>
Cc: Martin Bain <martin.b...@lismore.nsw.gov.au>; qgis-user@lists.osgeo.org
Subject: Re: SV: [Qgis-user] Selecting displaced symbols


Hi Karl-Magnus,

I think this is a good idea. It could either be a separate selection mode (we 
already have different modes for selection on the drop-down button) or it could 
be toggled with a keyboard combination on the existing "click" mode. Can you 
open a feature request at https://issues.qgis.org/<http://issues.qgis.org/> ?

Greetings,

Andreas

On 2017-05-30 12:00, Karl Magnus Jönsson wrote:
Hi!
When talking about this. I've had a thought of improvement of the select tool. 
When there is several features in the same (or almost the same) location in one 
layer it is difficult to select one particular feature. Could we have the same 
functionality with select tool as with identify? Right click gets you a 
pull-down menu with potential features and you can select one from the list 
that gets selected. Understandable? Has this already been thought of? A 
workaround is to use the identify tool with right click. At the bottom of the 
list you can open the attribute table and select the desired features from the 
table. Works but one step more.

Karl-Magnus

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Neumann, Andreas
Skickat: den 30 maj 2017 11:11
Till: Martin Bain
Kopia: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>
Ämne: Re: [Qgis-user] Selecting displaced symbols


Hi Martin,

As far as I know, picking is totally independent of the rendering. So the "Info 
tool" doesn't know about the displacement renderer. I know it is not ideal, but 
it is a technical limitation and there are no known workarounds.

You can, however, display the central point (with a separate symbol) so the 
user knows where to pick. Also, you can easily access each individual point by 
changing the identify mode to "Layer choice" - where you get a pull-down menu 
and you can identify each individual point by its "display attribute".

Maybe a dev knows a solution to this problem - but currently I think there are 
no known workarounds.

Andreas

On 2017-05-30 03:39, Martin Bain wrote:
Hi,
I have the familiar situation of a layer with multiple points at the same 
coordinates.  The points have data defined SVG symbols

I'm using the Point Displacement renderer to overcome having overlapping 
symbols.  This definitely makes for an improved appearance.

However if you want to use the info tool or the select tool you cant click on 
the displaced symbol.  You can only select all points via the central point.

Is there a trick to select a point by its offset symbol instead of the true 
coordinates?  I have half a memory of reading something about this once before 
but maybe I imagined it :P

I would prefer to leave the points in their original position – the data is of 
traffic accidents, provided by the state government.

Thank you,
Martin.

This email is intended for the named recipient only. The information it 
contains may be confidential. If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it. If you have received this 
email in error, please contact the sender immediately and delete the message.


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







This email is intended for the named recipient only.  The information it 
contains may be confidential.  If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it.  If you have received 
this email in error, please contact the sender immediately and delete the 
message.
___
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] Selecting displaced symbols

2017-05-30 Thread Karl Magnus Jönsson
Hi!
When talking about this. I’ve had a thought of improvement of the select tool. 
When there is several features in the same (or almost the same) location in one 
layer it is difficult to select one particular feature. Could we have the same 
functionality with select tool as with identify? Right click gets you a 
pull-down menu with potential features and you can select one from the list 
that gets selected. Understandable? Has this already been thought of? A 
workaround is to use the identify tool with right click. At the bottom of the 
list you can open the attribute table and select the desired features from the 
table. Works but one step more.

Karl-Magnus

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Neumann, Andreas
Skickat: den 30 maj 2017 11:11
Till: Martin Bain
Kopia: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] Selecting displaced symbols


Hi Martin,

As far as I know, picking is totally independent of the rendering. So the "Info 
tool" doesn't know about the displacement renderer. I know it is not ideal, but 
it is a technical limitation and there are no known workarounds.

You can, however, display the central point (with a separate symbol) so the 
user knows where to pick. Also, you can easily access each individual point by 
changing the identify mode to "Layer choice" - where you get a pull-down menu 
and you can identify each individual point by its "display attribute".

Maybe a dev knows a solution to this problem - but currently I think there are 
no known workarounds.

Andreas

On 2017-05-30 03:39, Martin Bain wrote:
Hi,
I have the familiar situation of a layer with multiple points at the same 
coordinates.  The points have data defined SVG symbols

I’m using the Point Displacement renderer to overcome having overlapping 
symbols.  This definitely makes for an improved appearance.

However if you want to use the info tool or the select tool you cant click on 
the displaced symbol.  You can only select all points via the central point.

Is there a trick to select a point by its offset symbol instead of the true 
coordinates?  I have half a memory of reading something about this once before 
but maybe I imagined it :P

I would prefer to leave the points in their original position – the data is of 
traffic accidents, provided by the state government.

Thank you,
Martin.

This email is intended for the named recipient only. The information it 
contains may be confidential. If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it. If you have received this 
email in error, please contact the sender immediately and delete the message.

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto: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

Re: [Qgis-user] Selecting displaced symbols

2017-05-30 Thread Neumann, Andreas
Hi Martin, 

As far as I know, picking is totally independent of the rendering. So
the "Info tool" doesn't know about the displacement renderer. I know it
is not ideal, but it is a technical limitation and there are no known
workarounds. 

You can, however, display the central point (with a separate symbol) so
the user knows where to pick. Also, you can easily access each
individual point by changing the identify mode to "Layer choice" - where
you get a pull-down menu and you can identify each individual point by
its "display attribute". 

Maybe a dev knows a solution to this problem - but currently I think
there are no known workarounds.  

Andreas 

On 2017-05-30 03:39, Martin Bain wrote:

> Hi, 
> 
> I have the familiar situation of a layer with multiple points at the same 
> coordinates.  The points have data defined SVG symbols 
> 
> I'm using the Point Displacement renderer to overcome having overlapping 
> symbols.  This definitely makes for an improved appearance.  
> 
> However if you want to use the info tool or the select tool you cant click on 
> the displaced symbol.  You can only select all points via the central point. 
> 
> Is there a trick to select a point by its offset symbol instead of the true 
> coordinates?  I have half a memory of reading something about this once 
> before but maybe I imagined it :P 
> 
> I would prefer to leave the points in their original position - the data is 
> of traffic accidents, provided by the state government. 
> 
> Thank you, 
> 
> Martin. 
> This email is intended for the named recipient only. The information it 
> contains may be confidential. If you are not the intended recipient you must 
> not reproduce or distribute any part of this email, disclose its contents to 
> any other party or take any action in reliance on it. If you have received 
> this email in error, please contact the sender immediately and delete the 
> message.
> 
> ___
> 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] Selecting displaced symbols

2017-05-29 Thread Martin Bain
Hi,
I have the familiar situation of a layer with multiple points at the same 
coordinates.  The points have data defined SVG symbols

I'm using the Point Displacement renderer to overcome having overlapping 
symbols.  This definitely makes for an improved appearance.

However if you want to use the info tool or the select tool you cant click on 
the displaced symbol.  You can only select all points via the central point.

Is there a trick to select a point by its offset symbol instead of the true 
coordinates?  I have half a memory of reading something about this once before 
but maybe I imagined it :P

I would prefer to leave the points in their original position - the data is of 
traffic accidents, provided by the state government.

Thank you,
Martin.

This email is intended for the named recipient only.  The information it 
contains may be confidential.  If you are not the intended recipient you must 
not reproduce or distribute any part of this email, disclose its contents to 
any other party or take any action in reliance on it.  If you have received 
this email in error, please contact the sender immediately and delete the 
message.___
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