MapSuite Team,
On occasion the below exception is encountered, and it seems like once it is encountered the application has to be stopped/started to clear the condition.
The application handles hundreds-of-thousands of GPS and other messages each day.
Once a batch of GPS messages are processed and the in-memory layer has been updated a simple Refresh() on the layer is invoked. The layer is only refreshed if any of the features are within the current map extent.
Any suggestions as to the cause of this?
Thanks,
Dennis
Log Name: OriStarMappingInc
Source: OriStarVisionMapSuite
Date: 9/1/2025 8:18:40 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: WKS01 Windows-7
Description:
OriStarVisionMapSuite->ProcessQueuePrimary:
Unable to Refresh Tracking Layer
TrackingOverlay=MyPoliceUnit, TrackingLayer=MyPoliceUnit
Exception=System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap…ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap…ctor(Int32 width, Int32 height)
at ThinkGeo.MapSuite.Wpf.LayerOverlay.DrawTileCore(Tile tile, RectangleShape targetExtent)
at ThinkGeo.MapSuite.Wpf.TileOverlay.DrawTile(Tile tile, RectangleShape targetExtent)
at ThinkGeo.MapSuite.Wpf.TileOverlay.HEU=(RectangleShape targetExtent)
at ThinkGeo.MapSuite.Wpf.TileOverlay.DrawCore(RectangleShape targetExtent, OverlayRefreshType overlayRefreshType)
at ThinkGeo.MapSuite.Wpf.LayerOverlay.DrawCore(RectangleShape targetExtent, OverlayRefreshType refreshType)
at ThinkGeo.MapSuite.Wpf.Overlay.Draw(RectangleShape targetExtent, OverlayRefreshType refreshType)
at ThinkGeo.MapSuite.Wpf.TileOverlay.RefreshCore()
at ThinkGeo.MapSuite.Wpf.Overlay.Refresh()
at OriStarVisionMapSuite.QueueDispatcher.ProcessQueuePrimary() in C:\OriStarMappingIncMapSuiteV10.6-2nd\OriStarVisionMapSuite\OriStarVisionMapSuite\cfQueueDispatcher.cs:line 276