-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
単純な2地点のルートですが、以下のようなプロトタイプを考えています
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name":"姪浜旅客待合所",
"operator":"福岡市営渡船"
},
"geometry": {
"type": "Point",
"coordinates": [
130.32671213150024,
33.59750752830658
]
}
},
{
"type": "Feature",
"properties": {
"name":"能古旅客待合所",
"operator":"福岡市営渡船"
},
"geometry": {
"type": "Point",
"coordinates": [
130.31072616577148,
33.61197456272932
]
}
},
{
"type": "Feature",
"properties": {
"route":"姪浜-能古線",
"operator":"福岡市営渡船"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
130.32673358917236,
33.59750306003961
],
[
130.32522082328796,
33.59777562390132
],
[
130.32531201839447,
33.599268007480006
],
[
130.31263053417206,
33.611143600525935
],
[
130.31097829341888,
33.61064769991048
],
[
130.3105491399765,
33.61149653706404
],
[
130.31071007251737,
33.611987965279866
]
]
}
}
]
}問題点
- シンプルではあるが、geojsonの特性上pointとLineStringの紐づけができていない(区間的な運休などで路線図を表示できなくなる?)
- 停留所~停留所、すなわち区間別にLineStringを格納するという手もあるが、容量は増大する
kn1cht
Metadata
Metadata
Assignees
Labels
No labels