chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

Suggestion for the viewing of lines on map : Duplicate the lines running on the same segment. #961

Open Backhand5 opened 1 month ago

Backhand5 commented 1 month ago

Instead of seeing a single line (one color) on the map, it would be possible to see all the lines running on a particular segment. It could be similar to what Google Maps does.

greenscientist commented 1 month ago

We had a student group do a prototype for this last year. But there's still quite some work to do.

@tahini , I was looking for the prototype code, but could not find it. Is it in a branch somewhere?

tahini commented 1 month ago

It is an experimental feature that you can select in the Preferences. See screenshot

PreferencesPrettyDisplay

Then it will split the line, but it may take a while for the display to be updated. The feature is well... experimental, but it's there! You can try it out.

ShowPrettyPath

The source code is located in chaire-lib-common/src/services/geodata in ManageOverlappingLines.ts and RelocateNodes.ts to show the nodes in the middle of the lines.