Page 177 - 捷運技術 第52期
P. 177
捷運技術 第52期 173
5. 交換資料標準XML Schema
因為本局捷運工程之地下結構物如:地下車站、潛盾隧道、明挖覆蓋隧道及聯通
道等資料,並不在本資料庫標準規範討論範圍內,因此參用內政部資料庫標準內與本
局地下結構物相類似之「管線」及「管道」類別。其中潛盾隧道參用「管線」屬性資
料,地下車站、明挖覆蓋隧道及連通道參用「管道」XML Schema,其中潛盾隧道空
間資料類型(geometry type)為「LineString」,地下車站、明挖覆蓋隧道及連通道資料
空間資料類型(geometry" type)為「PolyGon」,如下表8。
表8 交換資料標準XML Schema
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/
gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://standards.moi.gov.tw/schema/utilityex" xmlns:utilityex="http://standards.moi.gov.tw/schema/
utilityex" elementFormDefault="qualified" attributeFormDefault="unqualified">
<import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.
xsd"/>
<!-- ============================ 元素宣告 ============================ -->
<element name="UTL " type="gml:FeatureCollectionType" substitutionGroup="gml:_FeatureCollection"/>
<element name="UTL_潛盾隧道" type="utilityex:UTL_潛盾隧道" substitutionGroup="gml:_Feature"/>
<element name="UTL_捷運地下車站" type="utilityex:UTL_捷運地下車站" substitutionGroup="gml:_Feature"/>
<element name="UTL_明挖覆蓋隧道" type="utilityex:UTL_明挖覆蓋隧道"
substitutionGroup="gml:_Feature"/>
<element name="UTL_連絡通道" type="utilityex:UTL_連絡通道"
substitutionGroup="gml:_Feature"/>
<!-- ===================== 捷運隧道主體資料標準類別====================== -->
<complexType name="UTL_潛盾隧道">
<complexContent>
<sequence>
<element name="geometry" type="gml:LineStringPropertyType"/>
<element name="類別碼" type="string"/>
<element name="識別碼" type="string"/>
<element name="管理單位" type="string"/>
<element name="作業區分" type="utilityex:作業區分代碼"/>
<element name="設置日期" type="gml:TimePrimitivePropertyType"/>
<element name="隧道編號" type="string" />
<element name="上下行方向" type="utilityex:上下行方向代碼"/>
<element name="尺寸單位" type="utilityex:尺寸單位代碼"/>
<element name="隧道直徑" type="decimal"/>
<element name="隧道長度" type="decimal"/>
<element name="隧道起點深度" type="decimal"/>
<element name="隧道終點深度" type="decimal"/>
<element name="使用狀態" type="utilityex:使用狀態代碼"/>
<element name="資料狀態" type="utilityex:資料狀態代碼"/>
<element name="捷運路線" type="string"/>
<element name="施工標別" type="string" />
<element name="工程原圖圖號" type="string" />
<element name="備註" type="string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="UTL_捷運地下車站">
<complexContent>
<sequence>