opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.16k stars 1.02k forks source link

Unifying the vector tiles API #5712

Open leonardehrenfried opened 6 months ago

leonardehrenfried commented 6 months ago

The Vector Tiles API was originally added for HSL but has enormously grown in popularity ever since. OTP-RR and Stadtnavi are also extensive users and have contributed their own layers.

The API is very configurable which seems great at first but in practise it has led to subtly incompatible clients, that expect a layer name which can only be achieved with custom configuration.

On top of it, the correct layer name to choose is hard to discover and debugging a vector tiles client is very hard.

Goals

To achieve a unified API which all clients can develop against without having to configure the layers individually.

Specifically the name and mapper fields will not be configurable anymore.

Migration plan

In order to have a smooth migration plan, I suggest the following:

Stakeholders

I would like to gather feedback from @miles-grant-ibigroup, @hbruch, @optionsome and @fpurcell if they see this plan as worthwhile and if I have overlooked an aspect of this.

miles-grant-ibigroup commented 6 months ago

I would love this! Huge +1 from OTP-RR

fpurcell commented 6 months ago

Sounds good, Leonard. I don't have any feedback just now, and will defer to Miles, who has done a lot in this space.

leonardehrenfried commented 5 months ago

@hbruch has indicated privately that he also supports this.

@optionsome what do you think about this?

optionsome commented 5 months ago

I'm ok with this but preferable we should do it sooner than later.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days