Home >Database >Mysql Tutorial >ArcGIS10中怎么在数据库查看ArcCatalog设置图层的元数据信息

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

WBOY
WBOYOriginal
2016-06-07 15:47:581997browse

因为ArcGIS10的Schema和ArcGIS9的Schema发生了很大的变化,详细可以查看: Geodatabase10新特性 ArcSDE10新特性-系统表解析 下面我们介绍一下怎么在数据库里面查看,以Oracle数据库为例,因为SQL Server比较简单,直接查看即可 假如说我们对ArcSDE里面的一个

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

Geodatabase10新特性

ArcSDE10新特性-系统表解析

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

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

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

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

那么我们在数据库中查询

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>09083600reaTime><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 Classdinfo><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"></languagecode><countrycode value="CHN" sync="TRUE"></countrycode></datalang><idci tation><restitle sync="TRUE">TEST.ter1</restitle><presform><presformcd sync="TRU
E" value="005"></presformcd></presform><spatrptype><spatreptypcd sync="TRUE" va lue="001"></spatreptypcd></spatrptype><idpurp>qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq</idpurp><ida bs><div style="text-align:Left;"><div><p><span>eeeeeeeee
eeeeeeeeeeeeeeeeeeeeeee</span></p></div></div>
<i dcredit>rrrrrrrrrrrrrrrrrrrrrrrrrr<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>sConst><dataext><geoele xmlns=""><geobndbox esriextenttype="search"><westbl>restBL><eastbl>e</eastbl><northbl>r</northbl><southbl>r</southbl><extypecode>1xTypeCode></extypecode></westbl></geobndbox></geoele></dataext></resconst></i></ida></idci></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
</add></cntaddr></cntinfo></metc></metainfo></process></lineage></datapropertie></creatime></esri></metadata>

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

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

QQ一群:              78773981(已满)
QQ二群:            225989940
Blog:               http://blog.csdn.net/linghe301
Weibo:            http://www.weibo.com/linghe301

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn