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

Distance to nearest hub tool : Round distance #21017

Closed
qgib opened this issue Jun 11, 2015 · 3 comments
Closed

Distance to nearest hub tool : Round distance #21017

qgib opened this issue Jun 11, 2015 · 3 comments
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Jun 11, 2015

Author Name: Jack Attack (Jack Attack)
Original Redmine Issue: 12937

Redmine category:processing/qgis


In the +Vector analysis tools+,
In the +Distance to nearest hub+ tool,

+Currently+ : You can choose your unit (meter, kilometer,...), meters are by default and the result is raw precise to femtometre, this is 10^-15 precision.

+Problem+ : 10^-15 precision may not be pertinent when coordinate system (SCR) are precise to 10^-2 (centimeter) only.
This is my understanding of SCR... open to discussion.

+User bypass+ : Calculate new field or virtual field (decimal 8,2) RoundDist = Round("HubDist",2)
This bypass works with every units (meters, feet, miles, kilometers, layer units).

+Suggestion+ : Round Distance to nearest hub results, with 10^-2 precision.

If accepted, there would be different approches :

  • optionnal (checkbox) or basic feature. I would like it to be a basic feature, but maybe someone wants the "old" not rounded feature to sort by sub-centimetric distance...
  • round in the processing, or round at the end of the processing, or round by using attribute field definition (decimal 8,2 instead of decimal 10, not sure about that...), or use virtual fields,...

Thank you

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2015

Author Name: Giovanni Manghi (@gioman)


  • category_id was configured as Processing/QGIS

@qgib
Copy link
Contributor Author

qgib commented Jan 11, 2016

Author Name: Alexander Bruy (@alexbruy)


Not sure if we should round any calculated values not only in Hub Distance tool, but also in all other tools like Export Geometry Info, Sum Line Length etc. One can easily get rounded values with virtual fields or by creating new field.

@qgib
Copy link
Contributor Author

qgib commented Apr 10, 2016

Author Name: Alexander Bruy (@alexbruy)


It makes almost no sense for me. Reopen if necessary.


  • resolution was changed from to wontfix
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant