全文预览

利用ARCENGINE生成等值线

上传者:非学无以广才 |  格式:doc  |  页数:4 |  大小:0KB

文档介绍
sriRasterEnvSettingEnum.esriRasterEnvValue,refcellSizeProvider);pRasterAnalysisEnvironment.OutWorkspace=pShpWorkspace;doubledInterval=5;//间距IGeoDatasetpOutputDataSet=pSurfaceOp2.Contour(pGeoDataSet,dInterval,refMissing,refMissing);IFeatureClasspFeatureClass=pOutputDataSetasIFeatureClass;IFeatureLayerpFeatureLayer=newFeatureLayerClass();pFeatureLayer.FeatureClass=pFeatureClass;IGeoFeatureLayerpGeoFeatureLayer=pFeatureLayerasIGeoFeatureLayer;pGeoFeatureLayer.DisplayAnnotation=true;pGeoFeatureLayer.DisplayField="Contour";pGeoFeatureLayer.Name="降雨量等值线";pMap.AddLayer(pGeoFeatureLayer);axMapControl1.Refresh();//删除【降雨量】字段IFieldspFields=pFeatCla.Fields;intlFieldnumber=pFields.FindField("降雨量");IFieldpField1=pFields.get_Field(lFieldnumber);pFeatCla.DeleteField(pField);}

收藏

分享

举报
下载此文档