Skip to content

Instantly share code, notes, and snippets.

@jparta
Created May 25, 2023 17:00
Show Gist options
  • Save jparta/086261c5a9dfa9a262edea8e02d83c31 to your computer and use it in GitHub Desktop.
Save jparta/086261c5a9dfa9a262edea8e02d83c31 to your computer and use it in GitHub Desktop.
Errors on unusual relation roles https://github.com/aspectumapp/osm2geojson/issues/42
{
"(60.23974, 24.84942, 60.24, 24.85)": [
[],
[
"relation",
"unposted_route",
"way"
]
],
"(60.23949, 24.84531, 60.23974, 24.8459)": [
[
"platform",
"platform_entry_only",
"platform_exit_only",
"stop",
"stop_exit_only"
],
[
"node",
"relation",
"way"
]
],
"(60.23924, 24.8459, 60.23949, 24.84649)": [
[
"platform",
"platform_entry_only",
"platform_exit_only",
"stop",
"stop_exit_only"
],
[
"node",
"relation",
"way"
]
],
"(60.23898, 24.84531, 60.23924, 24.8459)": [
[
"platform",
"platform_entry_only",
"platform_exit_only",
"stop"
],
[
"node",
"relation",
"way"
]
],
"(60.23847, 24.84942, 60.23873, 24.85)": [
[],
[
"relation",
"unposted_route",
"way"
]
],
"(60.23974, 24.83594, 60.24, 24.83653)": [
[
"admin_centre",
"outer",
"subarea"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.23949, 24.83594, 60.23974, 24.83653)": [
[
"admin_centre",
"outer",
"subarea"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.23746, 24.83535, 60.23771, 24.83594)": [
[
"backward",
"end_stop",
"forward",
"stop"
],
[
"node",
"relation",
"way"
]
],
"(60.23721, 24.83535, 60.23746, 24.83594)": [
[
"backward",
"end_stop",
"forward",
"stop"
],
[
"node",
"relation",
"way"
]
],
"(60.22603, 24.81894, 60.22629, 24.81953)": [
[
"inner"
],
[
"node",
"relation",
"site",
"way"
]
],
"(60.22603, 24.81836, 60.22629, 24.81894)": [
[
"inner"
],
[
"node",
"relation",
"site",
"way"
]
],
"(60.23974, 24.77266, 60.24, 24.77324)": [
[
"backward",
"forward",
"stop"
],
[
"node",
"relation",
"way"
]
],
"(60.23949, 24.77266, 60.23974, 24.77324)": [
[
"backward",
"forward",
"stop"
],
[
"node",
"relation",
"way"
]
],
"(60.23898, 24.76796, 60.23924, 24.76854)": [
[
"platform",
"stop"
],
[
"node",
"relation",
"route",
"way"
]
],
"(60.23974, 24.76679, 60.24, 24.76738)": [
[
"platform",
"stop"
],
[
"node",
"relation",
"route",
"way"
]
],
"(60.23949, 24.76738, 60.23974, 24.76796)": [
[
"admin_centre",
"outer"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.23417, 24.76503, 60.23442, 24.76562)": [
[
"label",
"outer"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.23417, 24.76445, 60.23442, 24.76503)": [
[
"label",
"outer"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.22934, 24.77266, 60.22959, 24.77324)": [
[
"platform"
],
[
"node",
"relation",
"way"
]
],
"(60.22908, 24.77441, 60.22934, 24.775)": [
[
"platform"
],
[
"node",
"relation",
"way"
]
],
"(60.22603, 24.74102, 60.22629, 24.7416)": [
[
"destination",
"from",
"sign",
"to",
"via"
],
[
"destinationsign",
"node",
"relation",
"way"
]
],
"(60.22578, 24.7416, 60.22603, 24.74219)": [
[
"destination",
"from",
"sign",
"to",
"via"
],
[
"destinationsign",
"node",
"relation",
"way"
]
],
"(60.22883, 24.73515, 60.22908, 24.73574)": [
[
"destination",
"from",
"to",
"via"
],
[
"destinationsign",
"node",
"relation",
"way"
]
],
"(60.22401, 24.73398, 60.22426, 24.73456)": [
[
"admin_centre",
"inner",
"outer"
],
[
"boundary",
"node",
"relation",
"way"
]
],
"(60.22375, 24.73456, 60.22401, 24.73515)": [
[
"admin_centre",
"inner",
"outer"
],
[
"boundary",
"node",
"relation",
"way"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment