摘要: //This example creates a raster dataset with a specified dimension, populates pixel values, and set a NoData value.public static IRasterDataset CreateRasterDataset(string Path, string FileName){ try {... 阅读全文
posted @ 2010-12-02 13:51 醉意人间 阅读(456) 评论(0) 推荐(0) 编辑
摘要: public static void CustomConvolutionFilter(IRaster raster){ //The following code sample sets up a horizontal line detection filter and applies it on a raster //to create a convolution filter using a c... 阅读全文
posted @ 2010-12-02 13:49 醉意人间 阅读(320) 评论(0) 推荐(0) 编辑
摘要: public void CreateGeometricNetwork(IWorkspace workspace, IFeatureDatasetName featureDatasetName){ // Create a network loader. INetworkLoader2 networkLoader2 = new NetworkLoaderClass(); // Set the netw... 阅读全文
posted @ 2010-12-02 13:46 醉意人间 阅读(314) 评论(0) 推荐(0) 编辑
摘要: // Create a new empty data element for a buildable network dataset.IDENetworkDataset deNetworkDataset = new DENetworkDatasetClass();deNetworkDataset.Buildable = true;// Open the feature dataset and ca... 阅读全文
posted @ 2010-12-02 13:45 醉意人间 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Public Sub SetSelectedRastersToSelfBaseHeight() On Error GoTo eh Dim pRLayer As IRasterLayer Dim pLayer As ILayer Dim i As Integer Dim pLayersArray As IArray Dim pDDD As I3DProperties Dim pSurf As IS... 阅读全文
posted @ 2010-12-02 13:35 醉意人间 阅读(393) 评论(0) 推荐(0) 编辑