Skip to content

Conversation

@mesinger
Copy link
Contributor

image

Directly seeing the lines on the map improves a user's orientantion when they open the app.
Many cities color-code their lines so this is also an important information that is currently completely missing in Transportr.
As this feature is available in mainstream Google/Apple Maps i think this is an important feature that would improve the usability of Transportr.

The screenshot shows the 5 subway lines in Vienna in their correct color, so anyone living in Vienna will directly know which color is which line.

DISCLAIMER: The coordinates for the lines are parsed from the Overpass API. As I'm new to the development of map applications their most likely is a better solution to query the coordinates of transportation lines. This is just a POC.

@cla-bot cla-bot bot added the cla-signed ✔️ The Contributor Licence Agreement was signed by all contributors. label Jan 20, 2024
@mesinger
Copy link
Contributor Author

ℹ️ I did that poc on my kotlin1.8 PR so the changes related to this feature are in this commit

@mesinger mesinger marked this pull request as draft January 20, 2024 12:39
@mesinger
Copy link
Contributor Author

mesinger commented Feb 6, 2024

@ialokim @Altonss before i invest more time in this i need to get some feedback from you if you'd approve this feature.
currently working on a generator that gets the line coordinates by specific latlong from overpass api. hopefully generic enough to be extendable to other cities easily

@Altonss
Copy link
Collaborator

Altonss commented Feb 7, 2024

The idea seems interesting, is all this data (lines and colors) collected from Openstreetmap? What is the benefit compared to just using another map directly highlighting public transit information?

@ialokim
Copy link
Collaborator

ialokim commented Feb 7, 2024

I do like the idea of showing more public-transport-related information readily on the map, but I don't think manually querying data from OSM is a way that would scale to other regions. It also leads to questions as for which regions special information is shown, why limiting this to metro and not including buses etc.

I was hoping that now that we switched to jawg.io as our map provider with #668 , we could try to customize the map styles we are using to highlight public transport information. However, I just had a quick look at their style editor and it seems very limited in what we can customize there.

On a larger roadmap, we could look into https://protomaps.com/ and if it would be possible to highlight custom information with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed ✔️ The Contributor Licence Agreement was signed by all contributors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants