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

add vehicle type #46

Open
juliuste opened this issue Aug 11, 2018 · 2 comments
Open

add vehicle type #46

juliuste opened this issue Aug 11, 2018 · 2 comments

Comments

@juliuste
Copy link
Member

As far as I can tell, the only major type of public transformation information we are currently completely unable to express in FPTF is vehicles and their location. I therefore propose adding a vehicle type to FPTF@2 which could look as follows:

{
    type: 'vehicle', // required
    id: '123456', // required
    location: { // optional
        type: 'location',
        longitude: 52.5,
        latitude: 13.2
    },
    accessible: true, // barrier-free (e.g. for wheelchair users), optional
    model: '485' // model information, e.g. "Deutsche Bahn, Baureihe 485", optional
}

Note that this makes much more sense if we actually implement #43 in FPTF@2 because updating vehicle location could then be done by simply publishing more recent vehicle objects sharing the same id, indicating changed position information.

Opinions? 😄

@juliuste
Copy link
Member Author

@derhuerst ping

@juliuste juliuste added this to the 2 milestone Aug 21, 2018
@juliuste
Copy link
Member Author

@derhuerst ping

@juliuste juliuste added the major label Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant