




下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Arcgis空间数据库链接1. 使用ArcSDE服务连接空间数据库使用ArcSDE服务连接到空间数据库操作步骤如下:在ArcCatalog的目录树,展开DatabaseConnections文件夹.双击添加SpatialDatabaseConnection,打开“SpatialDatabaseConnectionProperties"对话框.在Server文本框中,输入服务器名称或者IP地址;在Service文本框,输入服务名或者端口号。如果想连接Oracle数据库中某用户方案的空间数据库,输入端口号和schema,并以冒号分隔,例如:5151:Geodata.如果数据存储在SQLServer,IBMDB2,Informix,orPostgreSQL关系型数据库中,在Database文本框中,输入预连接的数据库的名称。Oracle数据库跳过此步。如果使用数据库认证,输入数据库的用户名和密码。需要保存用户和密码,勾选“savetheusernameandpasswordwiththisconnectionfile”,否则不保存。如果使用操作系统认证,单击“Operatingsystemauthentication”按钮。数据库认证不可用。如使用Oracle某用户的Schema数据库或者使用SQLServer中的dbo-schema数据库,必须在属性对话框中更改“Connectiondetails”部分,从事务版本列表中选择空间数据库版本。Ifyoudonotwanttosavetheversionconnectioninformationyouprovidedinthelaststep,uncheckSavetheversionwiththeconnectionfile.如果不保存版本的连接信息,去掉“Savetheversionwiththeconnectionfile”前的勾选。单击“TestConnection”按钮,执行连接测试.测试成功,“TestConnection”按钮灰掉,否则,将无法从数据库中获取数据。单击OK按钮.输入数据库连接名称.13) 回车.2.直连Oracle空间数据库以下内容将介绍三种直连到Oracle空间数据库的方式:第一,使用数据库认证直连到Oracle空间数据库;第二,使用操作系统认证直连到Oracle空间数据库;第三,如何连接到某用户方案的空间数据库。使用数据库认证直连到Oracle空间数据库在ArcCatalog的目录树,展开DatabaseConnections文件夹.双击添加SpatialDatabaseConnection.Server,输入服务器名称或者IP地址;Service,根据Oracle客户端版本输入连接字符串。连接Oracle9i,输入:"sde:oracle9i";连接Oracle10g,输入:"sde:oracle10g";Oracle11g,输入:"sde:oracle11g".UserName,输入用户名.Password,输入密码及Oracle网络服务名,格式:sde@oradb。单击OK按钮.输入数据库连接名称。回车。使用操作系统认证直连到Oracle空间数据库Double-clicktheDatabaseConnectionsfolderintheCatalogtree.Double-clickAddSpatialDatabaseConnection.IntheServertextbox,typethenameoftheserveronwhichtheOracledatabaseresides.Ifyou'reconnectingtoOracle9i,intheServicetextbox,type"sde:oracle9i:/;LOCAL=<SQL_Net_alias>".Ifyou'reconnectingtoOracle10g,type"sde:oracle10g:/;LOCAL=<SQL_Net_alias>".TheSQLNetaliaswassetwhenyourcomputerwasconfiguredtouseadirectconnection.Contactyoursystemadministratorifyoudonotknowwhatvaluetosubstitutehere.ClicktheOperatingsystemauthenticationbutton.Thedatabaseauthenticationinformationbecomesunavailable.ClickOK.Typeanewnameforthespatialdatabaseconnection.PressEnter.连接到指定用户的空间数据库1)Double-clicktheDatabaseConnectionsfolderintheCatalogtree.2)Double-clickAddSpatialDatabaseConnection.IntheServertextbox,typethenameoftheserveronwhichtheOracledatabaseresides.Ifyou'reconnectingtoOracle9i,intheServicetextbox,type"sde:oracle9i:/:<schema_name>".Ifyou'reconnectingtoOracle10g,type"sde:oracle10g:/:<schema_name>".TypeyourusernameintheUserNametextbox.Typeyourpassword,followedby@<oraclenetworkservicename>,inthePasswordtextbox.UncheckSaveusernameandpasswordifyoudon'twantyourlogininformationsavedwiththeconnection.Spatialdatabaseconnectionsaremadetothesde.DEFAULTversionbydefault.Youmustchangetoauser-schemaversion.ClickChangeintheConnectiondetailssection.WhentheConnectionDetailsdialogboxopens,choosetheversionoftheuser-schemageodatabasetowhichyouwanttoconnect.Thiscouldbe<schema>.DEFAULToranyotherversionofthatgeodatabase.Forexample,iftheschemathegeodatabaseisinistubor,andyouwanttoconnecttotheqa77version,choosetubor.qa77fromthetransactionalversionlist.ClickOKontheConnectionDetailsdialogboxtocloseit.ClickOK.Typeanewnameforthespatialdatabaseconnection.PressEnter.3.直连SQLServer空间数据库YoucanuseadirectconnectionforanArcSDEgeodatabasestoredinSQLServer.Whenreadingthesteps,notethatthereareslightdifferencesinhowyoumakethatdirectconnectionbasedonthetypeofArcSDEgeodatabase.1)Double-clicktheDatabaseConnectionsfolderintheCatalogtree.2)Double-clickAddSpatialDatabaseConnection.IntheServertextbox,typethenameoftheserveronwhichtheSQLServerdatabaseresides.ToconnecttoanArcSDEgeodatabaseonadefaultinstanceofSQLServer,typethefollowingintheServicetextbox:"sde:sqlserver:<nameorIPAddressoftheserver>".ToconnecttoanArcSDEgeodatabaseonanamedinstanceofSQLServer,typethefollowingintheServicetextbox:"sde:sqlserver:<nameorIPAddressoftheserver>\<instance_name>".IfconnectingtoanArcSDEgeodatabaseonSQLServerExpress,typethefollowingintheServicetextbox:"sde:sqlserver:<server_name>\<instance_name>IINOTE:YoucouldalsocreateaspatialdatabaseconnectiontoanArcSDEgeodatabaseonSQLServerExpressbyright-clickingthegeodatabaseundertheDatabaseServersnodeandclicking。TypethenameofthedatabasetowhichyouwanttoconnectintheDatabasetextbox.Ifusingdatabaseauthentication,typeyourusernameandpassword.NOTE:YoucannotusedatabaseauthenticationforaconnectiontoanArcSDEgeodatabaseonadatabaseserver(aninstanceofSQLServerExpress).UncheckSaveusernameandpasswordifyoudonotwantyourlogininformationsavedwiththeconnection.Ifusingoperatingsystemauthentication,clicktheOperatingsystemauthenticationbutton.Thedatabaseauthenticationinformationbecomesunavailable.IfyouareconnectingtoanArcSDEgeodatabasewithadboschema,you
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年水路货物运输服务合作协议书
- 科技助力下的电梯故障快速响应机制
- 20以内乘法除法口算练习题目1000道可打印
- 20以内乘法除法口算题目集1000道可打印
- 20以内乘法除法口算练习题集1000道可打印
- 20以内乘法除法口算练习材料1000道可打印
- 基于缩短发酵时间的工夫红茶新工艺研究及效果评价
- 板房装修拆除合同范本
- 社区资源在提升学生实践能力中的作用研究
- 传统休闲食品项目绩效评估报告
- 深夜地铁7号线施工方案
- 山东2024年山东经贸职业学院第二批招聘102人历年参考题库(频考版)含答案解析
- 宫腔球囊止血护理常规
- 口腔6S管理详解
- 中医接诊能力培训
- 医院意识形态培训课件
- 2025年山东核电有限公司招聘笔试参考题库含答案解析
- 河北交投物流有限公司所属公司招聘笔试冲刺题2025
- 2025年上半年江西宜春市事业单位招聘工作人员651人重点基础提升(共500题)附带答案详解
- 2024-2025学年高一上学期期末数学试卷(新题型:19题)(基础篇)(含答案)
- 高血压课件教学课件
评论
0/150
提交评论