[strings] highway=* types classification #1767

Closed
opened 2022-01-01 21:14:28 +00:00 by pastk · 4 comments
Owner

E.g. at the moment all of the roads are just "Streets" (incl. motorways and forest tracks).

I propose following more specific translations:

Motor roads:

highway.motorway
	en = Motorway
	ru = Автомагистраль
highway.trunk
	en = National Highway
	ru = Трасса
highway.primary
	en = Primary Road
	ru = Шоссе
highway.secondary
	en = Secondary Road
	ru = Автодорога
highway.tertiary
	en = Tertiary Road
	ru = Дорога
highway.unclassified
	en = Minor Road
	ru = Небольшая дорога
highway.residential
	en = Street
	ru = Улица
highway.living_street
	en = Living Street
	ru = Жилая зона
highway.road
	en = Road
	ru = Дорога
highway.service
	en = Service Road
	ru = Проезд
highway.service.driveway
	en = Driveway
	ru = Подъезд
highway.service.parking_aisle
	en = Parking Aisle
	ru = Парковочный проезд
highway.track
	en = Track
	ru = Грунтовка

Non-motor:

highway.bridleway
    en = Bridle Path
    ru = Конная дорожка
highway.cycleway
    en = Cycle Path
    ru = Велодорожка
highway.steps
    en = Stairs
    ru = Лестница
highway.footway
    en = Foot Path
    ru = Пешеходная дорожка
highway.pedestrian
    en = Pedestrian Street
    ru = Пешеходная улица
highway.footway.area
highway.pedestrian.area
    en = Pedestrian Zone
    ru = Пешеходная зона
highway.path
    en = Path
    ru = Тропа

I referred extensively to OSM wiki to try to come up with the most generic options suitable for most regions.
E.g. https://wiki.openstreetmap.org/wiki/Highways, https://wiki.openstreetmap.org/wiki/Highway:International_equivalence, https://wiki.openstreetmap.org/wiki/Key:highway

E.g. at the moment all of the roads are just "Streets" (incl. motorways and forest tracks). I propose following more specific translations: Motor roads: ``` highway.motorway en = Motorway ru = Автомагистраль highway.trunk en = National Highway ru = Трасса highway.primary en = Primary Road ru = Шоссе highway.secondary en = Secondary Road ru = Автодорога highway.tertiary en = Tertiary Road ru = Дорога highway.unclassified en = Minor Road ru = Небольшая дорога highway.residential en = Street ru = Улица highway.living_street en = Living Street ru = Жилая зона highway.road en = Road ru = Дорога highway.service en = Service Road ru = Проезд highway.service.driveway en = Driveway ru = Подъезд highway.service.parking_aisle en = Parking Aisle ru = Парковочный проезд highway.track en = Track ru = Грунтовка ``` Non-motor: ``` highway.bridleway en = Bridle Path ru = Конная дорожка highway.cycleway en = Cycle Path ru = Велодорожка highway.steps en = Stairs ru = Лестница highway.footway en = Foot Path ru = Пешеходная дорожка highway.pedestrian en = Pedestrian Street ru = Пешеходная улица highway.footway.area highway.pedestrian.area en = Pedestrian Zone ru = Пешеходная зона highway.path en = Path ru = Тропа ``` I referred extensively to OSM wiki to try to come up with the most generic options suitable for most regions. E.g. https://wiki.openstreetmap.org/wiki/Highways, https://wiki.openstreetmap.org/wiki/Highway:International_equivalence, https://wiki.openstreetmap.org/wiki/Key:highway
biodranik commented 2022-01-01 21:55:58 +00:00 (Migrated from github.com)

Тут есть коллизии в русском: проезд может быть частью адреса, а подъезд — входом в здание.

Тут есть коллизии в русском: проезд может быть частью адреса, а подъезд — входом в здание.
Author
Owner

Да, без контекста может возникнуть путаница.
Но контекста вроде как нет только на экране добавления места, но там всё равно только точки добавлять можно, никаких дорог.
При выборе объекта на карте или в поиске тип объекта явно от адреса отделяется.
Или где-то ещё может быть путаница?

(Можно, конечно, использовать "проездная дорога" и "подъездная дорога", но длинновато, имхо.)

Да, без контекста может возникнуть путаница. Но контекста вроде как нет только на экране добавления места, но там всё равно только точки добавлять можно, никаких дорог. При выборе объекта на карте или в поиске тип объекта явно от адреса отделяется. Или где-то ещё может быть путаница? (Можно, конечно, использовать "проездная дорога" и "подъездная дорога", но длинновато, имхо.)
Author
Owner

BTW it'll be great to be more specific with *.bridge and *.tunnel too.
I suggest mimicking PP subtitle style, e.g.

[type.highway.secondary.bridge]
  en = Secondary Road • Bridge
...
Secondary Road • Tunnel
Велодорожка • Мост
Улица • Тоннель

We might use this approach for some other tags also, e.g.

Parking • Private
Parking • Fee
Beach • Sand

etc.

I hope it'll work well in PP, search and add place as well. What do you think?

BTW it'll be great to be more specific with `*.bridge` and `*.tunnel` too. I suggest mimicking PP subtitle style, e.g. ``` [type.highway.secondary.bridge] en = Secondary Road • Bridge ... Secondary Road • Tunnel Велодорожка • Мост Улица • Тоннель ``` We might use this approach for some other tags also, e.g. ``` Parking • Private Parking • Fee Beach • Sand ``` etc. I hope it'll work well in PP, search and add place as well. What do you think?
biodranik commented 2022-01-03 12:16:34 +00:00 (Migrated from github.com)

Looks interesting, but it's more like a hack. It would be better to have additional properties for features instead of sub-types for each possible combination. @vng is it feasible? What do you think?

Looks interesting, but it's more like a hack. It would be better to have additional properties for features instead of sub-types for each possible combination. @vng is it feasible? What do you think?
This repo is archived. You cannot comment on issues.
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
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#1767
No description provided.