-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a "stop at first feature" mode to the identify tool #18421
Comments
Author Name: Matthias Kuhn (@m-kuhn) The problem with stop at first feature (in contrast to stop at first layer) is, that it is non-deterministic in which order features are returned for a query. As such you might end up with the feature form of the wrong feature. Instead I would propose to open the attribute table in form view mode with a filter applied to only show the identified features. This way you get the form but are able to switch between multiple identified features. Then we could rename the "open feature form if single feature is identified" to just "open feature form". |
Author Name: Olivier Dalang (@olivierdalang) Hi ! Are you sure it's non deterministic ? I get consistent results with the "select single feature" tool. It seems it takes the display order into account (ie a feature that's shown in front of another will be selected). But in any case, I like your suggestion. The attribute table in form view is indeed much more usable than the "identify window" (at least in my use cases). One point : it may make lead to some (more) confusion between "identified" features and "selected" features, at such a point one could ask if "identify feature" should not simply work on a feature selection. |
Author Name: Matthias Kuhn (@m-kuhn) Olivier Dalang wrote:
I guess that's the way a certain provider is implemented. But as long as there is no explicit z-index and order-by there is no guarantee and therefore this may change in a future release/other provider/spatial index boundaries...
Cool
That's a valid conceptual question and requires careful consideration. I am a bit afraid, that people will loose their selection (which consists of features carefully selected each on it's own) when they want to check if they should add another feature based on an attribute and therefore use the identify tool. If we apply a filter to such a view which looks like "object_id in (1,25,37,52)", this would be shown at the bottom of the dialog and could be sufficient to communicate the filtering process to the user. |
Author Name: Olivier Dalang (@olivierdalang) Matthias Kuhn wrote:
I agree this goes (by far) beyond the scope of this ticket. Still, the more I'm thinking of it, the more I find it makes sense. I'll open a thread about this on the dev ML.. And about your point, it's right, but I think we can overcome this, maybe with a "store selections" feature (I was suggesting this in the Legend interface thread on the mailing list too) or by storing (grouped) selection changes in the undo stack. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Olivier Dalang (@olivierdalang)
Original Redmine Issue: 9907
Redmine category:map_canvas
Hi !
When in "stop at first" mode, the identify tool stops at first layer, but not at first feature.
This is annoying when using the identify tool with the "open feature form when a single feature is identified", since when clicking on overlapping features, two features will be identified which make that "identify window" popup appear instead of the clicked feature's form.
The identify tool should be able to work exactly as the "select single feature" tool.
Proposed solution :
The text was updated successfully, but these errors were encountered: