Fix subway icons #3509

Closed
opened 2022-09-30 23:55:10 +00:00 by starsep · 6 comments
starsep commented 2022-09-30 23:55:10 +00:00 (Migrated from github.com)

I would like to fix subway icons for cities where it doesn't work at the moment. It looks that some of them were fixed in #1113

Current render of subway station/entrances in Warsaw Expected state (rendered by removing [city=warszawa] from Subways.mapcss)
image image

I tried making changes based on #1113 and generating map data but no luck.
Once I know what needs to be done for a single city I can fix all cities with subway and test them.

I would like to fix subway icons for cities where it doesn't work at the moment. It looks that some of them were fixed in #1113 | Current render of subway station/entrances in Warsaw |Expected state (rendered by removing `[city=warszawa]` from Subways.mapcss) | | --- | --- | | ![image](https://user-images.githubusercontent.com/2798728/193370188-0b5f1089-3cee-4a95-ab6e-c1f4c7e64e2f.png) | ![image](https://user-images.githubusercontent.com/2798728/193369734-030d59b5-8ed2-4225-b354-e19e3452c57c.png) | I tried making changes based on #1113 and generating map data but no luck. Once I know what needs to be done for a single city I can fix all cities with subway and test them.
biodranik commented 2022-10-01 05:59:23 +00:00 (Migrated from github.com)

Likely you should not remove the style. Did you check other cities where custom subway icons work?

Likely you should not remove the style. Did you check other cities where custom subway icons work?
starsep commented 2022-10-01 08:32:13 +00:00 (Migrated from github.com)

Just to clarify: I know that removing [city=warszawa] is a bad solution as it causes every subway station/entrance to render this icon, not only Warsaw. It was just to check that styling inside those rules still works (it does) and to be able to screenshot effect I want to achieve.
I checked other cities Minsk and Moscow. Custom subway icons work there. I tried to add "warszawa" to every file where I could find "minsk". Unfortunately it's not obvious to me which files should be edited manually and which are generated. Also it's possible I am not re-generating properly after changes. At the moment I am not running "Subway layer generation" as I believe this styling is only in base map style.

Just to clarify: I know that removing `[city=warszawa]` is a bad solution as it causes *every* subway station/entrance to render this icon, not only Warsaw. It was just to check that styling inside those rules still works (it does) and to be able to screenshot effect I want to achieve. I checked other cities Minsk and Moscow. Custom subway icons work there. I tried to add "warszawa" to every file where I could find "minsk". Unfortunately it's not obvious to me which files should be edited manually and which are generated. Also it's possible I am not re-generating properly after changes. At the moment I am not running "Subway layer generation" as I believe this styling is only in base map style.
Outlet2048 commented 2022-10-01 08:33:11 +00:00 (Migrated from github.com)

Where are custom subway icons sourced? Maybe I could help with finding some for German cities

Where are custom subway icons sourced? Maybe I could help with finding some for German cities
starsep commented 2022-10-01 08:38:49 +00:00 (Migrated from github.com)

Current icons can be found in https://github.com/organicmaps/organicmaps/tree/master/data/styles/clear/style-clear/symbols and https://github.com/organicmaps/organicmaps/tree/master/data/styles/clear/style-night/symbols with subway- prefix.
Firstly I'd like to fix cities where icons are added to repo already but not rendered at the moment.
I don't know what is the source of those icons. Wikimedia Commons is likely a good source if licences of files are fine.

Current icons can be found in https://github.com/organicmaps/organicmaps/tree/master/data/styles/clear/style-clear/symbols and https://github.com/organicmaps/organicmaps/tree/master/data/styles/clear/style-night/symbols with subway- prefix. Firstly I'd like to fix cities where icons are added to repo already but not rendered at the moment. I don't know what is the source of those icons. Wikimedia Commons is likely a good source if licences of files are fine.
biodranik commented 2022-10-01 09:13:28 +00:00 (Migrated from github.com)

There should be some documentation in the repo, you can also search other pull requests with style changes, there were some docs/steps listed.

There should be some documentation in the repo, you can also search other pull requests with style changes, there were some docs/steps listed.
biodranik commented 2022-10-01 09:13:59 +00:00 (Migrated from github.com)

Regarding icons sources, please check data/copyright.html

Regarding icons sources, please check data/copyright.html
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
1 participant
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#3509
No description provided.