ArcGIS10中怎么在数据库查看ArcCatalog设置图层的元数据信息

因为ArcGIS10的Schema和ArcGIS9的Schema发生了很大的变化,详细可以查看:

Geodatabase10新特性

ArcSDE10新特性-系统表解析

下面我们介绍一下怎么在数据库里面查看,以Oracle数据库为例,因为SQL Server比较简单,直接查看即可

假如说我们对ArcSDE里面的一个名字叫ter1的要素类设置相关的元数据信息

ArcGIS10中怎么在数据库查看ArcCatalog设置图层的元数据信息_第1张图片

为了好辨认,我就使用了上面的信息

那么我们在数据库中查询

C:\Users\Administrator>sqlplus sde/sde@orcl

SQL*Plus: Release 11.2.0.1.0 Production on 星期三 5月 23 15:55:46 2012

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select documentation from gdb_items where name ='TEST.ter1';

DOCUMENTATION
-------------
          311
登录SDE用户,然后在GDB_ITEMS表中查询指定要素类的DOCMENTATION,如果是SQL Server,直接点击可以查看,如果是Oracle,我们可以看到一个数字,该数字是在sde_xml_doc2表里面对应相关的信息

SQL> select sde.sdexmltotext(xml_doc) as xml from sde_xml_doc2 where sde_xml_id=311;

XML
--------------------------------------------------------------------------------
<metadata xml:lang="zh"><Esri><CreaDate>20120523</CreaDate><CreaTime>09083600</C
reaTime><SyncOnce>FALSE</SyncOnce><SyncDate>20120523</SyncDate><SyncTime>1504100
0</SyncTime><ModDate>20120523</ModDate><ModTime>15362900</ModTime><DataPropertie
s><lineage><Process ToolSource="D:\Program Files (x86)\ArcGIS\ArcToolbox\Toolbox

......


XML
--------------------------------------------------------------------------------
ed.</useconst><natvform Sync="TRUE">File Geodatabase Feature Class</natvform></i
dinfo><dataIdInfo><envirDesc Sync="TRUE">Microsoft Windows 7 Version 6.1 (Build
7601) Service Pack 1; Esri ArcGIS 10.1.0.2944</envirDesc><dataLang><languageCode
 Sync="TRUE" value="zho"/><countryCode value="CHN" Sync="TRUE"/></dataLang><idCi
tation><resTitle Sync="TRUE">TEST.ter1</resTitle><presForm><PresFormCd Sync="TRU
E" value="005"/></presForm></idCitation><spatRpType><SpatRepTypCd Sync="TRUE" va
lue="001"/></spatRpType><idPurp>qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq</idPurp><idA
bs><DIV STYLE="text-align:Left;"><DIV><P><SPAN>eeeeeeeee
eeeeeeeeeeeeeeeeeeeeeee</SPAN></P></DIV></DIV></idAbs><i
dCredit>rrrrrrrrrrrrrrrrrrrrrrrrrr</idCredit><searchKeys><keyword>wwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwww</keyword></searchKeys><resConst><Consts><useLimit><DIV

XML
--------------------------------------------------------------------------------
 STYLE="text-align:Left;"><DIV><P><SPAN>ttttttttttttttttttt
ttttttttt</SPAN></P></DIV></DIV></useLimit></Consts></re
sConst><dataExt><geoEle xmlns=""><GeoBndBox esriExtentType="search"><westBL>r</w
estBL><eastBL>e</eastBL><northBL>r</northBL><southBL>r</southBL><exTypeCode>1</e
xTypeCode></GeoBndBox></geoEle></dataExt></dataIdInfo><metainfo><langmeta Sync="
TRUE">zh</langmeta><metstdn Sync="TRUE">FGDC Content Standards for Digital Geosp
atial Metadata</metstdn><metstdv Sync="TRUE">FGDC-STD-001-1998</metstdv><mettc S
ync="TRUE">local time</mettc><metc><cntinfo><cntorgp><cntper>REQUIRED: The perso
n responsible for the metadata information.</cntper><cntorg>REQUIRED: The organi
zation responsible for the metadata information.</cntorg></cntorgp><cntaddr><add
rtype>REQUIRED: The mailing and/or physical address for the organization or indi

在SQL PLUS里面显示不是特别好,我们直接在PL/SQL里面查看XML 结构即可

 -------------------------------------------------------------------------------------------------------
版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!
QQ一群:              78773981(已满)
QQ二群:            225989940
Blog:               http://blog.csdn.net/linghe301
Weibo:            http://www.weibo.com/linghe301

------------------------------------------------------------------------------------------------------

你可能感兴趣的:(ArcGIS10中怎么在数据库查看ArcCatalog设置图层的元数据信息)