Give Overpass POI downloads icons/descriptions and unique filenames
CI / check (push) Successful in 41s
CI / deploy (push) Successful in 12s

Overpass categories now carry the same icon+color styling a p4n2gpx
waypoint gets, instead of falling back to gpx.js's plain red marker,
plus a popup description built from opening_hours/operator/website
tags. Supermarket/convenience store reuse NPS's generic store glyph,
the only honest match in that icon set.

Each plugin run's saved filename now bakes in the area's center and a
timestamp, so repeated downloads for different areas land as separate,
identifiable files instead of overpass-pois.geojson/-1/-2/...
This commit is contained in:
randy committed 2026-09-09 17:14:20 +02:00
1 parent 72ffd0ef18
commit 1733fc7c1b
5 files changed
+119 -20

No files matched your search

+1 -1
View File
@@ -307,7 +307,7 @@ class AppTest < Minitest::Test
)
assert_equal 200, response.status
body = json_body(response)
assert_equal "test-plugin.geojson", body["path"]
assert_match(/\Atest-plugin_48\.05_17\.05_\d{6}_\d{4}\.geojson\z/, body["path"])
saved = json_body(request.get("/api/gpx/file/#{body["path"]}"))
assert_equal "Test POI", saved["features"][0]["properties"]["name"]