Hi,
I have a question about InverseDistanceWeightedGridInterpolationModel.
I tested this interpolation with thinkgeo and I compare the InverseDistanceWeightedGridInterpolationModel of Arcgis and I don’t have the same result ;-(
I compare the result of the interpolation with an other software Farmworks and the result is different too.
For both software, there is a notion of neighbour and a notion of smooth.
I didn’t find these two parameters with the InverseDistanceWeightedGridInterpolationModel in thinkgeo.
Is there a reason ? Or may be these parameters call differently …
Thanks for your help.
Regards.
Steph.
Question about InverseDistanceWeightedGridInterpolationModel
Hi Steph,
Thanks for your advises.
Actually as so far, the parameters for neighborhood and smooth are not supported, I have appended the issue to our development enhancement system.
If there are further information, I will update to let you know.
Thanks,
Hi Don,
Thanks.
I will be interest by the answer of your team development on these points.
And can you ask too if they plan to add others interpolations as natural neighbor interpolation or spline interpolation or average interpolation (ie Arcgis or gdal) ?
Thanks.
About the krigging interpolation , what means exactly the point of interest ?
I did few tests with the interpolation in thinkgeo.
The goal of the tests is to create polygons. So I use InMemoryGridIsoLineLayer layer with the option ClosedLinesAsPolygons.
Sometimes when i change the parameters of interpolation, for example the point of interest if I test LinearKrigging or if I change the power width IDW interpolation , i have
this error message :
L’exception System.InvalidOperationException n’a pas été gérée
HResult=-2146233079
Message=The shape you provided does not pass our simple validation.This ring is not closed. To close a ring the last point must be the same as the first point. All rings must have at least four points.
Source=MapSuiteCore
StackTrace:
à ohM=.LV8=.dV8=(BaseShape dl8=)
à ThinkGeo.MapSuite.Core.BaseShape.GetWellKnownBinary()
à ThinkGeo.MapSuite.Core.IsoLineLayer.wyw=(List`1 xCw=, GridCell[,] xSw=, SqlGeometry xiw=, String xyw=)
à ThinkGeo.MapSuite.Core.IsoLineLayer.GetIsoFeatures(GridCell[,] gridMatrix, IEnumerable`1 isoLineLevels, String dataValueColumnName, IsoLineType isoLineType, Double noDataValue)
à ThinkGeo.MapSuite.Core.InMemoryGridIsoLineLayer.GetIsoLineFeatures()
à CreateGridFile.IsolineLayer.GetGridIsoLineLayer(RectangleShape gridExtent, Dictionary`2 dataPoints, Double dimensionCellule, GridInterpolationModel interpolationModele, List`1 isoParam) dans C:\Steph_DevEnCours\CreateGridFile_GridIsoline\CreateGridFile_GridIsoline\IsolineLayer.cs:ligne 59
à CreateGridFile.MainWindow.Generer_Click(Object sender, RoutedEventArgs e) dans C:\Steph_DevEnCours\CreateGridFile_GridIsoline\CreateGridFile_GridIsoline\MainWindow.xaml.cs:ligne 125
à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
à System.Windows.Controls.Button.OnClick()
à System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
à System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
à System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
à System.Windows.Input.InputManager.ProcessStagingArea()
à System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
à System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
à System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
à System.Windows.Application.RunInternal(Window window)
à System.Windows.Application.Run()
à CreateGridFile.App.Main() dans C:\Steph_DevEnCours\CreateGridFile_GridIsoline\CreateGridFile_GridIsoline\obj\Debug\App.g.cs:ligne 0
à System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:
I understand that one or several polygons created aren’t valid.
But is it possible to recover only the valid polygons with the method GetIsoLineFeatures when the option is ClosedLinesAsPolygons?
Thanks for your help.
Regards.
Steph.
Hi Steph,
Sorry for delayed response.
Seems we have parameters those play role like
"neighbor” and “smooth” for inverse distance weighted interpolation Model,
they are named as searchRadius and power. help.arcgis.com/en/arcgisdes...002m000000
this link is how IDW work in ArcGIS. The
difference is that we only support set search neighborhood as an ellipse. If anything I misunderstand, please feel free to correct me.
As for the others interpolations you mentioned, we are busying on releasing of Map Suite 9.0 currently, so we will consider this
only the Map Suite 9.0 is released. If this is urgent for you guys, please contact to
your sales.
As for the exception, We’ve fixed this issue in the latest development version,
would you please get it (8.0.336.0) or a higher version and have a try? If the issue still persisted, please feel free to let us know.
Regards,
Kevin