Traffic lights v2 #8790

Merged
root merged 5 commits from traffic-lights-v2 into master 2024-07-29 18:14:48 +00:00
Member

Finishing PR #7281 by @RedAuburn

Rebased his branch to master. And fixed drules_merge.py script (this also affected speed cameras).

Screenshot 2024-07-29 at 18 01 33

(This block https://osm.org/?mlat=51.48147&mlon=-0.00903 on the screenshot)

Map with traffic lights: UK_England_Greater London.mwm

Finishing PR #7281 by @RedAuburn Rebased his branch to `master`. And fixed `drules_merge.py` script (this also affected speed cameras). <img width="500" alt="Screenshot 2024-07-29 at 18 01 33" src="https://github.com/user-attachments/assets/0e9b45db-fb66-4b15-8913-913f6496766b"/> _(This block https://osm.org/?mlat=51.48147&mlon=-0.00903 on the screenshot)_ Map with traffic lights: [UK_England_Greater London.mwm](https://drive.proton.me/urls/R523V2FFWM#rj3ReD7UrBTC)
strump reviewed 2024-07-29 15:11:39 +00:00
Author
Member

There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.

> There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
biodranik (Migrated from github.com) approved these changes 2024-07-29 16:47:59 +00:00
biodranik (Migrated from github.com) left a comment

@vng PTAL, I'm ok with traffic lights for vehicles only as the first step. The same type will be used to penalize routing too, right?

@vng PTAL, I'm ok with traffic lights for vehicles only as the first step. The same type will be used to penalize routing too, right?
@ -151,4 +151,2 @@
crossing=traffic_signals : highway=traffic_signals
# Replace top tags from here https://taginfo.openstreetmap.org/search?q=recycling on the common ones.
biodranik (Migrated from github.com) commented 2024-07-29 16:44:23 +00:00

Crossing traffic lights will be ignored now, correct? They should be added separately, right? @euf can we do a red + green icon for crossings?

Crossing traffic lights will be ignored now, correct? They should be added separately, right? @euf can we do a red + green icon for crossings?
@ -125,2 +125,4 @@
/*check offset int_name*/
/* 3.2 Road Icons */
node|z19-[highway=traffic_signals],
biodranik (Migrated from github.com) commented 2024-07-29 16:46:41 +00:00

For vehicle style, does it make sense to show traffic lights earlier? Will they be visible at all on mobile devices when the camera is up at the city speed of 30-50 mph?

For vehicle style, does it make sense to show traffic lights earlier? Will they be visible at all on mobile devices when the camera is up at the city speed of 30-50 mph?
biodranik (Migrated from github.com) commented 2024-07-29 16:47:02 +00:00
    for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale + 1):
```suggestion for z in range(zooms2[typ][0].scale, zooms2[typ][1].scale + 1): ```
vng (Migrated from github.com) approved these changes 2024-07-29 18:14:38 +00:00
euf (Migrated from github.com) reviewed 2024-08-05 08:09:24 +00:00
@ -151,4 +151,2 @@
crossing=traffic_signals : highway=traffic_signals
# Replace top tags from here https://taginfo.openstreetmap.org/search?q=recycling on the common ones.
euf (Migrated from github.com) commented 2024-08-05 08:09:24 +00:00

Like a pedestrian oriented traffic lights you mean? Sure we can 😄

Like a pedestrian oriented traffic lights you mean? Sure we can 😄
This repo is archived. You cannot comment on pull requests.
No reviewers
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#8790
No description provided.