Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update transit map, using S-Bahn interactive network map? #7

Open
a2 opened this issue Sep 4, 2018 · 7 comments
Open

update transit map, using S-Bahn interactive network map? #7

a2 opened this issue Sep 4, 2018 · 7 comments

Comments

@a2
Copy link

a2 commented Sep 4, 2018

I would love to make a PR that updates the U3 line to Warschauer Str. but I don't know how this all works. Is there a guide for proposing updates to the JSON file?

@derhuerst
Copy link
Owner

Some context: I chose the JSON to ensure maximum reusability for bvg-topological-map. With the given markup, both SVG-native tools like browser libs can render SVG from it, but other tools can convert it into other formats like PostScript, because SVG path strings are well-supported.


Unfortunately, there is no guide currently. I guess it comes down to how much time you want to invest.

This repo is AFAIK the only machine-readable representation of the BVG transit map, so it's worth a lot to keep it up to date! However, the existing JSON file is the result of a time-intensive manual process:

  • download the transit map as a PDF
  • import in Sketch.app, which converts it to a SVG-like tree
  • clean it up: remove labels, logos, etc
  • join line shapes that are split into pieces, put their path definitions into the right order
  • tag all stations with their station IDs, using vbb-stations-cli
  • export as SVG
  • transform into JSON
  • optional: add special information like wifi

Repeating this process would yield a JSON file known to be up to date, but updating the JSON directly to reflect the changes seems more realistic. You would have to convert the JSON into SVG, edit it and reflect the changes back into the JSON file.

As documented in vbb-map-routing#3, I had started to update this repo to the latest transit map a while ago, but have stopped since, because I don't have enough time right now.

@derhuerst
Copy link
Owner

If you can think of a more straightforward way to keep this repo up to date, let me know!

@derhuerst
Copy link
Owner

Do give you an impression about the time required: It took me about 6 hours to take the official transit map through the whole process.

@derhuerst derhuerst changed the title U3 update to Warschauer Str. update transit map (U3, etc) Sep 10, 2018
@derhuerst derhuerst changed the title update transit map (U3, etc) update transit map, using S-Bahn interactive network map? Jun 17, 2020
@derhuerst
Copy link
Owner

S-Bahn Berlin has published an interactive network map which has rasterised layers for all stations & lines. Let's see if we can reconstruct vector data from that!

@derhuerst
Copy link
Owner

@creativecreatorormaybenot

S-Bahn Berlin has published an interactive network map which has rasterised layers for all stations & lines. Let's see if we can reconstruct vector data from that!

@derhuerst did you end up experimenting with that?

@derhuerst
Copy link
Owner

No, I haven't worked on this so far. You're very welcome to do so if you want.

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

No branches or pull requests

3 participants