freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

23-資源環(huán)境信息系統(tǒng)(gis07)c4(更新版)

  

【正文】 ass()。 },//響應(yīng)查看重點(diǎn)污染源菜單項(xiàng)的Click事件 private void 查看重點(diǎn)污染源ToolStripMenuItem_Click(object sender, EventArgs e) { //創(chuàng)建圖層 IFields PropertyFields = new FieldsClass()。 System.Runtime.InteropServices.Marshal.ReleaseComObject(oFieldEdit)。 oFeatureClass = (inmemWor as IFeatureWorkspace).CreateFeatureClass(DataSetName, oFields, null, null, esriFeatureType.esriFTSimple, “SHAPE“, ““)。 geometryDefEdit.HasZ_2 = false。 i PropertyFields.FieldCount。 IFields oFields = new FieldsClass()。 using ESRI.ArcGIS.Geometry。 (1) 從數(shù)據(jù)源(G101表)中獲取重點(diǎn)污染源的代碼、名稱(chēng)、 [中心經(jīng)度(度)]、[中心經(jīng)度(分)]、[中心經(jīng)度(秒)]、[中心緯度(度)]、[中心緯度(分)]、[中心緯度(秒)]字段信息; (2)利用坐標(biāo)轉(zhuǎn)換公式將重點(diǎn)污染源的地理坐標(biāo)(經(jīng)緯度坐標(biāo))轉(zhuǎn)換為高斯坐標(biāo)(這里是北京54投影坐標(biāo)系)。如:ESRI.ArcGIS.Controls.esriTOCControlItem item = ESRI.ArcGIS.Controls.esriTOCControlItem.esriTOCControlItemNone。 i pMap.LayerCount。 IBasicMap map = null。 private void axTOCControl1_OnMouseDown(object sender, ESRI.ArcGIS.Controls.ITOCControlEvents_OnMouseDownEvent e) { //前面已添加代碼,這里不需要再添加 this.axTOCControl1.ContextMenuStrip = null。但是TOCControl控件并未實(shí)現(xiàn)此功能。 m.SelectFeature(layer, feature)。 m.ClearSelection()。響應(yīng)datagridView1控件的SelectionChanged事件。 但此時(shí)運(yùn)行程序會(huì)報(bào)錯(cuò):命名空間ESRI.ArcGIS中不存在類(lèi)型名或命名空間名稱(chēng)Geodatabase(是缺少程序集引用嗎?)。 } table.Rows.Add(values)。 } object[] values = new object[lyrtable.Fields.FieldCount]。 this.Text = “\““ + layer.Name + “\“ 屬性表“。 this.axTOCControl1.HitTest(e.x, e.y, ref item, ref map, ref layer, ref other, ref index)。響應(yīng)TOCControl控件的OnMouseDown事件,添加相關(guān)代碼。,添加的菜單項(xiàng),修改菜單name屬性,步驟2:實(shí)現(xiàn)圖層與圖層控制菜單間的關(guān)聯(lián)。 ESRI.ArcGIS.Controls.esriTOCControlItem item = ESRI.ArcGIS.Controls.esriTOCControlItem.esriTOCControlItemNone。 layer = lyr。 table.Columns.Add(field.Name)。 values[j] = ob。 using ESRI.ArcGIS.Geodatabase。彈出該圖層的屬性表界面,步驟6:這里實(shí)現(xiàn)一個(gè)通過(guò)屬性表中屬性查找圖形要素的小功能。 IMap m = form.getMapControl().Map。 IFeature feature = featurecls.GetFeature(ID)。 } } },運(yùn)行程序,顯示如下:,刪除biaozhidian圖層前,刪除biaozhidian圖層后,3 圖層間關(guān)系的調(diào)整,在ArcMap中,要調(diào)整圖層的現(xiàn)實(shí)順序,只需要簡(jiǎn)單的鼠標(biāo)拖拽就可以完成,既簡(jiǎn)單又直觀。 int Toindex。,雙擊OnMouseUp事件,private void axTOCControl1_OnMouseUp(object sender, ESRI.ArcGIS.Controls.ITOCControlEvents_OnMouseUpEvent e) { if (e.button == 1) { ESRI.ArcGIS.Controls.esriTOCControlItem item = ESRI.ArcGIS.Controls.esriTOCControlItem.esriTOCControlItemNone。 for (int i = 0。這樣就可以在編寫(xiě)一些代碼時(shí)簡(jiǎn)化程序。,新生成的點(diǎn)圖層,新生成點(diǎn)圖層在地圖上的顯示,功能實(shí)現(xiàn)流程,1添加一個(gè)查看重點(diǎn)污染源的菜單; 2點(diǎn)擊該菜單時(shí),生成一個(gè)“重點(diǎn)污染源”點(diǎn)圖層,并在地圖顯示區(qū)域顯示出來(lái)。 using System.Data.OleDb。 IField oField = new FieldClass()。 for (int i = 0。 geometryDefEdit.HasM_2 = false。 oFieldsEdit.AddField(oField)。 System.Runtime.InteropServices.Marshal.ReleaseComObject(oFieldsEdit)。 } return oFeatureLayer。 FieldsEdit.AddField(FieldEdit)。 FieldEdit = (IFieldEdit)Field。 FieldEdit.AliasName_2 = “y“。 int index_y = table.FindField(“y“)。 int jd_D = 0, jd_F = 0, jd_M = 0, wd_D = 0, wd_F = 0, wd_M = 0。 object[] values = new object[cols]。,case “中心經(jīng)度(度)“: index_jd_D = index_Field。 case “中心緯度(分)“: index_wd_F = index_Field。 row.set_Value(index_代碼, values[index_code])。 },catch (Exception e1) { wd_D = 0。 row.set_Value(index_x, result_x)。 } catch (Exception ex) { MessageBox.Show(ex.Message, ““, MessageBoxButtons.OK, MessageBoxIcon.Error)。 如果一個(gè)點(diǎn)在圖號(hào)為T(mén)H的圖幅中,那麼該點(diǎn)所處的六度帶的帶號(hào)就可以這樣得到:將該圖號(hào)的 第4位組成的字符串先轉(zhuǎn)換成數(shù)字,再減去30。 // 將jd、wd轉(zhuǎn)換成以弧度為單位 double et2。 double b_c = 6399698.90178271。 et2 = b_e2 * System.Math.Pow(tcos
點(diǎn)擊復(fù)制文檔內(nèi)容
化學(xué)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1