Skip to content

Commit 8b4e0f5

Browse files
committed
chore(themes): refresh example data
Replace the Tonga-based Division/DivisionArea/DivisionBoundary fixtures with Kauaʻi County samples that exercise admin_level, capital_division_ids, wikidata, and source license alongside the existing fields. Replace the Tonga-based Connector/Segment fixtures with a Vermooten Street junction in Pretoria that exercises access_restrictions with when.vehicle, speed_limits with when.heading, routes with ref, road_surface, and multi-source attribution. Reformat the TOML with 4-space indents and sorted keys to match sibling theme packages. Signed-off-by: Seth Fitzsimmons <seth@mojodna.net>
1 parent 5c79239 commit 8b4e0f5

2 files changed

Lines changed: 203 additions & 91 deletions

File tree

Lines changed: 79 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
maintainers = [
3-
{name = "Overture Maps Schema Working Group"},
3+
{ name = "Overture Maps Schema Working Group" },
44
]
55
dependencies = [
66
"overture-schema-common",
@@ -42,111 +42,126 @@ division_boundary = "overture.schema.divisions:DivisionBoundary"
4242
overture_baselines = "overture.schema.system.testing.plugin"
4343

4444
[[examples.Division]]
45-
id = "350e85f6-68ba-4114-9906-c2844815988b"
46-
geometry = "POINT (-175.2551522 -21.1353686)"
47-
country = "TO"
48-
version = 1
49-
subtype = "locality"
50-
class = "village"
51-
region = "TO-04"
45+
admin_level = 2
46+
capital_division_ids = ["958c67d3-868a-482d-9dd8-1c65b0c1a9e8"]
47+
country = "US"
48+
geometry = "POINT (-159.4945109 22.0557204)"
5249
hierarchies = [
53-
[
54-
{division_id = "fef8748b-0c91-46ad-9f2d-976d8d2de3e9", subtype = "country", name = "Tonga"},
55-
{division_id = "4d67561a-2292-41bd-8996-7853d276a42c", subtype = "region", name = "Tongatapu"},
56-
{division_id = "8730f0cc-d436-4f11-a7d3-49085813ef44", subtype = "county", name = "Vahe Kolomotu'a"},
57-
{division_id = "350e85f6-68ba-4114-9906-c2844815988b", subtype = "locality", name = "Sia'atoutai"},
58-
],
50+
[
51+
{ division_id = "f39eb4af-5206-481b-b19e-bd784ded3f05", subtype = "country", name = "United States" },
52+
{ division_id = "a2a08395-e968-4be5-bdd7-7f63db8c2165", subtype = "region", name = "Hawaii" },
53+
{ division_id = "c9b8adc9-4639-4392-8efe-8401eeb19929", subtype = "county", name = "Kauaʻi County" },
54+
],
5955
]
60-
parent_division_id = "8730f0cc-d436-4f11-a7d3-49085813ef44"
61-
population = 534
56+
id = "c9b8adc9-4639-4392-8efe-8401eeb19929"
57+
parent_division_id = "a2a08395-e968-4be5-bdd7-7f63db8c2165"
58+
population = 71735
59+
region = "US-HI"
60+
subtype = "county"
6261
theme = "divisions"
6362
type = "division"
63+
version = 5
64+
wikidata = "Q111517"
6465

6566
[examples.Division.bbox]
66-
xmin = -175.25515747070312
67-
xmax = -175.255126953125
68-
ymin = -21.1353702545166
69-
ymax = -21.13536834716797
67+
xmax = -159.4945068359375
68+
xmin = -159.49453735351562
69+
ymax = 22.055721282958984
70+
ymin = 22.05571746826172
7071

7172
[[examples.Division.sources]]
72-
property = ""
7373
dataset = "OpenStreetMap"
74-
record_id = "n3173231082@4"
75-
update_time = "2014-12-18T09:17:03Z"
76-
77-
[examples.Division.cartography]
78-
prominence = 29
74+
license = "ODbL-1.0"
75+
property = ""
76+
record_id = "r166560@15"
77+
update_time = "2025-08-16T14:25:55Z"
7978

8079
[examples.Division.names]
81-
primary = "Sia'atoutai"
80+
primary = "Kauaʻi County"
81+
82+
[examples.Division.names.common]
83+
haw = "kalana Kauaʻi"
8284

8385
[[examples.Division.names.rules]]
86+
value = "Kauai County"
8487
variant = "alternate"
85-
value = "Nafualu"
8688

8789
[examples.Division.local_type]
88-
en = "village"
90+
en = "county"
8991

9092
[[examples.DivisionArea]]
91-
id = "eb9b112f-ec3c-47f7-b519-6f9f2e6fc2bd"
92-
geometry = "MULTIPOLYGON (((-174.9553949 -21.4730179, -174.9514163 -21.4719978, -174.9520108 -21.4681253, -174.9566122 -21.4687535, -174.9553949 -21.4730179)), ((-174.9634398 -21.3476807, -174.9753507 -21.3833656, -174.9702168 -21.4037277, -174.950488 -21.4269887, -174.9082983 -21.4577763, -174.9004303 -21.4398142, -174.9048159 -21.3698688, -174.9165467 -21.3035402, -174.9126977 -21.2903268, -174.9199765 -21.2834922, -174.9634398 -21.3476807)))"
93-
country = "TO"
94-
version = 2
95-
subtype = "region"
93+
admin_level = 2
9694
class = "land"
95+
country = "US"
96+
division_id = "c9b8adc9-4639-4392-8efe-8401eeb19929"
97+
geometry = "MULTIPOLYGON (((-160.5408313 21.6535414, -160.544491 21.6514764, -160.5369253 21.6495783, -160.5408313 21.6535414)), ((-160.0921364 22.005401, -160.1251483 21.9547066, -160.2260792 21.8900136, -160.2470031 21.841157, -160.2339532 21.7921394, -160.2022486 21.7794359, -160.1588705 21.864646, -160.0737812 21.8957962, -160.0826438 21.9302968, -160.05025 21.9848306, -160.0921364 22.005401)), ((-160.0881165 22.0243325, -160.1005193 22.0287469, -160.1026828 22.0166419, -160.0881165 22.0243325)), ((-159.7508422 21.9762242, -159.6679712 21.9531973, -159.604686 21.8923573, -159.5913126 21.9041661, -159.443465 21.8684403, -159.3461084 21.9373297, -159.3624768 21.952083, -159.3309486 21.9590284, -159.3357151 22.0450997, -159.2964497 22.1053479, -159.2926896 22.1434001, -159.335189 22.2040351, -159.4024533 22.2327054, -159.4282799 22.2164343, -159.4864746 22.2298148, -159.5060386 22.2031539, -159.5808829 22.2237075, -159.7228708 22.1497995, -159.7443872 22.099889, -159.7826601 22.0669155, -159.7849578 22.0149525, -159.7508422 21.9762242)))"
98+
id = "109cfa53-bb13-4e37-aeb0-14f9a08c737d"
9799
is_land = true
98100
is_territorial = false
99-
region = "TO-01"
100-
division_id = "21597af0-b564-463c-a356-42c29e712b7d"
101+
region = "US-HI"
102+
subtype = "county"
101103
theme = "divisions"
102104
type = "division_area"
105+
version = 7
103106

104107
[examples.DivisionArea.bbox]
105-
xmin = -174.97535705566406
106-
xmax = -174.90040588378906
107-
ymin = -21.473018646240234
108-
ymax = -21.283489227294922
108+
xmax = -159.29266357421875
109+
xmin = -160.54449462890625
110+
ymax = 22.23270606994629
111+
ymin = 21.649578094482422
109112

110113
[[examples.DivisionArea.sources]]
111-
property = ""
112114
dataset = "OpenStreetMap"
113-
record_id = "r7247527@3"
114-
update_time = "2020-12-30T18:41:56Z"
115+
license = "ODbL-1.0"
116+
property = ""
117+
record_id = "r166560@15"
118+
update_time = "2025-08-16T14:25:55Z"
115119

116120
[examples.DivisionArea.names]
117-
primary = "ʻEua"
121+
primary = "Kauaʻi County"
122+
123+
[examples.DivisionArea.names.common]
124+
haw = "kalana Kauaʻi"
125+
126+
[[examples.DivisionArea.names.rules]]
127+
value = "Kauai County"
128+
variant = "alternate"
118129

119130
[[examples.DivisionBoundary]]
120-
id = "2bdf68e4-860d-3d8c-a472-ccf439a5302a"
121-
geometry = "LINESTRING (-147.064823 -15.4231537, -147.0519131 -15.2885069, -147.048482 -15.1511701)"
122-
country = "PF"
123-
version = 1
124-
subtype = "county"
125-
class = "maritime"
126-
is_land = false
127-
is_territorial = true
131+
admin_level = 2
132+
class = "land"
133+
country = "US"
128134
division_ids = [
129-
"ae266459-63a4-4508-8295-0101e27d039b",
130-
"d4a6873d-885a-4f2a-bc0f-37e9d9e874e4"
135+
"a546a5ef-ba43-44ce-a7c3-1999b005b20f",
136+
"0554d43c-de68-433c-9a6c-db58161c8b4a",
131137
]
138+
geometry = "LINESTRING (-157.0195397035514 21.183903480793326, -157.0201257 21.180663, -157.0084983 21.1786971, -157.0053877 21.1769627, -157.0060747 21.1738084, -157.0003054 21.1722773, -156.9809248 21.1746356, -156.9710241 21.172431, -156.9670723 21.1613703, -156.9550334 21.1531141, -156.9552315 21.1564667, -156.9607515 21.1621168, -156.9584334 21.162083, -156.9598705 21.1636745, -156.958371 21.1708964, -156.9602176 21.1762534, -156.9577173 21.1760764, -156.9556416 21.1715505, -156.9554893 21.157221, -156.9528625 21.1523977, -156.9442066 21.1504038, -156.9389218 21.1568278, -156.938089 21.1530661, -156.9348977 21.15157, -156.9283241 21.1419085, -156.9262384 21.1360023, -156.9186457 21.1279636, -156.9124605 21.1262614, -156.8975854 21.1285336, -156.8979892 21.1337635, -156.8958138 21.1376515, -156.8970853 21.1421243, -156.8929598 21.1451006, -156.8928438 21.1467406, -156.897116 21.1457141, -156.9036748 21.1485179, -156.9059125 21.1527496, -156.910528 21.1563906, -156.917332 21.1590391, -156.9140393 21.1691869)"
139+
id = "321ed3ec-23c2-376e-a4fd-0df484cb99ca"
132140
is_disputed = false
141+
is_land = true
142+
is_territorial = false
143+
region = "US-HI"
144+
subtype = "county"
133145
theme = "divisions"
134146
type = "division_boundary"
147+
version = 2
135148

136149
[examples.DivisionBoundary.bbox]
137-
xmin = -147.06483459472656
138-
xmax = -147.04847717285156
139-
ymin = -15.4231538772583
140-
ymax = -15.151169776916504
150+
xmax = -156.89283752441406
151+
xmin = -157.02012634277344
152+
ymax = 21.18390655517578
153+
ymin = 21.12626075744629
141154

142155
[[examples.DivisionBoundary.sources]]
143-
property = ""
144156
dataset = "OpenStreetMap"
145-
record_id = "r6063055@9"
146-
update_time = "2023-07-20T00:28:40Z"
157+
license = "ODbL-1.0"
158+
property = ""
159+
record_id = "r166564@15"
160+
update_time = "2025-02-21T16:35:23Z"
147161

148162
[[examples.DivisionBoundary.sources]]
149-
property = ""
150163
dataset = "OpenStreetMap"
151-
record_id = "r6063063@12"
152-
update_time = "2023-07-20T00:28:40Z"
164+
license = "ODbL-1.0"
165+
property = ""
166+
record_id = "r166561@26"
167+
update_time = "2025-08-16T14:01:24Z"

packages/overture-schema-transportation-theme/pyproject.toml

Lines changed: 124 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
maintainers = [
3-
{name = "Overture Maps Schema Working Group"},
3+
{ name = "Overture Maps Schema Working Group" },
44
]
55
dependencies = [
66
"overture-schema-common",
@@ -41,62 +41,159 @@ segment = "overture.schema.transportation:Segment"
4141
[project.entry-points.pytest11]
4242
overture_baselines = "overture.schema.system.testing.plugin"
4343

44+
# Connector: Vermooten Street junction, Pretoria, South Africa (2026-02-18.0)
4445
[[examples.Connector]]
45-
id = "39542bee-230f-4b91-b7e5-a9b58e0c59b1"
46-
geometry = "POINT (-176.5472979 -43.9679472)"
47-
version = 1
46+
geometry = "POINT (30.048398 -25.708697)"
47+
id = "73a46c48-dc5a-4162-b9c8-1643298784c3"
4848
theme = "transportation"
4949
type = "connector"
50+
version = 1
5051

5152
[examples.Connector.bbox]
52-
xmin = -176.54730224609375
53-
xmax = -176.54727172851562
54-
ymin = -43.96794891357422
55-
ymax = -43.96794128417969
53+
xmax = 30.04840087890625
54+
xmin = 30.048397064208984
55+
ymax = -25.708696365356445
56+
ymin = -25.70870018005371
5657

5758
[[examples.Connector.sources]]
58-
property = ""
5959
dataset = "OpenStreetMap"
60+
license = "ODbL-1.0"
61+
property = ""
62+
record_id = "n252436807@6"
63+
update_time = "2025-01-06T20:44:06Z"
6064

65+
# Road segment: Vermooten Street / R33, Pretoria, South Africa (2026-02-18.0)
66+
# Populates access_restrictions with when.vehicle, speed_limits with
67+
# when.heading, routes with ref, road_surface, and names.
6168
[[examples.Segment]]
62-
id = "1bc62f3b-08b5-42b8-89fe-36f685f60455"
63-
geometry = "LINESTRING (-176.5636191 -43.954404, -176.5643637 -43.9538145, -176.5647264 -43.9535274, -176.5649947 -43.953251)"
64-
version = 1
69+
class = "primary"
70+
geometry = "LINESTRING (30.048398 -25.708697, 30.0485458 -25.708892, 30.0487074 -25.7090728, 30.0488875 -25.709252, 30.049138 -25.7094697, 30.0493666 -25.7096603, 30.0497209 -25.7099369, 30.0509508 -25.710904, 30.0511567 -25.7110786, 30.0515268 -25.7113855, 30.0518399 -25.711661, 30.052143 -25.7119631, 30.0523513 -25.7121619, 30.0526875 -25.7124827, 30.0531992 -25.7129799, 30.0535874 -25.7133575)"
71+
id = "621e0a00-9466-4c3f-bb4a-64a83cd7a934"
6572
subtype = "road"
66-
class = "residential"
6773
theme = "transportation"
6874
type = "segment"
75+
version = 4
6976

7077
[examples.Segment.bbox]
71-
xmin = -176.5650177001953
72-
xmax = -176.56361389160156
73-
ymin = -43.954410552978516
74-
ymax = -43.953250885009766
78+
xmax = 30.05359
79+
xmin = 30.048397
80+
ymax = -25.708696
81+
ymin = -25.713358
7582

7683
[[examples.Segment.sources]]
77-
property = ""
7884
dataset = "OpenStreetMap"
79-
record_id = "w53435546@6"
80-
update_time = "2021-05-03T06:37:03Z"
85+
license = "ODbL-1.0"
86+
property = "/routes"
87+
record_id = "r1808544@180"
88+
89+
[[examples.Segment.sources]]
90+
dataset = "OpenStreetMap"
91+
license = "ODbL-1.0"
92+
property = "/routes"
93+
record_id = "r1808545@177"
94+
95+
[[examples.Segment.sources]]
96+
dataset = "OpenStreetMap"
97+
license = "ODbL-1.0"
98+
property = ""
99+
record_id = "w338134264@15"
100+
update_time = "2025-04-21T09:53:35Z"
81101

82102
[examples.Segment.names]
83-
primary = "Meteorological Lane"
103+
primary = "Vermooten Street"
84104

85105
[[examples.Segment.names.rules]]
106+
value = "Vermooten Street"
86107
variant = "common"
87-
value = "Meteorological Lane"
88108

89109
[[examples.Segment.connectors]]
90-
connector_id = "15b2c131-9137-4add-88c6-2acd3fa61355"
91110
at = 0.0
111+
connector_id = "73a46c48-dc5a-4162-b9c8-1643298784c3"
112+
113+
[[examples.Segment.connectors]]
114+
at = 0.154695182
115+
connector_id = "e81188ed-9b2f-48b4-99f2-d894044d88f5"
92116

93117
[[examples.Segment.connectors]]
94-
connector_id = "23ae2702-ef77-4d2e-b39d-77360b696d20"
95-
at = 0.523536154
118+
at = 0.483463065
119+
connector_id = "11124794-8830-4aff-bd09-f578d3a196b1"
120+
121+
[[examples.Segment.connectors]]
122+
at = 0.753014135
123+
connector_id = "cfda5f80-ffe6-4b5c-b219-4f208e0a3832"
96124

97125
[[examples.Segment.connectors]]
98-
connector_id = "8e944ce1-4b81-49eb-a823-7d98779c855c"
99126
at = 1.0
127+
connector_id = "a5871213-947e-4342-b486-f560f0ac22f3"
128+
129+
[[examples.Segment.access_restrictions]]
130+
access_type = "denied"
131+
132+
[examples.Segment.access_restrictions.when]
133+
134+
[[examples.Segment.access_restrictions.when.vehicle]]
135+
comparison = "greater_than"
136+
dimension = "height"
137+
unit = "m"
138+
value = 5.2
139+
140+
[[examples.Segment.speed_limits]]
141+
142+
[examples.Segment.speed_limits.max_speed]
143+
unit = "km/h"
144+
value = 60
145+
146+
[examples.Segment.speed_limits.when]
147+
heading = "forward"
100148

101149
[[examples.Segment.road_surface]]
102-
value = "gravel"
150+
value = "paved"
151+
152+
[[examples.Segment.routes]]
153+
name = "R33 (northbound)"
154+
network = "za:regional"
155+
ref = "R33"
156+
157+
[[examples.Segment.routes]]
158+
name = "R33 (southbound)"
159+
network = "za:regional"
160+
ref = "R33"
161+
162+
# Rail segment: disused railway, Mpulungu, Zambia (2026-02-18.0)
163+
# Populates rail_flags with values to cover the rail_flags[].values xfail.
164+
[[examples.Segment]]
165+
class = "unknown"
166+
geometry = "LINESTRING (30.9844394 -12.7185733, 30.9818611 -12.7207838, 30.9815908 -12.7210751)"
167+
id = "2a9415ed-fa07-4734-9d8e-1d8ff69451c2"
168+
subtype = "rail"
169+
theme = "transportation"
170+
type = "segment"
171+
version = 1
172+
173+
[examples.Segment.bbox]
174+
xmax = 30.98444
175+
xmin = 30.98159
176+
ymax = -12.718572
177+
ymin = -12.721077
178+
179+
[[examples.Segment.sources]]
180+
dataset = "OpenStreetMap"
181+
license = "ODbL-1.0"
182+
property = ""
183+
record_id = "w414442537@2"
184+
update_time = "2026-02-05T14:25:06Z"
185+
186+
[[examples.Segment.connectors]]
187+
at = 0.0
188+
connector_id = "2da12352-29c5-479e-932f-68fbe90c8229"
189+
190+
[[examples.Segment.connectors]]
191+
at = 0.895049489
192+
connector_id = "feed87bb-7abf-4254-9e14-efd6bdb3e428"
193+
194+
[[examples.Segment.connectors]]
195+
at = 1.0
196+
connector_id = "e37ca4ff-ab09-4c84-8d3c-450c703d7308"
197+
198+
[[examples.Segment.rail_flags]]
199+
values = ["is_disused"]

0 commit comments

Comments
 (0)