public double length(Unit.Length length) {
    return length.of(this);
  }
Returns the length of this geometry in units of {@link Unit.Length}.
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/WithGeometry.java