docs: private SimpleFeature createFeature(
              final SimpleFeatureBuilder featureBuilder,
              final GeometryFactory geometryFactory,
              final GridParam layerData,
              final AxisDirection direction,
              final int numDimensions,
              final double spacing,
              final double x, final double y,
              final int i,
              final int ordinate) {
          // CSON: ParameterNumber
  
          featureBuilder.reset();
          final int numPoints = layerData.pointsInLine + 1; // add 1 for the last point
          final LinearCoordinateSequence coordinateSequence = new LinearCoordinateSequence().
                  setDimension(numDimensions).
                  setOrigin(x, y).
                  setVariableAxis(ordinate).
                  setNumPoints(numPoints).
                  setSpacing(spacing).
                  setOrdinate0AxisDirection(direction);
          LineString geom = geometryFactory.createLineString(coordinateSequence);
          featureBuilder.set(Grid.ATT_GEOM, geom);
  
          return featureBuilder.buildFeature("grid." + (ordinate == 1 ? 'x' : 'y') + "." + i);
      }