docs: private double wayLength(List<OSMNode> nodes) {
          double length = 0d;
          OSMNode n1, n2;
  
          n1 = nodes.get(0);
  
          for (int i = 1; i < nodes.size(); i++) {
              n2 = nodes.get(i);
  
              length += LatLongUtil.distance(
                      Double.parseDouble(n1.lat), Double.parseDouble(n1.lon),
                      Double.parseDouble(n2.lat), Double.parseDouble(n2.lon));
  
              n1 = n2;
          }
  
          return length;
      }