fluctuo / gbfs-issues

0 stars 0 forks source link

Helbiz wrong current_range_meters #1

Open PierrickP opened 1 year ago

PierrickP commented 1 year ago

On Helbiz free_bike_status, the current_range_meters seem in kilometers instead of meters Documentation (https://github.com/MobilityData/gbfs/blob/master/gbfs.md#vehicle_statusjson) said

This value represents the furthest distance in meters that the vehicle can travel with the vehicle's current charge [...]

See https://gbfs.helbiz.com/v2.2/rome/free_bike_status.json

{
    "bike_id": "867584033465480",
    "lat": 41.837751,
    "lon": 12.454576,
    "is_reserved": false,
    "is_disabled": true,
    "vehicle_type_id": "scooter",
    "rental_uris": {
        "android": "https://deeplink.helbiz.com/startRide?code=A0U7",
        "ios": "https://deeplink.helbiz.com/startRide?code=A0U7"
    },
    "last_reported": 1677070734,
    "current_range_meters": 9.45,
    "pricing_plan_id": "price_scooter"
}

current_range_meters must be 9450