2. 地物描画データスキーマ
2.3. 描画のための符号化仕様
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="http://www.roadic.or.jp/schema/roadregistermap http://www.mlit.go.jp/road/schema/roadgis http://www.gsi.go.jp/DM/schema/1.0_2008-01
http://www.gsi.go.//standardSchemas2.1_2009-05"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 地物描画データ -->
<xs:complexType name="PortrayalData" abstract="true">
<xs:complexContent>
<xs:extension base="jps:IM_Object">
<xs:sequence>
<xs:element name="PortrayalData.termOfValidity" type="jps:ref_TM_Period"/>
<xs:element name="PortrayalData.roadRegisterMapUqFeature" type="rrm:ref_RoadRegisterMapUqFeature"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="PortrayalData.rdFeature" type="rrm:ref_RdFeature" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="PortrayalData.dmFeature" type="rrm:ref_DmFeature" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 注記 -->
<xs:complexType name="Annotation">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="Annotation.style" type="jps:ref_JP_AnnotationStyleElement"/>
<xs:element name="Annotation.displayPosition" type="rrm:BasisForDisplay"/>
<xs:element name="Annotation.string" type="jps:CharacterString"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 地図記号 -->
<xs:complexType name="MapSymbol">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="MapSymbol.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="MapSymbol.displayPosition" type="rrm:BasePointForDisplay" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 配置基点 -->
<xs:complexType name="BasePointForDisplay">
<xs:sequence>
<xs:element name="BasePointForDisplay.insertPoint" type="jps:DirectPosition"/>
<xs:element name="BasePointForDisplay.angle" type="jps:Integer"/>
</xs:sequence>
</xs:complexType>
<!-- 配置基準 -->
<xs:complexType name="BasisForDisplay">
<xs:choice>
<xs:element name="BasisForDisplay.basePoint" type="rrm:BasePointForDisplay"/>
<xs:element name="BasisForDisplay.baseLine" type="jps:ref_GM_LineString"/>
</xs:choice>
</xs:complexType>
<!-- 幅員線 -->
<xs:complexType name="RoadWidthLine">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="RoadWidthLine.line" type="jps:ref_GM_LineString" minOccurs="0"/>
<xs:element name="RoadWidthLine.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="RoadWidthLine.type" type="jps:CodeType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 引き出し線-->
<xs:complexType name="LeadingLine">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="LeadingLine.line" type="jps:ref_GM_LineString"/>
<xs:element name="LeadingLine.line.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="LeadingLine.type" type="jps:CodeType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 記号(道路台帳附図) -->
<xs:complexType name="Symbol_RoadRegisterMap">
<xs:complexContent>
<xs:extension base="rrm:MapSymbol">
<xs:sequence>
<xs:element name="Symbol_RoadRegisterMap.sType" type="jps:CodeType"/>
<xs:element name="Symbol_RoadRegisterMap.type" type="jps:CodeType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 注記(道路台帳附図) -->
<xs:complexType name="Annotation_RoadRegisterMap">
<xs:complexContent>
<xs:extension base="rrm:Annotation">
<xs:sequence>
<xs:element name="Annotation_RoadRegisterMap.aType" type="jps:CodeType"/>
<xs:element name="Annotation_RoadRegisterMap.type" type="jps:CodeType" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- その他の図 -->
<xs:complexType name="OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="OtherDrawing.name" type="jps:CharacterString"/>
<xs:element name="OtherDrawing.type" type="jps:CodeType" minOccurs="0"/>
<xs:element name="OtherDrawing.drawingLine_otherDrawing" type="rrm:ref_DrawingLine_OtherDrawing"/>
<xs:element name="OtherDrawing.annotation_otherDrawing" type="rrm:ref_Annotation_OtherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 作図線(その他の図) -->
<xs:complexType name="DrawingLine_OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element name="DrawingLine_OtherDrawing.type" type="jps:CodeType" minOccurs="0"/>
<xs:element name="DrawingLine_OtherDrawing.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="DrawingLine_OtherDrawing.line" type="jps:ref_GM_Curve"/>
<xs:element name="DrawingLine_OtherDrawing.otherDrawing" type="rrm:ref_OtherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- 注記(その他の図) -->
<xs:complexType name="Annotation_OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:Annotation_RoadRegisterMap">
<xs:sequence>
<xs:element name="Annotation_OtherDrawing.type" type="jps:CodeType" minOccurs="0"/>
<xs:element name="Annotation_OtherDrawing.otherDrawing" type="rrm:ref_OtherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--==== ComplexType Declaration======-->
<!-- CodeList -->
<!-- 種別コード(幅員)-->
<xs:complexType name="TypeCode_RoadWidth">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!-- 種別コード(引き出し線)-->
<xs:complexType name="TypeCode_LeadingLine">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!—記号種類コード-->
<xs:complexType name="TypeCode_Symbol">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!--記号種別コード-->
<xs:complexType name="ClassType_Symbol ">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!-- 注記種類コード-->
<xs:complexType name="TypeCode_Annotation">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!—注記種別コード-->
<xs:complexType name="ClassType_Annotation">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!-- 種別コード(注記(その他の図))-->
<xs:complexType name="TypeCode_Annotation_OtherDrawing">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>
</xs:complexType>
<!--======== Object Reference ========-->
<!-- その他の図-->
<xs:complexType name="ref_OtherDrawing">
<xs:attributeGroup ref="jps:IM_ObjectReference"/>
</xs:complexType>
<!-- 作図線(その他の図)-->
<xs:complexType name="ref_DrawingLine_OtherDrawing">
<xs:attributeGroup ref="jps:IM_ObjectReference"/>
</xs:complexType>
<!-- 注記(その他の図)-->
<xs:complexType name="ref_Annotation_OtherDrawing">
<xs:attributeGroup ref="jps:IM_ObjectReference"/>
</xs:complexType>
<!-- 道路台帳附図固有地物データ-->
<xs:complexType name="ref_RoadRegisterMapUqFeature">
<xs:attributeGroup ref="xlink:simpleLink"/>
</xs:complexType>
<!-- 道路基盤地図情報 -->
<xs:complexType name="ref_RdFeature">
<xs:attributeGroup ref="xlink:simpleLink"/>
</xs:complexType>
<!-- 地物(地図情報レベル1000データ) -->
<xs:complexType name="ref_DmFeature">
<xs:attributeGroup ref="xlink:simpleLink"/>
</xs:complexType>
</xs:schema>
rrmFeaturePortrayal.xsd(JPGIS Ver.1.0準拠)
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.roadic.or.jp/schema/roadregistermap" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jps="http://www.gsi.go.jp/GIS/jpgis/standardSchemas1.0_2007-03"
xmlns:dm="http://www.gsi.go.jp/DM/schema/1.0_2008-01" xmlns:rf="http://www.mlit.go.jp/road/schema/roadgis"
xmlns:rrm="http://www.roadic.or.jp/schema/roadregistermap" elementFormDefault="unqualified"
attributeFormDefault="unqualified" version="1.0">
<xs:annotation>
<xs:appinfo>rrmFeaturePortrayal.xsd</xs:appinfo>
<xs:documentation>道路台帳附図データ地物描画スキーマの XML Schema文書(JPGIS Ver.1.0用, 地図情報レベル1000 用)</xs:documentation>
<xs:documentation>2009年4月制定</xs:documentation>
<xs:documentation>2010年2月修正</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
<xs:import namespace="http://www.gsi.go.jp/GIS/jpgis/standardSchemas1.0_2007-03"
schemaLocation="jpsDictionary.xsd"/>
<xs:import namespace="http://www.gsi.go.jp/GIS/jpgis/standardSchemas1.0_2007-03" schemaLocation="jpsRoot.xsd"/>
<xs:import namespace="http://www.gsi.go.jp/DM/schema/1.0_2008-01" schemaLocation="DMSchema1000.xsd"/>
<!-- 地物描画データ集合 -->
<xs:element name="PortrayalDataset" type="rrm:PortrayalDataset"/>
<!-- 地物描画データ -->
<xs:element name="PortrayalData" type="rrm:PortrayalData" abstract="true"/>
<!-- 地図記号 -->
<xs:element name="MapSymbol" type="rrm:MapSymbol" substitutionGroup="rrm:PortrayalData"/>
<!-- 注記 -->
<xs:element name="Annotation" type="rrm:Annotation" substitutionGroup="rrm:PortrayalData"/>
<!-- 配置基点 -->
<xs:element name="BasePointForDisplay" type="rrm:BasePointForDisplay"/>
<!-- 配置基準 -->
<xs:element name="BasisForDisplay" type="rrm:BasisForDisplay"/>
<!-- 幅員線 -->
<xs:element name="RoadWidthLine" type="rrm:RoadWidthLine" substitutionGroup="rrm:PortrayalData"/>
<!-- 記号(道路台帳附図) -->
<xs:element name="Symbol_RoadRegisterMap" type="rrm:Symbol_RoadRegisterMap"
substitutionGroup="rrm:MapSymbol"/>
<!-- 注記(道路台帳附図) -->
<xs:element name="Annotation_RoadRegisterMap" type="rrm:Annotation_RoadRegisterMap"
substitutionGroup="rrm:Annotation"/>
<!-- その他の図 -->
<xs:element name="OtherDrawing" type="rrm:OtherDrawing" substitutionGroup="rrm:PortrayalData"/>
<!-- 作図線(その他の図) -->
<xs:element name="DrawingLine_OtherDrawing" type="rrm:DrawingLine_OtherDrawing"
substitutionGroup="rrm:PortrayalData"/>
<!-- 注記(その他の図) -->
<xs:element name="Annotation_OtherDrawing" type="rrm:Annotation_OtherDrawing" substitutionGroup="rrm:Annotation"/>
<!-- 地物描画データ集合 -->
<xs:complexType name="PortrayalDataset">
<xs:complexContent>
<xs:extension base="jps:IM_Object">
<xs:sequence>
<xs:element ref="rrm:PortrayalDataset.annotationStyleDictionary" minOccurs="0"/>
<xs:element ref="rrm:PortrayalDataset.symbolDictionary" minOccurs="0"/>
<xs:element ref="rrm:PortrayalDataset.element"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="PortrayalDataset.annotationStyleDictionary" type="jps:ref_JP_AnnotationStyleDictionary"/>
<xs:element name="PortrayalDataset.symbolDictionary" type="jps:ref_JP_MapSymbolDictionary"/>
<xs:element name="PortrayalDataset.element">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:any namespace="http://www.roadic.or.jp/schema/roadregistermap
http://www.gsi.go.jp/DM/schema/1.0_2008-01 http://www.gsi.go.jp/GIS/jpgis/standardSchemas1.0_2007-03"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- 地物描画データ -->
<xs:complexType name="PortrayalData" abstract="true">
<xs:complexContent>
<xs:extension base="jps:IM_Object">
<xs:sequence>
<xs:element ref="rrm:PortrayalData.termOfValidity"/>
<xs:element ref="rrm:PortrayalData.dmFeature" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="PortrayalData.termOfValidity" type="jps:ref_TM_Period"/>
<xs:element name="PortrayalData.dmFeature" type="rrm:ref_DmFeature"/>
<!-- 注記 -->
<xs:complexType name="Annotation">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:Annotation.style"/>
<xs:element ref="rrm:Annotation.displayPosition"/>
<xs:element ref="rrm:Annotation.string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Annotation.style" type="jps:ref_JP_AnnotationStyleElement"/>
<xs:element name="Annotation.displayPosition" type="rrm:BasisForDisplay"/>
<xs:element name="Annotation.string" type="jps:CharacterString"/>
<!-- 地図記号 -->
<xs:complexType name="MapSymbol">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:MapSymbol.symbol"/>
<xs:element ref="rrm:MapSymbol.displayPosition" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="MapSymbol.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="MapSymbol.displayPosition">
<xs:complexType>
<xs:sequence>
<xs:element ref="rrm:BasePointForDisplay"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- 配置基点 -->
<xs:complexType name="BasePointForDisplay">
<xs:sequence>
<xs:element name="BasePointForDisplay.insertPoint" type="jps:DirectPosition"/>
<xs:element name="BasePointForDisplay.angle" type="jps:Integer"/>
</xs:sequence>
</xs:complexType>
<!-- 配置基準 -->
<xs:complexType name="BasisForDisplay">
<xs:choice>
<xs:element ref="rrm:BasisForDisplay.basePoint"/>
<xs:element ref="rrm:BasisForDisplay.baseLine"/>
</xs:choice>
</xs:complexType>
<xs:element name="BasisForDisplay.basePoint">
<xs:complexType>
<xs:sequence>
<xs:element ref="rrm:BasePointForDisplay"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BasisForDisplay.baseLine" type="jps:ref_GM_LineString"/>
<!-- 幅員線 -->
<xs:complexType name="RoadWidthLine">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:RoadWidthLine.line" minOccurs="0"/>
<xs:element ref="rrm:RoadWidthLine.symbol"/>
<xs:element ref="rrm:RoadWidthLine.type" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RoadWidthLine.line" type="jps:ref_GM_LineString"/>
<xs:element name="RoadWidthLine.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="RoadWidthLine.type" type="jps:CodeType"/>
<!-- 引き出し線-->
<xs:complexType name="LeadingLine">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:LeadingLine.line"/>
<xs:element ref="rrm:LeadingLine.line.symbol"/>
<xs:element ref="rrm:LeadingLine.type" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="LeadingLine.line" type="jps:ref_GM_LineString"/>
<xs:element name="LeadingLine.line.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="LeadingLine.type" type="jps:CodeType"/>
<!-- 記号(道路台帳附図) -->
<xs:complexType name="Symbol_RoadRegisterMap">
<xs:complexContent>
<xs:extension base="rrm:MapSymbol">
<xs:sequence>
<xs:element ref="rrm:Symbol_RoadRegisterMap.sType"/>
<xs:element ref="rrm:Symbol_RoadRegisterMap.type" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Symbol_RoadRegisterMap.sType" type="jps:CodeType"/>
<xs:element name="Symbol_RoadRegisterMap.type" type="jps:CodeType"/>
<!-- 注記(道路台帳附図) -->
<xs:complexType name="Annotation_RoadRegisterMap">
<xs:complexContent>
<xs:extension base="rrm:Annotation">
<xs:sequence>
<xs:element ref="rrm:Annotation_RoadRegisterMap.aType"/>
<xs:element ref="rrm:Annotation_RoadRegisterMap.type" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Annotation_RoadRegisterMap.aType" type="jps:CodeType"/>
<xs:element name="Annotation_RoadRegisterMap.type" type="jps:CodeType"/>
<!-- その他の図 -->
<xs:complexType name="OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:OtherDrawing.name"/>
<xs:element ref="rrm:OtherDrawing.type" minOccurs="0"/>
<xs:element ref="rrm:OtherDrawing.drawingLine_otherDrawing"/>
<xs:element ref="rrm:OtherDrawing.annotation_otherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="OtherDrawing.name" type="jps:CharacterString"/>
<xs:element name="OtherDrawing.type" type="jps:CodeType"/>
<xs:element name="OtherDrawing.drawingLine_otherDrawing" type="rrm:ref_DrawingLine_OtherDrawing"/>
<xs:element name="OtherDrawing.annotation_otherDrawing" type="rrm:ref_Annotation_OtherDrawing"/>
<!-- 作図線(その他の図) -->
<xs:complexType name="DrawingLine_OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:PortrayalData">
<xs:sequence>
<xs:element ref="rrm:DrawingLine_OtherDrawing.type" minOccurs="0"/>
<xs:element ref="rrm:DrawingLine_OtherDrawing.symbol"/>
<xs:element ref="rrm:DrawingLine_OtherDrawing.line"/>
<xs:element ref="rrm:DrawingLine_OtherDrawing.otherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DrawingLine_OtherDrawing.type" type="jps:CodeType"/>
<xs:element name="DrawingLine_OtherDrawing.symbol" type="jps:ref_JP_MapSymbolElement"/>
<xs:element name="DrawingLine_OtherDrawing.line" type="jps:ref_GM_Curve"/>
<xs:element name="DrawingLine_OtherDrawing.otherDrawing" type="rrm:ref_OtherDrawing"/>
<!-- 注記(その他の図) -->
<xs:complexType name="Annotation_OtherDrawing">
<xs:complexContent>
<xs:extension base="rrm:Annotation_RoadRegisterMap">
<xs:sequence>
<xs:element ref="rrm:Annotation_OtherDrawing.type" minOccurs="0"/>
<xs:element ref="rrm:Annotation_OtherDrawing.otherDrawing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Annotation_OtherDrawing.type" type="jps:CodeType"/>
<xs:element name="Annotation_OtherDrawing.otherDrawing" type="rrm:ref_OtherDrawing"/>
<!--==== ComplexType Declaration =========-->
<!-- CodeList -->
<!-- 種別コード(幅員)-->
<xs:complexType name="TypeCode_RoadWidth">
<xs:complexContent>
<xs:extension base="jps:codelist"/>
</xs:complexContent>