Feature request #12937
Distance to nearest hub tool : Round distance
|Assigned to:||-||% Done:||
|Target version:||Future Release - Lower Priority||Estimated time:||2.00 hours|
|Platform version:||Pull Request or Patch supplied:||No|
In the ,
In the tool,
: You can choose your unit (meter, kilometer,...), meters are by default and the result is raw precise to femtometre, this is 10^-15 precision.
: 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.
: 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).
: 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,...
Updated by Alexander Bruy over 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.
Also available in: Atom