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
This commit is contained in:
1 parent
4bcd85f269
commit
b32f7d3bd3
7 files changed
+92
-15
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user