docs: public static Coordinate[] toCoordinates(TDWay way) {
          Coordinate[] coordinates = new Coordinate[way.getWayNodes().length];
          if (way.isReversedInRelation()) {
              for (int i = 0; i < coordinates.length; i++) {
                  coordinates[coordinates.length - 1 - i] = toCoordinate(way.getWayNodes()[i]);
              }
          } else {
              for (int i = 0; i < coordinates.length; i++) {
                  coordinates[i] = toCoordinate(way.getWayNodes()[i]);
              }
          }
          return coordinates;
      }