public Grid ShapefileToGrid(IFeatureSet shapefile, bool useShapefileBounds = true, GridSourceHeader gridHeader = null, double cellsize = 30, bool useShapeNumber = true, short singleValue = 1) { return(_utils.ShapefileToGrid(shapefile.GetInternal(), useShapefileBounds, gridHeader.GetInternal(), cellsize, useShapeNumber, singleValue)); }
public static GridHeader GetInternal(this GridSourceHeader header) { return(header.InternalObject as GridHeader); }
public bool GridStatisticsForPolygon(IGridSource grid, GridSourceHeader header, IEnvelope gridExtents, IGeometry polygon, double nodataValue, ref double meanValue, ref double minValue, ref double maxValue) { return(_utils.GridStatisticsForPolygon(grid.GetInternal(), header.GetInternal(), gridExtents.GetInternal(), polygon.GetInternal(), nodataValue, ref meanValue, ref minValue, ref maxValue)); }