I need to create point layer with many points. The performance is poor. Tracing into DS source, the slowdown occurs in DotSpatial.Data.FeatureSet Vertex property. Each time a shape is added, all prior shapes are iterated through and their vertices are reset. So as the shape file grows, the performance gets slower and slower.
I don't understand the code well enough to know if this is be design (to perhaps reset some indices) but it results in unacceptable performance.
Comments: ** Comment from web user: lloydchriswilson **
I don't understand the code well enough to know if this is be design (to perhaps reset some indices) but it results in unacceptable performance.
Comments: ** Comment from web user: lloydchriswilson **
I'm sorry, but I don't have a concise example--my observations were based on a large code source that cannot be easily extracted.
I would think it would be rather easy to create a small test program to reproduce, if you have time.
Chris