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

Align with GBFS/TOMP geoJSON format #823

Open
edwinvandenbelt opened this issue Jan 23, 2023 · 1 comment
Open

Align with GBFS/TOMP geoJSON format #823

edwinvandenbelt opened this issue Jan 23, 2023 · 1 comment
Labels
Geography Items related to the Geography API Jurisdiction Specific to the Jurisdiction API Policy Specific to the Policy API

Comments

@edwinvandenbelt
Copy link

Is your feature request related to a problem? Please describe.

See TOMP-WG/TOMP-API#485

It is not really a problem, but it's more about efficiency and ease of implementation. If the area endpoints in GBFS, MDS and TOMP could be alike (preferably geoJSON), the information could be published by the city, consumed by the TO (and shown in their app), published again by the TO (using GBFS/TOMP) and consumed directly by the MP (and again, shown in their app). The only thing that has to be taken into account, is that the rules that MDS (or maybe even CDS) use, are not all needed by the end users of the apps.

Describe the solution you'd like

the policy endpoint should produce geoJSON, that the Transport operators (TO) and the MaaS Service Providers can use in their apps (in a filtered way). In the current situation platforms that publish MDS (like Vianova) offer this service (transforming to geoJSON).

Is this a breaking change

  • Yes, breaking: the policy and geography endpoints will be merged and formatted in a different way.

Impacted Spec

  • policy

Describe alternatives you've considered

Use the geography endpoint to produce a complete geoJSON and refer to rules in the policy endpoint.

@schnuerle schnuerle added Policy Specific to the Policy API Geography Items related to the Geography API Jurisdiction Specific to the Jurisdiction API labels Jan 23, 2023
@schnuerle
Copy link
Member

The MDS Geography API has a GeoJSON formatted field in it when defining its geography.

https://github.com/openmobilityfoundation/mobility-data-specification/tree/main/geography#geography-fields

This can be grabbed and used as GeoJSON. I don't think we will get to a point where the whole endpoint will be GeoJSON as there are a lot of other fields and overhead needed for it to work in the greater MDS context.

@schnuerle schnuerle changed the title Align with GBFS/TOMP (policy) Align with GBFS/TOMP geoJSON format May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Geography Items related to the Geography API Jurisdiction Specific to the Jurisdiction API Policy Specific to the Policy API
Projects
None yet
Development

No branches or pull requests

2 participants