This project is read-only.
1
Vote

Unhandled exception with Image layer in a group

description

  1. Run HydroDesktop or DemoMap. In the legend right-click and select "Create group". Activate the 'DotSpatial.Plugins.WebMap' plugin. Select the 'OpenStreetMap' layer.
  2. In the legend drag the 'Online basemap' layer to the group.
  3. Try to open Geostatisical Methods or Deterministic Methods
  4. Stack trace:
    Unable to cast object of type 'DotSpatial.Data.InRamImageData' to type 'DotSpatial.Data.IFeatureSet'.
    Inner: NULL
    Stack trace: at GeostatisticalTool.Classes.ConfigurationMethod.UpdataLayer()
    at GeostatisticalTool.Classes.ConfigurationMethod..ctor(Map map, ListBox method, ListBox output, ComboBox layer, ComboBox field, ComboBox transformation, ComboBox trend, Boolean filter)
    at GeostatisticalTool.Forms.Interpolators.Interpolators_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

comments