When I attempt to build isolines with certain data, an exception occurs which causes a System Message Box to be shown between 10 and 20 times and then my application crashes. The System Message boxes all contain a stack trace with the exception message "Error performing operation. Please Try Again. System.SystemException: Input data must be more detailized to build isolines."
The exception appears to be related to the width and height of the currentDrawingExtent defined in the CreateGridFile method of the isolines code. When I use the CurrentExtent of winfromsMap1, for the currentDrawingExtent the isolines will be shown. When use ExtentHelper.GetDrawingExtent and define a width and height of the lat/lons defined for the data it produces the exception (however it only happens on a few data sets out of 20 or more). The exception does not occur in CreateGridFile but appears to be happening deep within the MapSuite code when the winformsMap1.Refresh is being executed.
Ideally, I would like to know the meaning of this exception and how to test or modify the width and height to prevent this exception. At a minimum, I need to know how to capture this exception and prevent it from occuring 10-20 times and then aborting my application.
Richard