shape檔案匯入mdb檔案

2021-07-10 18:00:29 字數 1177 閱讀 6064

構造mdb,並在其中構造要素資料集,將shape檔案都匯入該要素資料集中

using system;

using system.collections.generic;

using system.io;

using system.threading;

using esri.arcgis.geodatabase;

using esri.arcgis.datasourcesgdb;

using esri.arcgis.geometry;

using esri.arcgis.geoprocessor;

using esri.arcgis.conversiontools;

using esri.arcgis.geoprocessing;

using esri.arcgis.datasourcesfile;

temp_workfactory.create(in_mdbpath, in_mdbname, null, 0);//建立乙個mdb

prv_creatfeaturedataset(in_datasetname, in_allshapepath[0]);//建立要素資料集,以第乙個shp檔案為空間參考

foreach (string each_path in li_allshapepath)

}public ifeaturedataset pub_getfeaturedataset()

public string pub_getstatus()

public string pub_ge***bfile()

//註冊要素類

private void prv_addfeatureclass(string in_shapepath)

//建立要素資料集

private void prv_creatfeaturedataset(string in_featuredatasetname,string in_shapepath)

//gp工具監督器,獲取狀態

private void prv_getstatus()

watch_stopwatch.stop();//停止計時器

watch_stopwatch.reset();//重置計時器

th_timespan.abort();//執行緒自殺}}

}

mdb檔案匯入SQLServer資料庫中

mdb microsoft database 格式是microsoft access軟體使用的一種儲存格式,mdb格式的資料庫是一種關聯式資料庫。建立的資料庫名稱要與mdb檔案的名字相同 example example 任務 匯入資料 選擇資料來源 microsoft access 選擇mdb檔案位...

Shape檔案介紹

shapefile檔案是美國環境系統研究所 esri 所研製的gis檔案系統格式檔案,是工業標準的向量資料檔案。shapefile將空間特徵表中的非拓撲幾何物件和屬性資訊儲存在資料集中,特徵表中的幾何物件存為以座標點集表示的圖形檔案 shp檔案,shapefile檔案並不含拓撲 topologica...

mdb檔案取消隱藏 webshellphp隱藏技巧

在紅藍對抗中,我們在拿下乙個伺服器之後該如何讓許可權維持的久一些而不被管理員輕易的發現 除了webshell要免殺,還需要注意一些隱藏技巧,因此就要在我們上傳的木馬動點手腳想辦法不被管理員以及檢測工具快速的發現。使用attrib s a h r命令就是把原本的資料夾增加了系統檔案屬性 存檔檔案屬性 ...