Feature request #12937

Distance to nearest hub tool : Round distance

Added by Jack Attack almost 2 years ago. Updated 12 months ago.

Status:Closed Start Date:06/11/2015
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:Processing/QGIS
Target version:Future Release - Lower Priority Estimated time:2.00 hours
Platform: Resolution:wontfix
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

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

History

Updated by Giovanni Manghi almost 2 years ago

  • Category set to Processing/QGIS

Updated by Alexander Bruy about 1 year ago

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.

Updated by Alexander Bruy 12 months ago

  • Status changed from Open to Closed
  • Resolution set to wontfix

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

Also available in: Atom