[styles] attraction=animal as a standalone tag #7716
No reviewers
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#7716
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "attraction"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #5911
attraction=* (https://wiki.openstreetmap.org/wiki/Key:attraction) is not a sub key of tourism=attraction (https://wiki.openstreetmap.org/wiki/Tag:tourism%3Dattraction) .
Therefore the style was modified to render attraction=animal without tourism=attraction.
(also removed the priority values for tourism-attraction-specified, as there is no style specified)
Thanks! Maybe some day we can make separate icons for each animal )
@pastk PTAL
Please amend
types_strings.txt
accordingly and regenerate strings.Also you may want to add
attraction-animal
intoeditor.config
:)please remove
specified
completely, there are no such values@ -691,9 +692,8 @@ node|z16-[tourism=theme_park],
area|z16-[tourism=theme_park]
nit: trailing comma for consistency
also note that its better to use just "node" line both here and above around line 460
duplicating "node" & "area" lines is redundant in 95% cases
@pastk is it hard to write some kind of validator/check script for issues like this one?
actually we have a lot of types added into the mapping ("for the future") but never used...
on the other hand there are various "service" and "non-drawable" types there like hwtag-oneway, cuisine-, wheelchair-, etc...
so the information of the actual use (or absence of any use) is ATM spread in different files and sometimes is hardcoded
I think that type traits like service / drawable / searchable / addable? / etc. should be clearly and explicitly configured for each type in the mapping config (we'll extend the syntax, maybe yaml)
@vng WDYT?
to keep date and context
please delete also
sorry tests are failing because of my mistake - there should be no trailing "x"
actually to be super safe I now suggest replacing the old type with the generic
tourism|attraction
, just in case there were some rare cases in some maps@map-per please re
generate_drules
alsoLGTM
Many thanks!
Please remove es-MX; no different from es
Recinte d'animals
This line can be removed too, general
pt
will suffice@pastk: How is this usually done in OM?
just remove this like in
types_strings.txt
organicmaps/organicmaps#7716/commits/ff73ddd3bc49fb5d84bcfe0b093ac134bfed200b#diff-dc83cee833f96d4ab35de9bc5adb183c39800fe95659d682096c694696dc9aea@fitojb its better to leave review comments against this file as its the source (android and iphone localizations files are generated automatically from it)
nl OK
Better remove it as duplicate.
pt-BR
is supported,pt-rBR
is not (its an android-specific notation).Anyways its a duplicate so remove it please
somehow unrelated strings are overwritten;
its likely as issue with your local twine version;
please ensure your twine submodule is up-to-date (should point to
a9a97d1 Use custom om suffix for twine version
), remove the locally installed version (check viagem list
) and remove thetools/twine/twine-*.gem
file and then re-rungenerate_localization.sh
- it'll install the right version@RedAuburn had the same issue before
This r-BR is wrong, and is duplicate of pt, so no need to add it.
ah, please remove this
ref
, I haven't noticed it before :/it basically means "take translation from tourism.attraction if they're not specified here explicitly"
that should fix wrong translations for pt-BR and es-MX
Thanks! That solved the wrong pt-BR, es-MX and en-GB translations
LGTM
Thanks for your patience!