Hi
I'm also new to dotSpatial and am pretty impressed. Using v1.8 along with Tutorials 3 + 9, I can add GDAL raster to map .
For native bgd raster format I can use IRaster to access the pixels:
Can anyone point me in the right direction?
Thanks
Tim
I'm also new to dotSpatial and am pretty impressed. Using v1.8 along with Tutorials 3 + 9, I can add GDAL raster to map .
For native bgd raster format I can use IRaster to access the pixels:
Dim pRlyr As IMapRasterLayer = Map1.Layers(0)
Dim demRaster As IRaster = pRlyr.DataSet
I've tried this for a GDAL raster: Dim pRlyr As MapImageLayer = DirectCast(Map1.Layers.SelectedLayer, MapImageLayer)
But pRlyr.Datasets is an IImageData and I can't figure out how to get IRaster or pixels (ie iterate through rows and columns). Can anyone point me in the right direction?
Thanks
Tim