摘要:
自定义应用程序配置文件(app.config)1. 配置文件概述:应用程序配置文件是标准的 XML 文件,XML 标记和属性是区分大小写的。它是可以按需要更改的,开发人员可以使用配置文件来更改设置,而不必重编译应用程序。配置文件的根节点是configuration。我们经常访问的是appSettings,它是由.Net预定义配置节。我们经常使用的配置文件的架构是象下面的形式。先大概有个印象,通过后面的实例会有一个比较清楚的认识。下面的“配置节”可以理解为进行配置一个XML的节点。常见配置文件模式:<configuration> <configSections> //配置
阅读全文
posted @ 2011-10-19 19:41
GIS的学习
阅读(226)
推荐(0)
摘要:
1、压力测试比如说rasterdataset入rastercatalog开始可以达到10条/s,但是一段时间以后只能2条/s,要注意2、日志记录长事务容易出错,要有据可查,要注意3、重复检查长事务如果出错了,是否可以不清空,重新来过呢?这就需要支持重复检查,要注意如下就是长事务public static bool AddRasterToCatalog(ref IRasterCatalog targetRasterCatalog, string strRasterName, IRasterDataset sourceRasterDataset) { IFeatureClass pFeatureC
阅读全文
posted @ 2011-07-20 16:29
GIS的学习
阅读(331)
推荐(0)
摘要:
public static bool DeleteDuplicatedRasterDataset(ref IRasterCatalog targetRasterCatalog) { try { IFeatureClass pFeatureClass = targetRasterCatalog as IFeatureClass; int featurecount = pFeatureClass.FeatureCount(null); int oidindex = pFeatureClass.FindField(pFeatureClass.OIDFieldName); int shpindex .
阅读全文
posted @ 2011-07-19 09:12
GIS的学习
阅读(783)
推荐(0)
摘要:
ArcGISDeveloperHelp(ESRI.ArcGIS.GeoAnalyst)IInterpolationOp3 InterfaceProvides access to additional members that control the Interpolating of a GeoDataset.Product AvailabilityAvailable with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.MembersDescriptionIDWInterpolates using IDW.KrigeInterpolates
阅读全文
posted @ 2011-07-09 20:22
GIS的学习
阅读(3660)
推荐(0)
摘要:
ArcGIS Server 连接方式 ArcGIS Server Connections ArcGIS Server services can be made accessible via Local and Internet connections. Local connections are established by using ArcObjects within a client application to connect to the Server Object Manager (SOM).Internet connections are established by usin.
阅读全文
posted @ 2011-07-02 17:11
GIS的学习
阅读(2066)
推荐(0)
摘要:
1、IExtractionOp public static string RasterClip(IRasterDataset pRasterDataset, IEnvelope pEnvelope, string rootDir, string fileName) { IRaster pRaster = pRasterDataset.CreateDefaultRaster(); IRasterProps pProps = pRaster as IRasterProps; object cellSizeProvider = pProps.MeanCellSize().X; IGeoDataset
阅读全文
posted @ 2011-07-01 21:28
GIS的学习
阅读(1077)
推荐(0)
摘要:
1 gis server 简单的说,gis server是一个管理server object manager 和 container的服务器。2 server object manager 是运行在gis server上的一个服务,管理在server object container 中运行的server object。3 server object container 是一个进程,可以运行在一台或多台机器上,server object 就运行在这个进程之中。4 server object 分为mapserver和geocodeserver两种,mapserver主要是用来发布地图,geoco
阅读全文
posted @ 2011-06-30 21:56
GIS的学习
阅读(4213)
推荐(0)
摘要:
1、AE访问WMS示例代码2、AE访问带参数的WMS示例代码3、AE实现动态发布ImageService
阅读全文
posted @ 2011-06-29 19:19
GIS的学习
阅读(209)
推荐(0)
摘要:
IAGSServerConnectionFactory connectionFactory = new AGSServerConnectionFactory(); IPropertySet propertySet = new PropertySet(); IAGSServerConnection connection; propertySet.SetProperty("url", "http://meng/arcgis/services"); connection = connectionFactory.Open(propertySet, 0); //
阅读全文
posted @ 2011-06-29 17:25
GIS的学习
阅读(1038)
推荐(0)
摘要:
AoInitialize aoi = new AoInitializeClass(); //也可以设置其他许可类型 esriLicenseProductCode productCode = esriLicenseProductCode.esriLicenseProductCodeEngine; if (aoi.IsProductCodeAvailable(productCode) == esriLicenseStatus.esriLicenseAvailable) { aoi.Initialize(productCode); } ESRI.ArcGIS.esriSystem.IAoInitia
阅读全文
posted @ 2011-06-29 13:18
GIS的学习
阅读(4200)
推荐(0)