From 30ee1029f630ab5d77af11cac02948a75b85b6d6 Mon Sep 17 00:00:00 2001
From: Benjamin K <53038537+treee111@users.noreply.github.com>
Date: Tue, 1 Nov 2022 22:32:53 +0100
Subject: [PATCH] [FEAT] Add shop/bicycle POIs, show also "ways" POIs (#158)
* autoformat on save
* add bicycle POIs
* add landuse (only useful for Elemnt Bolt2 (color screen))
* change railway tags
based on other's tinkering
* show more POIs if they are ways / not POI tags
https://github.com/masc4ii/wahooMapsCreator/commit/da04cf9e13763bd073210162a55914a0ec2a2f00
* replace ' with "
* only show one symbol for ways-tags
situation found & suggestion given in #159
* include railway/stop in map and display via vtm
---
.../vtm_theme_poi/icons/shop_bicycle.svg | 15 +
device_themes/vtm_theme_poi/vtm-elemnt.xml | 453 +++++++++---------
wahoomc/constants.py | 6 +-
.../tag_wahoo_adjusted/tag-wahoo-poi.xml | 76 +--
4 files changed, 288 insertions(+), 262 deletions(-)
create mode 100644 device_themes/vtm_theme_poi/icons/shop_bicycle.svg
diff --git a/device_themes/vtm_theme_poi/icons/shop_bicycle.svg b/device_themes/vtm_theme_poi/icons/shop_bicycle.svg
new file mode 100644
index 00000000..e3553032
--- /dev/null
+++ b/device_themes/vtm_theme_poi/icons/shop_bicycle.svg
@@ -0,0 +1,15 @@
+
+
diff --git a/device_themes/vtm_theme_poi/vtm-elemnt.xml b/device_themes/vtm_theme_poi/vtm-elemnt.xml
index b2ce0156..35feaac4 100644
--- a/device_themes/vtm_theme_poi/vtm-elemnt.xml
+++ b/device_themes/vtm_theme_poi/vtm-elemnt.xml
@@ -1,116 +1,115 @@
-
+
+
+
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/wahoomc/constants.py b/wahoomc/constants.py
index 80673af1..1e06fe97 100644
--- a/wahoomc/constants.py
+++ b/wahoomc/constants.py
@@ -252,12 +252,12 @@
'bridge': '',
'foot': ['ft_yes', 'foot_designated'],
'amenity': ['fuel', 'cafe', 'drinking_water'],
- 'shop': 'bakery',
+ 'shop': ['bakery', 'bicycle'],
'highway': ['abandoned', 'bus_guideway', 'disused', 'bridleway', 'byway', 'construction', 'cycleway', 'footway', 'living_street', 'motorway', 'motorway_link', 'path', 'pedestrian', 'primary', 'primary_link', 'residential', 'road', 'secondary', 'secondary_link', 'service', 'steps', 'tertiary', 'tertiary_link', 'track', 'trunk', 'trunk_link', 'unclassified'],
'natural': ['coastline', 'nosea', 'sea', 'beach', 'land', 'scrub', 'water', 'wetland', 'wood'],
- 'landuse': 'forest',
+ 'landuse': ['forest', 'commercial', 'industrial', 'residential', 'retail'],
'leisure': ['park', 'nature_reserve'],
- 'railway': ['abandoned', 'bus_guideway', 'disused', 'funicular', 'light_rail', 'miniature', 'narrow_gauge', 'preserved', 'rail', 'subway', 'tram'],
+ 'railway': ['rail', 'tram', 'station', 'stop'],
'surface': '',
'tracktype': '',
'tunnel': '',
diff --git a/wahoomc/resources/tag_wahoo_adjusted/tag-wahoo-poi.xml b/wahoomc/resources/tag_wahoo_adjusted/tag-wahoo-poi.xml
index 366747af..7293efb9 100644
--- a/wahoomc/resources/tag_wahoo_adjusted/tag-wahoo-poi.xml
+++ b/wahoomc/resources/tag_wahoo_adjusted/tag-wahoo-poi.xml
@@ -1,22 +1,31 @@
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,22 +64,22 @@
-
+
-
+
-
+
-
+
@@ -81,15 +90,16 @@
-
-
+
+
-
+
+
@@ -100,13 +110,13 @@
-
+
-
+
-
+
@@ -115,16 +125,16 @@
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+