Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GML Dictionary XML files for Handbook #01 #129

Merged
merged 9 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
source "https://rubygems.org"

#gem "metanorma-plateau", source: "https://rubygems.pkg.github.com/metanorma"
#gem "mn2pdf", git: "https://github.com/metanorma/mn2pdf-ruby", branch: "main"
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "features/requirement-class"
gem "mn-requirements", git: "https://github.com/metanorma/mn-requirements", branch: "features/requirement-class"
gem "metanorma-cli"
gem "coradoc"

# WARNING: only for developers
gem "metanorma-plateau", git: "[email protected]:metanorma/metanorma-plateau.git"
#gem "metanorma-plateau", path: "~/src/mn/metanorma-plateau"
gem "sassc"
gem "debug"
# gem "metanorma-plateau", git: "[email protected]:metanorma/metanorma-plateau.git"
# gem "sassc"
# gem "debug"
# gem "metanorma-plateau", path: "~/src/mn/metanorma-plateau"
# gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "features/requirement-class"
# gem "mn-requirements", git: "https://github.com/metanorma/mn-requirements", branch: "features/requirement-class"

10 changes: 10 additions & 0 deletions sources/001-v4/gml_dict_template.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[cols="3a,22a"]
|===
| ファイル名 | {{ dict.file_name }}

h| ファイルURL | https://www.geospatial.jp/iur/codelists/3.1/{{ dict.file_name }}
h| コード h| 説明
{% for entry in dict.dictionary_entry %}
| {{ entry.name }} | {{ entry.description }}
{% endfor %}
|===
16 changes: 16 additions & 0 deletions sources/001-v4/iur/codelists/3.1/Agreement_custodianType.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_a6aaa2a1-e376-4dde-af89-fc1af9ac9f26">
<gml:name>Agreement_custodianType</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="Agreement_custodianType_1">
<gml:description>都道府県</gml:description>
<gml:name>1</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Agreement_custodianType_2">
<gml:description>市区町村</gml:description>
<gml:name>2</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
16 changes: 16 additions & 0 deletions sources/001-v4/iur/codelists/3.1/Appearance_mimeType.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_9366659a-cd5a-4dd7-b409-9df2781a17aa">
<gml:name>Appearance_mimeType</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appearance_mimeType_1">
<gml:description>*.jpeg, *.jpg images</gml:description>
<gml:name>image/jpeg</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appearance_mimeType_2">
<gml:description>*.png images</gml:description>
<gml:name>image/png</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
70 changes: 70 additions & 0 deletions sources/001-v4/iur/codelists/3.1/Appurtenance_appurtenanceType.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_e8d400a0-0452-4fc1-bb97-d9540ec9cee0">
<gml:name>Appurtenance_appurtenanceType</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_1">
<gml:description>ガバナ</gml:description>
<gml:name>410</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_2">
<gml:description>バルブ</gml:description>
<gml:name>420</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_3">
<gml:description>水取器</gml:description>
<gml:name>430</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_4">
<gml:description>弁栓類</gml:description>
<gml:name>510</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_5">
<gml:description>消火栓</gml:description>
<gml:name>520</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_6">
<gml:description>空気弁</gml:description>
<gml:name>530</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_7">
<gml:description>その他配水弁栓</gml:description>
<gml:name>540</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_8">
<gml:description>加圧ポンプ</gml:description>
<gml:name>550</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_9">
<gml:description>計測施設等</gml:description>
<gml:name>560</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_10">
<gml:description>テレメータ</gml:description>
<gml:name>570</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Appurtenance_appurtenanceType_11">
<gml:description>その他施設</gml:description>
<gml:name>580</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
100 changes: 100 additions & 0 deletions sources/001-v4/iur/codelists/3.1/AuxiliaryTrafficArea_function.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_9251d8c6-a338-4f97-b30c-0c3999600c9f">
<gml:name>AuxiliaryTrafficArea_function</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_1">
<gml:description>車道部</gml:description>
<gml:name>1000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_2">
<gml:description>非常駐車帯</gml:description>
<gml:name>1060</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_3">
<gml:description>中央帯</gml:description>
<gml:name>1080</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_4">
<gml:description>側帯</gml:description>
<gml:name>1090</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_5">
<gml:description>路肩</gml:description>
<gml:name>1100</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_6">
<gml:description>停車帯</gml:description>
<gml:name>1110</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_7">
<gml:description>乗合自動車停車所</gml:description>
<gml:name>1120</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_8">
<gml:description>島</gml:description>
<gml:name>3000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_9">
<gml:description>交通島</gml:description>
<gml:name>3010</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_10">
<gml:description>分離帯</gml:description>
<gml:name>3020</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_11">
<gml:description>路面電車停車所</gml:description>
<gml:name>4000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_12">
<gml:description>植栽</gml:description>
<gml:name>5000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_13">
<gml:description>植樹帯</gml:description>
<gml:name>5010</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_14">
<gml:description>植樹ます</gml:description>
<gml:name>5020</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_15">
<gml:description>自転車駐車場</gml:description>
<gml:name>6000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_function_16">
<gml:description>自動車駐車場</gml:description>
<gml:name>7000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_ac705cfe-b5b0-4b2f-ac79-829f358ef276">
<gml:name>AuxiliaryTrafficArea_surfaceMaterial</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_1">
<gml:description>アスファルト舗装</gml:description>
<gml:name>1000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_2">
<gml:description>排水性アスファルト舗装</gml:description>
<gml:name>1010</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_3">
<gml:description>透水性アスファルト舗装</gml:description>
<gml:name>1020</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_4">
<gml:description>保水性アスファルト舗装</gml:description>
<gml:name>1030</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_5">
<gml:description>コンクリート舗装</gml:description>
<gml:name>2000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_6">
<gml:description>樹脂系混合舗装</gml:description>
<gml:name>3000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_7">
<gml:description>ブロック系舗装</gml:description>
<gml:name>4000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_8">
<gml:description>土系舗装</gml:description>
<gml:name>5000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_9">
<gml:description>木質系舗装</gml:description>
<gml:name>6000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="AuxiliaryTrafficArea_surfaceMaterial_10">
<gml:description>その他</gml:description>
<gml:name>9000</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
88 changes: 88 additions & 0 deletions sources/001-v4/iur/codelists/3.1/Boundary_function.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<gml:Dictionary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/SimpleDictionary/1.0.0/gmlSimpleDictionaryProfile.xsd" gml:id="cl_03b0bcc9-f7e5-4434-a9e5-4ea10b21f195">
<gml:name>Boundary_function</gml:name>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_1">
<gml:description>行政界</gml:description>
<gml:name>11</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_2">
<gml:description>地番界</gml:description>
<gml:name>21</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_3">
<gml:description>現地杭界</gml:description>
<gml:name>22</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_4">
<gml:description>見通し界</gml:description>
<gml:name>23</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_5">
<gml:description>境界未確定</gml:description>
<gml:name>24</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_6">
<gml:description>道路区域(道路法により定められる)</gml:description>
<gml:name>31</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_7">
<gml:description>道路区域(現況)</gml:description>
<gml:name>32</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_8">
<gml:description>河川区域(河川法により定められる)</gml:description>
<gml:name>33</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_9">
<gml:description>河川区域(現況)</gml:description>
<gml:name>34</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_10">
<gml:description>水路界</gml:description>
<gml:name>35</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_11">
<gml:description>鉄道界</gml:description>
<gml:name>36</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_12">
<gml:description>護岸界、河川界、埋立界</gml:description>
<gml:name>37</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_13">
<gml:description>都市公園法に定める公園界</gml:description>
<gml:name>38</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
<gml:dictionaryEntry>
<gml:Definition gml:id="Boundary_function_14">
<gml:description>道路中心線</gml:description>
<gml:name>41</gml:name>
</gml:Definition>
</gml:dictionaryEntry>
</gml:Dictionary>
Loading
Loading