Loading the standard NOAA medium resolution coastline shp file located at (downloaded from) http://coastalmap.marine.usgs.gov/GISdata/basemaps/coastlines/nos80k/nos80k.zip
via DataManager.DefaultDataManager.OpenFile(localPath)
Throws the following ArgumentException ("Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."):
at System.Buffer.BlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count)
at DotSpatial.Data.BufferedBinaryReader.Read(Byte[] buffer, Int32 index, Int32 count) in C:\src\DotSpatial\DotSpatial.Data\BufferedBinaryReader.cs:line 499
at DotSpatial.Data.ByteBlock.Read(Int32 numBytes, BufferedBinaryReader reader) in C:\src\DotSpatial\DotSpatial.Data\ByteBlock.cs:line 122
at DotSpatial.Data.PolygonShapefile.FillPolygons(String fileName, IProgressHandler progressHandler) in C:\src\DotSpatial\DotSpatial.Data\PolygonShapefile.cs:line 232
at DotSpatial.Data.PolygonShapefile.Open(String fileName, IProgressHandler progressHandler) in C:\src\DotSpatial\DotSpatial.Data\PolygonShapefile.cs:line 86
at DotSpatial.Data.Shapefile.OpenFile(String fileName, IProgressHandler progressHandler) in C:\src\DotSpatial\DotSpatial.Data\Shapefile.cs:line 321
at DotSpatial.Data.Shapefile.OpenFile(String fileName) in C:\src\DotSpatial\DotSpatial.Data\Shapefile.cs:line 269
at DotSpatial.Data.ShapefileDataProvider.Open(String fileName) in C:\src\DotSpatial\DotSpatial.Data\ShapefileDataProvider.cs:line 119
at DotSpatial.Data.ShapefileDataProvider.DotSpatial.Data.IDataProvider.Open(String fileName) in C:\src\DotSpatial\DotSpatial.Data\ShapefileDataProvider.cs:line 65
at DotSpatial.Data.DataManager.OpenFile(String fileName, Boolean inRam, IProgressHandler progressHandler) in C:\src\DotSpatial\DotSpatial.Data\DataManager.cs:line 375
at DotSpatial.Data.DataManager.OpenFile(String fileName) in C:\src\DotSpatial\DotSpatial.Data\DataManager.cs:line 312
at Entiat.Cartography.ShapefileMap.InitializeFromPath(String path) in C:\src\entiat\Entiat\Cartography\ShapefileMap.cs:line 80