Compare commits

...
3 Commits
Author SHA1 Message Date
konggd 2ff9f4e293 Merge a couple of highway elements 2026-06-26 12:16:53 +02:00
konggd d218ac85d3 Fix exclude 2026-06-26 02:12:19 +02:00
konggd 75464e896c Fix pbf discovery 2026-06-26 02:11:47 +02:00
2 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -174,7 +174,7 @@ generate_region() {
PATH_ARG="${PATH_ARG%//}"
if should_skip "$PATH_ARG"; then
if should_skip "$(system_path "${PATH_ARG}")"; then
echo "Skipping excluded region: $(system_path "${PATH_ARG}")"
return 0
fi
@@ -214,7 +214,7 @@ generate_region() {
mkdir -p "./data/osm/$(system_path "${PATH_ARG%//*}")"
wget "$(
curl -s https://download.geofabrik.de/index-v1-nogeom.json |
jq -r --arg pid "${PATH_ARG##*//}" --arg parent "$(awk -F/ '{print $(NF-1)}' <<< "$PATH_ARG")" '
jq -r --arg pid "${PATH_ARG##*//}" --arg parent "$(awk -F/ '{print $(NF-1)}' <<< "$(system_path "${PATH_ARG}")")" '
.. | objects
| select(.id? == $pid and .parent? == $parent)
| .urls.pbf
+5 -1
View File
@@ -200,7 +200,7 @@ layers:
landcover: __any__
leisure: [garden, park, pitch, dog_park, fishing, marina, nature_reserve, playground, stadium, track, playground, sports_centre]
natural: [fell, grassland, heath, scrub, wood, tundra, bay, beach, blowhole, crevasse, shingle, shoal, bare_rock, hill, sand, scree, tree]
highway: [service, pedestrian]
highway: [rest_area, service, pedestrian]
attributes:
- key: class
type: match_key
@@ -225,6 +225,10 @@ layers:
aeroway: [runway, stopway, taxiway]
railway: [abandoned, construction, disused, funicular, light_rail, miniature, monorail, narrow_gauge, rail, subway, tram]
man_made: [goods_conveyor]
- source: osm
geometry: point
include_when:
highway: [motorway_junction, passing_place, mini_roundabout, speed_camera, speed_display, toll_ganty, turning_circle, turning_loop]
attributes:
- key: class
type: match_key