Compare commits

..
7 Commits
Author SHA1 Message Date
konggd a59b830727 Update README.md 2026-08-20 19:08:39 +00:00
konggd 0ad2fb9242 Add README.md 2026-08-20 19:08:26 +00:00
konggd 440f43bc54 Use all available cores instead of 16 2026-08-18 22:44:45 +02:00
konggd bdefbe57be Add min_zoom to contours 2026-08-18 22:40:14 +02:00
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
3 changed files with 18 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
# Longer Tiles (formerly StrikeMaps TileSchema)
A free planetiler YAML based tileschema, focused on containing as much data as possible
<br>
It is developed as a part of the Strike Maps project
+4 -4
View File
@@ -144,7 +144,7 @@ single_planet() {
--hgtdir=work/hgt \ --hgtdir=work/hgt \
--sources=view1,view3 \ --sources=view1,view3 \
--simplifyContoursEpsilon=0.001 \ --simplifyContoursEpsilon=0.001 \
-j16 \ -j$(nproc --all) \
--max-nodes-per-tile=0 \ --max-nodes-per-tile=0 \
--output-prefix="./work/contours/$REG/con" --output-prefix="./work/contours/$REG/con"
@@ -174,7 +174,7 @@ generate_region() {
PATH_ARG="${PATH_ARG%//}" 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}")" echo "Skipping excluded region: $(system_path "${PATH_ARG}")"
return 0 return 0
fi fi
@@ -195,7 +195,7 @@ generate_region() {
--hgtdir=work/hgt \ --hgtdir=work/hgt \
--sources=view1,view3 \ --sources=view1,view3 \
--simplifyContoursEpsilon=0.001 \ --simplifyContoursEpsilon=0.001 \
-j16 \ -j$(nproc --all) \
--max-nodes-per-tile=0 \ --max-nodes-per-tile=0 \
--output-prefix="./work/contours/$(system_path "${PATH_ARG}")/con" --output-prefix="./work/contours/$(system_path "${PATH_ARG}")/con"
@@ -214,7 +214,7 @@ generate_region() {
mkdir -p "./data/osm/$(system_path "${PATH_ARG%//*}")" mkdir -p "./data/osm/$(system_path "${PATH_ARG%//*}")"
wget "$( wget "$(
curl -s https://download.geofabrik.de/index-v1-nogeom.json | 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 .. | objects
| select(.id? == $pid and .parent? == $parent) | select(.id? == $pid and .parent? == $parent)
| .urls.pbf | .urls.pbf
+6 -1
View File
@@ -91,6 +91,7 @@ layers:
features: features:
- source: contour - source: contour
geometry: line geometry: line
min_zoom: 5
attributes: attributes:
- key: ele - key: ele
type: get type: get
@@ -200,7 +201,7 @@ layers:
landcover: __any__ landcover: __any__
leisure: [garden, park, pitch, dog_park, fishing, marina, nature_reserve, playground, stadium, track, playground, sports_centre] 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] 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: attributes:
- key: class - key: class
type: match_key type: match_key
@@ -225,6 +226,10 @@ layers:
aeroway: [runway, stopway, taxiway] aeroway: [runway, stopway, taxiway]
railway: [abandoned, construction, disused, funicular, light_rail, miniature, monorail, narrow_gauge, rail, subway, tram] railway: [abandoned, construction, disused, funicular, light_rail, miniature, monorail, narrow_gauge, rail, subway, tram]
man_made: [goods_conveyor] 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: attributes:
- key: class - key: class
type: match_key type: match_key