I get this exception from time to time when updating a LineShape (adding vertex). This is the stack trace:
GisSharpBlog.NetTopologySuite.Utilities.AssertionFailedException was unhandled
Message="Cannot insert items into an STR packed R-tree after it has been built."
Source="NetTopologySuite"
StackTrace:
at GisSharpBlog.NetTopologySuite.Utilities.Assert.IsTrue(Boolean assertion, String message)
at GisSharpBlog.NetTopologySuite.Index.Strtree.AbstractSTRtree.Insert(Object bounds, Object item)
at GisSharpBlog.NetTopologySuite.Index.Strtree.STRtree.Insert(IEnvelope itemEnv, Object item)
at ThinkGeo.MapSuite.Core.InMemoryFeatureSource.BuildIndex()
at ThinkGeo.MapSuite.Core.InMemoryFeatureSource.CommitTransactionCore(TransactionBuffer transactions)
at ThinkGeo.MapSuite.Core.FeatureSource.CommitTransaction()
at ThinkGeo.MapSuite.Core.EditTools.CommitTransaction()
at MapView.frmMap.AddOrUpdateTrack(Int32 TargetID, Double Latitude, Double Longitude)
at MapView.frmMap.PlotTracks()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
What does it mean?