I am reading a raster to an IntPtr buffer in c#:
band.ReadRaster(256, 256, 128, 128, buf, 128, 128, band.DataType, 6, stride)
I loop through the size of the raster I am retrieving (say 500x500) pixels
and read each 128 block of the raster. The problem is, this can take up to 6
seconds just to rea
That was it. Thanks! I had not tried putting the shapefile as an option.
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Is it possible to use the Gdal Warp wrapper or another method for clipping a
raster to a polygon? I've tried using Gdal.wrapper_GDALWarpDestName and
using input datasets such as a .tif and a .shp, but was unsuccessful.
Perhaps I had the wrong options or inputs. Any help would be appreciated.
Thanks