Skip to content
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

[Expression] Allow negative value for vertex index in angle_at_vertex/distance_at_vertex/point_n... functions #29102

Closed
qgib opened this issue Feb 15, 2019 · 3 comments
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request

Comments

@qgib
Copy link
Contributor

qgib commented Feb 15, 2019

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 21284

Redmine category:expressions
Assignee: Mathieu Pellerin - nIRV


It could be nice that distance_to_vertex($geometry, -1) returns the length of the feature instead of -1 or point_n($geometry, -1) returns the last node. I know there are special functions for the examples I provide but it's more about generally allowing negative indices in these functions.
It will align them with array manipulations as well as options offered in Processing dialogs (Extract specific vertices eg).


Related issue(s): #29100 (relates)
Redmine related issue(s): 21282


@qgib
Copy link
Contributor Author

qgib commented Feb 15, 2019

Author Name: Harrissou Santanna (@DelazJ)


@qgib
Copy link
Contributor Author

qgib commented Mar 13, 2019

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


  • resolution was changed from to fixed/implemented
  • assigned_to_id was configured as Mathieu Pellerin - nIRV

@qgib
Copy link
Contributor Author

qgib commented Mar 13, 2019

Author Name: Harrissou Santanna (@DelazJ)


  • status_id was changed from Open to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expressions Related to the QGIS expression engine or specific expression functions Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant