7
Vote

Add Support for loading large shapefiles

description

DotSpatial loads all features from a shapefile into RAM when adding it to the map, there is a limit to the size of shapefile that can be viewed. We need a file-based approach that still has good performance but does not have a large memory footprint for large shapefiles.
 
Some of the low-level pieces for file-based access to large shapefiles are done (classes implementing the IShapeSource and IFeatureSource interfaces). However, we still need to implement Map Layers that work and play well with the rest of DotSpatial while using a file-based approach.

file attachments

comments

fairbanj wrote Jul 18, 2012 at 7:23 PM

I just added 23031 because it is doing the same thing when loading image layers. MapWinGIS on the other hand handles it beautifully, so if you are struggling with DotSpatial's memory handling you may want to punt back to using the MapWinGIS OCX in your .NET app instead.

mudnug wrote Jul 19, 2012 at 5:23 PM

Or you could make a small code contribution to add this feature :)

kellison wrote Jan 21 at 2:49 PM

I have attached a word document containing discussions we have had in the past on implementing this solution. I have attached it to issues in the past but they keep getting closed and this attachment does not get carried forward to the new issue.