0

I use SharpMap for working with shapefile. Now shapefile is big and SharpMap take a long time to loading layers. Please tell me how I can speed up working with shapefile.

closed as unclear what you're asking by BradHards, John Powell, AndreJ, PolyGeo Oct 5 '15 at 7:50

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • You really need to show us what you are doing. For example, how are you using the shapefile. Obviously there are some inherent limits (like reading from disk), but smarter use of the shapefile (like not loading areas you don't use) will help. Also, saying how big and how long it takes will help us understand if your expectations are reasonable. A small, self-contained, compileable example and a link to the data will probably help to get your question answered. Without more info, there isn't anything we can really say to help. – BradHards Oct 4 '15 at 22:07
1

My first thought was that you were hitting a drawback of the shapefile format rather than SharpMap but Easy GIS .NET claims to be able to do better than SharpMap with the same format:

The library has been designed to handle very large shapefiles, without compromising performance or memory usage. For example the library is capable of opening shapefiles larger than 1GB and will not crash with OutOfMemoryExceptions like some other libraries. Easy GIS .NET will outperform almost all libraries including DotSpatial, SharpMap and even ESRI ArcObjects. If you have any doubts download the largest shapefile you can find and try and open it with Easy GIS .NET.

I've never used Easy GIS .NET, or SharpMap.

Shapefile is considered a slow format to display in questions like How to improve rendering performance of very large shapefile?

Not the answer you're looking for? Browse other questions tagged or ask your own question.