Skip to content

Commit b07ce3b

Browse files
committed
Add additional detail attributes to the waterways layer
1 parent 722d1da commit b07ce3b

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

SCHEMA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ In Sourdough, this reconstructed ocean polygon is represented in the tiles as if
342342

343343
### Waterways
344344

345-
The `waterways` layer contains features from OSM which are tagged `waterway=*`, including rivers, streams, and canals, as well as water-related infrastructure like dams and locks.
345+
The `waterways` layer contains features from OSM which are tagged `waterway=*`, including rivers, streams, and canals, as well as waterfalls and water-related infrastructure like dams and locks.
346346

347347
**Attributes**:
348348
- **Primary**: `waterway`
349-
- **Detail**: `name`, `ref`, `alt_name`, `short_name`, `official_name`, `wikidata`, `wikipedia`, `usage`, `layer`, `intermittent`
349+
- **Detail**: `name`, `ref`, `alt_name`, `short_name`, `official_name`, `wikidata`, `wikipedia`, `usage`, `layer`, `bridge`, `tunnel`, `location`, `intermittent`, `seasonal`, `tidal`, `material`, `height`, `boat`, `motorboat`, `canoe`, `swimming`, `fishing`

src/main/java/fyi/osm/sourdough/layers/Waterways.java

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,23 @@ public String name() {
3535

3636
public static final Set<String> DETAIL_TAGS = Utils.union(
3737
Constants.COMMON_DETAIL_TAGS,
38-
Set.of("usage", "layer", "intermittent")
38+
Set.of(
39+
"usage",
40+
"layer",
41+
"bridge",
42+
"tunnel",
43+
"location",
44+
"intermittent",
45+
"seasonal",
46+
"tidal",
47+
"material",
48+
"height",
49+
"boat",
50+
"motorboat",
51+
"canoe",
52+
"swimming",
53+
"fishing"
54+
)
3955
);
4056

4157
@Override

0 commit comments

Comments
 (0)