随笔分类 - ArcGis
地理信息系统,加油好好学啊
摘要://已知图层IFeatureLayer pFeatureLayer = this._application.MapControl2D.Map.get_Layer(0) as IFeatureLayer; IFeatureClass pFeatureClass = pFeatureLayer.FeatureClass; if (pFeatureClass.FeatureCount(null) > 0) { for (int i = 0; i < pFeatureClass.FeatureCount(null); i++) { IFeature pFeature = pFeatureC
阅读全文
摘要:public void CreateShapefiles() { //指定路径 string strShapeFolder = AppDomain.CurrentDomain.BaseDirectory; //文件名 string strShapeName = "DisasterShow"; string path = strShapeFolder + strShapeName + ".shp"; if (File.Exists(path)) { string strFilePath = System.IO.Path.GetDirectoryName(p
阅读全文
摘要:由于server中名称可能相同,所以用数组存放public static Dictionary ListServices_RESTAadmin(string restAdmin, string userName, string password, string folder) { string[] serverlist = new string[1]; Dictionary pServiceType = new Dictionary(); try { string token = GenerateAGSToken_RESTAdmin(restAdmin, userName, password)
阅读全文

浙公网安备 33010602011771号