Skip to content

Commit 0b290b7

Browse files
Build docs w/o schema repo dependency
initial build of docs with schema reference from pydantic models.
1 parent f92fef8 commit 0b290b7

File tree

73 files changed

+7609
-400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+7609
-400
lines changed

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
.DS_Store
22
.docusaurus
33
node_modules/
4-
docs/_examples/
5-
docs/_schema/
6-
docs/schema/
7-
docs/schema
8-
static/_schema/
94
build/
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
id: access-restrictions-segment-blanket
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [0, 0]
8+
- [0, 1]
9+
properties:
10+
theme: transportation
11+
type: segment
12+
version: 1
13+
subtype: road
14+
class: residential
15+
access_restrictions:
16+
- access_type: denied
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
id: access-restrictions-segment-private-with-deliveries
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [0, 0]
8+
- [0, 1]
9+
properties:
10+
theme: transportation
11+
type: segment
12+
version: 1
13+
subtype: road
14+
class: residential
15+
access_restrictions:
16+
- access_type: denied
17+
- access_type: allowed
18+
when: { recognized: [as_private] }
19+
- access_type: allowed
20+
when:
21+
using: [to_deliver]
22+
during: Mo-Fr 08:30-16:30
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
id: access-restrictions-segment-motor-vehicles-destination-only
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [0, 0]
8+
- [0, 1]
9+
properties:
10+
theme: transportation
11+
type: segment
12+
version: 1
13+
subtype: road
14+
class: residential
15+
access_restrictions:
16+
- access_type: denied
17+
when: { mode: [motor_vehicle] }
18+
- access_type: allowed
19+
when: { using: [at_destination] }
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
id: access-restrictions-segment-axle-limit
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [0, 0]
8+
- [0, 1]
9+
properties:
10+
theme: transportation
11+
type: segment
12+
version: 1
13+
subtype: road
14+
class: motorway
15+
access_restrictions:
16+
- access_type: denied
17+
when:
18+
mode: [hgv]
19+
vehicle:
20+
- dimension: axle_count
21+
comparison: greater_than_equal
22+
value: 5
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
id: overture:transportation:example:simple-road1
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [-122.152944, 47.629681]
8+
- [-122.152916, 47.629686]
9+
- [-122.152501, 47.62977]
10+
- [-122.152188, 47.62984]
11+
- [-122.151813, 47.629934]
12+
- [-122.151747, 47.629952]
13+
properties:
14+
theme: transportation
15+
type: segment
16+
version: 4
17+
subtype: road
18+
class: motorway
19+
connectors:
20+
- connector_id: fooConnector
21+
at: 0
22+
- connector_id: barConnector
23+
at: 1
24+
names:
25+
primary: SR 520
26+
access_restrictions:
27+
- access_type: denied
28+
when: {mode: [foot]}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
id: overture:transportation:connector:example
3+
type: Feature
4+
geometry:
5+
type: Point
6+
coordinates: [0, 0]
7+
properties:
8+
theme: transportation
9+
type: connector
10+
version: 0
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
id: overture:transportation:example:geometric-scoping
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates: [[0, 0], [1, 1]]
7+
properties:
8+
theme: transportation
9+
type: segment
10+
version: 1
11+
subtype: road
12+
class: primary
13+
speed_limits:
14+
- between: [0, 0.15]
15+
max_speed:
16+
value: 100
17+
unit: km/h
18+
- between: [0.15, 1]
19+
max_speed:
20+
value: 60
21+
unit: km/h
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
id: overture:transportation:example:simple-road
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [-123.13538016118466, 49.28584368472093]
8+
- [-123.13430200328841, 49.28656927229528]
9+
- [-123.13325122717998, 49.28727252390803]
10+
properties:
11+
theme: transportation
12+
type: segment
13+
version: 5
14+
subtype: road
15+
class: residential
16+
connectors:
17+
- connector_id: overture:transportation:example:via-turn-restriction-connector1
18+
at: 0
19+
- connector_id: overture:transportation:example:via-turn-restriction-connector2
20+
at: 1
21+
names:
22+
primary: Nicola Street
23+
road_surface:
24+
- value: paved
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: speed-limits-simple
3+
type: Feature
4+
geometry:
5+
type: LineString
6+
coordinates:
7+
- [-123.09348187774302, 49.280278741717865]
8+
- [-123.0895720621171, 49.280195795155265]
9+
properties:
10+
theme: transportation
11+
type: segment
12+
version: 1
13+
subtype: road
14+
class: residential
15+
speed_limits:
16+
- max_speed:
17+
value: 30
18+
unit: km/h

0 commit comments

Comments
 (0)