Allow "name" tag to be added separately #3378
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
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#3378
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
When adding a place to OSM via the OM app, and when the phone's language is not the same language which should go into the
name=*
tag on OSM, then the below issue happens.Example in India, the community consensus is that English names should go into the
name=*
tag and local language (which varies by the state you are in) names should go intoname:lang=*
tag.My phone's (iOS) preferred language is set to Marathi (
mr
), so when I add a place in OM, it asks for Marathi name but puts it into thename=*
tag, and doesn't touch thename:mr=*
. (Of course it give options to add additional language where I usually add the English namename:en
tag also.)But the result is that the
name=*
contains Marathi name instead of English. And also thename:mr=*
tag (which should contain the Marathi name) is never added.Instead of this, it would be better to have finer control on the name tags, where I can add the
name
, andname:mr
tags separately. Below is a screenshot from the Every door app which does this easily. It even allows to simply duplicate the text in thename
tag into thename:mr
tag or vice verse simply by clicking the arrows icon on the right side.@vng can we use generator/region_meta.cpp and data/countries_meta.txt for that? Is it used at the moment? Do we store that meta info inside mwm files? If yes, can it be extracted for the Editor?
We already use meta for lang selection. Can't say for sure what happens in editor.
"it asks for Marathi name but puts it into the name=* tag, and doesn't touch the name:mr=*" This is a bug. Our editor was designed to add local only name:lang tags (AFAIR), because there are always tagging wars with generic name tag in OSM for different regions.
More complicated logic when editing objects. We advice edit names fields in local languages (and here we (should) use meta), but also override (AFAIR) generic name tag if edited name was taken from this generic tag.
We already have some open issues about names in editor.
I still think that having generic editable name tag is not a good idea.
Yup it is. I confirmed it today by adding a place and observing the resultant data later on OSM. If you want I can share screenshots.
About adding the
name
tag, I wish it was there since that helps to see the name on OSM.org and other sites/apps, if any, which show thename
name, which otherwise would be displayed blank.Also I saw that if you go to add "add a language" and scroll to the bottom of the list then it lists one option as "default / native for each country". Does this go into the
name
tag?The logic may be more complicated because we have some tricky rules on how to display the name on the map. But let's focus on the issue:
name
is "default/native for each country" value.This is an important problem that should be fixed properly. Can you help to carefully test and fix it?
mr
(or your language).name
tag instead of thename:mr
tag.I'm sorry I won't be able to dedicate time to fixing this issue. But I can test it if you release it on ios test flight.
I've noticed a related issue.
When I'm trying to modify the name of an existing POI that only has default name tag OM creates an additional name:en tag while the incorrect name variant still remains.
Example 1:
Default name tag corrected, but wrong variant copied into name:en
https://www.openstreetmap.org/node/1260313856/history
Example 2:
Default name tag remains wrong, corrected variant is additionally added as name:en
https://www.openstreetmap.org/node/4122536091/history