阅读:2613回复:2
ArcEngine 中能调用地统计分析模块中的Exploratory Spatial Data Analysis (ESDA) 工具吗?
<P>我用ArcEngine9.0+VB.NET编程画等值面和等值线。代码如下:<BR> Dim pInRaster As IRaster<BR> Dim pSemiVariogram As IGeoAnalysisSemiVariogram<BR> pSemiVariogram = New GeoAnalysisSemiVariogram<BR> Dim dRange As Double<BR> Dim dSill As Double<BR> Dim dNugget As Double<BR> Dim dLag As Double<BR> dRange = 481.49<BR> dSill = 1.2116<BR> dNugget = 0.52669<BR> dLag = 1.0<BR> pSemiVariogram.Lag = dLag<BR> pSemiVariogram.DefineVariogram(esriGeoAnalysisSemiVariogramEnum.esriGeoAnalysisSphericalSemiVariogram, dRange, dSill, dNugget)</P>
<P> pInRaster = pIntOp.Variogram(pFDescr, pSemiVariogram, pRadius, False)</P> <P>需要设置合适的dRange,dNugget,dSill ,dLag,否则,会出错“unable to estimate the Semi-Variogram ”<BR>怎么编程获取krige插值的Lag,Nugget,Range,Partial Sill?或者在ArcEngine中能调用</P> <P>Exploratory Spatial Data Analysis (ESDA) tools in Geostatistical Analyst 或相应接口去分析数据,得到合适的Lag,Nugget(块金值),Range(主要范围),Partial Sill(局部岩床)吗?</P> |
|
1楼#
发布于:2006-09-25 15:14
<PRE><I>可以看看下面的例子</I></PRE><PRE><I><a href="http://webhelp.esri.com/arcgisdesktop/9.1/index.cfm?id=3216;pid=3205;topicname=Variogram" target="_blank" >http://webhelp.esri.com/arcgisdesktop/9.1/index.cfm?id=3216;pid=3205;topicname=Variogram</A></I></PRE><PRE><I></I> </PRE><PRE><I>'Create the RasterInterpolationOp object</I>
Dim pInterpolationOp As IInterpolationOp Set pInterpolationOp = New RasterInterpolationOp <I>'Create the input point object</I> Dim pInputDatasetFC As IFeatureClass <I>'Calls function to open the input point dataset from disk</I> Set pInputDatasetFC = OpenPointDataset(â |
|
|
2楼#
发布于:2006-09-25 15:48
谢谢帝国总统<BR>
|
|