Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-27 14:40:46 +01:00
1 parent 4bcd85f269
commit b32f7d3bd3
7 files changed
+92 -15

No files matched your search

+2 -1
View File
@@ -278,7 +278,8 @@ class PmtilesBuilderTest < Minitest::Test
# against real OPL fixtures.
assert_equal ["SK"], Maptool::PmtilesBuilder.hiking_trails_countries(@data_dir)
path = Maptool::PmtilesBuilder.hiking_trails_country_path(@data_dir, "SK")
assert_equal({ "type" => "FeatureCollection", "features" => [] }, JSON.parse(File.read(path)))
assert_equal({ "version" => Maptool::HikingTrails::VERSION, "type" => "FeatureCollection", "features" => [] }, JSON.parse(File.read(path)))
assert Maptool::HikingTrails.current?(path)
end
def test_build_offline_only_re_extracts_hiking_trails_for_a_newly_added_country