国土数値情報 鉄道データ N02-16_GML.zip

国土数値情報 鉄道データ N02-16_GML.zip

情報


-国土数値情報 鉄道データの詳細
--http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-N02-v2_3.html
-->全国の旅客鉄道・軌道の路線や駅について、形状(線)、鉄道区分(普通鉄道、鋼索鉄道、懸垂式モノレール、跨座式モノレール等)、事業者(新幹線、JR在来線、公営鉄道、民営鉄道、第三セクター)、路線名、運営会社等を整備したものである。駅は、鉄道路線の一部分として整備している。

-GeoJSON を見てみたけど、駅も区間も順番通りに並んでいないように見える(環状線とかどうするんだという気もする)。駅の LineString と区間の LineString を緯度・経度が一致するようにつなげれば、駅が順番通りに並んだ路線データができそう。

名古屋市営地下鉄 上飯田線


-駅が2つしかないので小さいサンプルとしてちょうどよさそう
-N02-16_RailroadSection.geojson 内の3つの項目のうち2つが、N02-16_Station.geojson の位置情報(経度・緯度)と一致する。
-駅も区間も順番通りに並んでいないので手動で並び替えてみた。GML(XML)のほうには連番のようなキーが付いていたけど順番はあやしい。

N02-16_RailroadSection.geojson
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "上飯田線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92973, 35.19723 ], [ 136.92979, 35.19521 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "上飯田線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92968, 35.20271 ], [ 136.92973, 35.19723 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "上飯田線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92968, 35.2045 ], [ 136.92968, 35.20271 ] ] } },

N02-16_Station.geojson
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "上飯田線", "運営会社": "名古屋市", "駅名": "平安通" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92973, 35.19723 ], [ 136.92979, 35.19521 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "上飯田線", "運営会社": "名古屋市", "駅名": "上飯田" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92968, 35.2045 ], [ 136.92968, 35.20271 ] ] } },

名古屋市営地下鉄 桜通線


N02-16_RailroadSection.geojson
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.95536, 35.10236 ], [ 136.95443, 35.10285 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.91544, 35.17417 ], [ 136.91243, 35.17402 ], [ 136.9089, 35.17379 ], [ 136.90851, 35.17377 ], [ 136.90838, 35.17376 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.9336, 35.14936 ], [ 136.93361, 35.14946 ], [ 136.93376, 35.15034 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93376, 35.15034 ], [ 136.93422, 35.153 ], [ 136.93479, 35.15623 ], [ 136.93506, 35.15782 ], [ 136.93515, 35.15834 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93645, 35.11843 ], [ 136.93631, 35.11937 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.94475, 35.10546 ], [ 136.94365, 35.10567 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.94365, 35.10567 ], [ 136.94299, 35.10577 ], [ 136.94231, 35.10587 ], [ 136.94181, 35.10595 ], [ 136.94111, 35.10609 ], [ 136.94047, 35.10621 ], [ 136.93999, 35.10631 ], [ 136.93931, 35.10646 ], [ 136.93839, 35.10668 ], [ 136.93785, 35.10682 ], [ 136.93756, 35.1069 ], [ 136.93735, 35.10696 ], [ 136.9372, 35.10703 ], [ 136.93706, 35.10711 ], [ 136.93696, 35.10725 ], [ 136.93674, 35.10764 ], [ 136.93668, 35.10779 ], [ 136.9366, 35.10802 ], [ 136.93663, 35.10828 ], [ 136.93675, 35.10883 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93016, 35.1733 ], [ 136.92882, 35.17351 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88841, 35.17197 ], [ 136.8845, 35.17132 ], [ 136.88393, 35.17119 ], [ 136.88357, 35.17111 ], [ 136.88294, 35.17097 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.90696, 35.17363 ], [ 136.89991, 35.17314 ], [ 136.89943, 35.1731 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88164, 35.17061 ], [ 136.8812, 35.17048 ], [ 136.88075, 35.17029 ], [ 136.88045, 35.17017 ], [ 136.88003, 35.16989 ], [ 136.87904, 35.16925 ], [ 136.87817, 35.16868 ], [ 136.87772, 35.16838 ], [ 136.8773, 35.16811 ], [ 136.87678, 35.16786 ], [ 136.87625, 35.16766 ], [ 136.87584, 35.16758 ], [ 136.87509, 35.1676 ], [ 136.87396, 35.16762 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.89784, 35.17298 ], [ 136.89695, 35.17289 ], [ 136.8947, 35.17265 ], [ 136.89285, 35.17247 ], [ 136.88954, 35.17214 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93447, 35.13158 ], [ 136.93431, 35.13248 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93335, 35.13947 ], [ 136.9333, 35.14025 ], [ 136.93329, 35.14039 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93431, 35.13248 ], [ 136.9343, 35.13273 ], [ 136.9339, 35.13539 ], [ 136.93351, 35.13801 ], [ 136.93335, 35.13947 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93515, 35.15834 ], [ 136.93529, 35.15927 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93551, 35.12462 ], [ 136.93536, 35.12557 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93693, 35.1098 ], [ 136.93725, 35.11152 ], [ 136.93739, 35.11244 ], [ 136.93735, 35.1128 ], [ 136.93728, 35.11325 ], [ 136.93721, 35.11366 ], [ 136.93711, 35.11424 ], [ 136.9369, 35.11558 ], [ 136.93677, 35.11642 ], [ 136.93673, 35.11666 ], [ 136.93658, 35.1177 ], [ 136.93645, 35.11843 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93529, 35.15927 ], [ 136.93534, 35.15958 ], [ 136.93593, 35.16293 ], [ 136.93601, 35.16336 ], [ 136.93671, 35.16734 ], [ 136.93692, 35.1685 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.92882, 35.17351 ], [ 136.92796, 35.17362 ], [ 136.92678, 35.17379 ], [ 136.92505, 35.17402 ], [ 136.92388, 35.17409 ], [ 136.92217, 35.17416 ], [ 136.92045, 35.17417 ], [ 136.91693, 35.17416 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88294, 35.17097 ], [ 136.88164, 35.17061 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.90838, 35.17376 ], [ 136.90816, 35.17374 ], [ 136.90696, 35.17363 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93692, 35.1685 ], [ 136.93709, 35.16945 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93709, 35.16945 ], [ 136.93713, 35.16985 ], [ 136.93714, 35.1699 ], [ 136.93721, 35.17059 ], [ 136.93696, 35.17096 ], [ 136.93606, 35.17145 ], [ 136.93408, 35.17225 ], [ 136.93293, 35.17268 ], [ 136.93249, 35.17284 ], [ 136.93193, 35.17298 ], [ 136.93016, 35.1733 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93631, 35.11937 ], [ 136.9362, 35.12017 ], [ 136.93577, 35.12304 ], [ 136.93551, 35.12462 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.91693, 35.17416 ], [ 136.91544, 35.17417 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93675, 35.10883 ], [ 136.93693, 35.1098 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.89943, 35.1731 ], [ 136.89784, 35.17298 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.87396, 35.16762 ], [ 136.87281, 35.16764 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93329, 35.14039 ], [ 136.93337, 35.14297 ], [ 136.93343, 35.14557 ], [ 136.93345, 35.14601 ], [ 136.9335, 35.14749 ], [ 136.93356, 35.14829 ], [ 136.9336, 35.14936 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.95443, 35.10285 ], [ 136.95398, 35.10308 ], [ 136.95354, 35.10329 ], [ 136.95306, 35.10353 ], [ 136.9527, 35.10366 ], [ 136.95241, 35.10378 ], [ 136.95214, 35.10385 ], [ 136.95151, 35.10398 ], [ 136.95089, 35.10409 ], [ 136.95021, 35.10419 ], [ 136.94935, 35.10437 ], [ 136.94914, 35.1044 ], [ 136.94902, 35.10442 ], [ 136.94838, 35.10457 ], [ 136.94798, 35.10466 ], [ 136.94746, 35.1048 ], [ 136.94695, 35.10492 ], [ 136.9458, 35.10521 ], [ 136.94475, 35.10546 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93536, 35.12557 ], [ 136.93513, 35.12729 ], [ 136.93468, 35.13015 ], [ 136.93447, 35.13158 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88954, 35.17214 ], [ 136.88841, 35.17197 ] ] } },

N02-16_Station.geojson
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "野並" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.95536, 35.10236 ], [ 136.95443, 35.10285 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "車道" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93016, 35.1733 ], [ 136.92882, 35.17351 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "瑞穂区役所" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93447, 35.13158 ], [ 136.93431, 35.13248 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "桜山" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93335, 35.13947 ], [ 136.9333, 35.14025 ], [ 136.93329, 35.14039 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "吹上" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93515, 35.15834 ], [ 136.93529, 35.15927 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "瑞穂運動場西" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93551, 35.12462 ], [ 136.93536, 35.12557 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "名古屋" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88294, 35.17097 ], [ 136.88164, 35.17061 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "久屋大通" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.90838, 35.17376 ], [ 136.90816, 35.17374 ], [ 136.90696, 35.17363 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "今池" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93692, 35.1685 ], [ 136.93709, 35.16945 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "高岳" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.91693, 35.17416 ], [ 136.91544, 35.17417 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "桜本町" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93675, 35.10883 ], [ 136.93693, 35.1098 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "丸の内" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.89943, 35.1731 ], [ 136.89784, 35.17298 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "中村区役所" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.87396, 35.16762 ], [ 136.87281, 35.16764 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "国際センター" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.88954, 35.17214 ], [ 136.88841, 35.17197 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "鶴里" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.94475, 35.10546 ], [ 136.94365, 35.10567 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "新瑞橋" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.93645, 35.11843 ], [ 136.93631, 35.11937 ] ] } },
{ "type": "Feature", "properties": { "鉄道区分": "12", "事業者種別": "3", "路線名": "6号線桜通線", "運営会社": "名古屋市", "駅名": "御器所" }, "geometry": { "type": "LineString", "coordinates": [ [ 136.9336, 35.14936 ], [ 136.93361, 35.14946 ], [ 136.93376, 35.15034 ] ] } },