MobilityData / gbfs-validator

The canonical GBFS validator. Maintained by the GBFS community, facilitated by MobilityData.
https://gbfs-validator.mobilitydata.org/
Apache License 2.0
18 stars 12 forks source link

Vehicle type grouping in the visualization #172

Open richfab opened 5 months ago

richfab commented 5 months ago

What is the issue and why is it an issue?

When visualizing this feed from Entur, the 'car' vehicle type is duplicated many times.

Instead 'car' should be grouped into one vehicle type.

How to reproduce: https://gbfs-validator.mobilitydata.org/visualization?url=https%3A%2F%2Fapi.entur.io%2Fmobility%2Fv2%2Fgbfs%2Fotto%2Fgbfs%09

Observed Expected
Screenshot 2024-03-15 at 10 28 38 image

Please describe some potential solutions you have considered (even if they aren’t related to GBFS).

I think the grouping should be done on the form_factor field from the vehicle_types.json file (if it's not already the case).

richfab commented 5 months ago

Tagging @testower (feed producer) and @tdelmas (visualizer developper) for visibility.