This project has moved and is read-only. For the latest updates, please go here.

GdalRasterLayer problems

Topics: SharpMap Project, General Topics
Mar 10, 2007 at 10:11 PM
I am fairly new to SharpMap and very new to ASP.NET so I am likely missing something obvious. Just need a push in the right direction here please :)

I have a few TIFF files (with .TAB files containing their co-ordinate information). I'm having a few issues with them:

- Some fail to load at all, GDAL throws an exception:
- Access window out of range in RasterIO(). Requested (0,4000) of size 4000x4000 on raster of 4000x4000.
- Of those that do load - none of them appear in colour, only black and white
- Some of those that load just load a black screen

Does anybody have any ideas what I'm doing wrong here? I am using the very latest change set of SharpMap (19234)

Thanks in advance for any tips,

Mar 20, 2007 at 5:47 PM

Just going through the forum and found my post, I did eventually fix the issue and have posted a patch as a work item here: