Why is train data shared with the Belgian gov?
Why is train data shared with the Belgian gov?
Why is train data shared with the Belgian gov? - SDF Chatter
(cross-posted from !opendata)
In Belgium, the national train service runs a protectionist bot-hostile tor-hostile website that chains users to an enshitified js-plagued GUI webapp. You can only query one day and one destination at a time. It’s the typical shit-show that consumers give in to for this kind of website.
HOWEVER, Belgium’s open data law requires the gov to share any data they get with the public. And for some reason the gov maintains a DB of the train routes and schedules -- which means everyone gets the raw data as a bullshit-free CSV file (but sadly no prices, which fucks everything up as far as being able to avoid the enshitified web entirely).
Does anyone know /why/ the gov gets that data? It would be useful to know what law compels SNCB to share the info because I wonder if other data can be liberated through the same mechanism (such as bus routes, flights, rideshares, etc). My first thought was customs and immigration must have a need-to-know, but the dataset covers both directions and IIRC it only has good coverage of domestic routes not international (strange).
I'm not Belgian, but my best guess would be that the government is involved in the train infrastructure because train tracks are one of those "natural monopolies" that need to be closely regulated to make sure the company that owns the tracks doesn't abuse that power.
At my dayjob I program stuff for the German Power Grid and Energy Market, and since that is a "natural monopoly" as well (you can't really have competing energy producers just lay their own power lines everywhere), there are a lot of laws about what data can go where and what data has to be publicly accessible. "Accessible" can totally be a shitty JS frontend that delivers data in an inconsistent, bewildering format (i.e the DVGW Market Participant list). Sounds a lot like what you describe here
I actually could not find the law. I’m a bit confused because Belgium supposedly has an exceptional open data law. But at the same time there is an EU Directive (2019/1024) which requires all member states to have an open data law. I cannot find Belgium’s implementation of this law. But in any case, Germany should have implemented the directive to ensure the data is machine readable:
(shitty paste but readable enough)