Park & Rail data visualized @ geojson.io
Go to the data
https://opentransportdata.swiss/en/dataset/parking-facilities
Change Log
2023-05-16 The provider (SBB PRail) has changed the property “additionalInformationForCustomers” from a single value (text) to an object with the texts in four languages, {“de”: “…”, “en”: “…”, “fr”: “…”, “it”: “…”}
2023-05-11 As of now, the data feed is no longer a separate file per day, but rather a single file “parking-facilities.json” which is updated daily.
2022-04-22 Start of this service.
Description
The data feed consists of a file of about 1200 kB in size, which is retrieved daily from an SBB database (PRail). The feed contains the data of 500+ car parks with name, number of places, geo-coordinates, etc. of the following operators:
- AVA: Aargau Verkehr AG
- BLS AG
- RBS: Regionalbahn Bern-Solothurn
- SBB: Schweizerische Bundesbahnen AG (Swiss Federal Railways)
- SOB: Südostbahn
- zb: Zentralbahn
Data Format
The files are UTF-8 encoded JSON files based on the GeoJSON standard (see https://en.wikipedia.org/wiki/GeoJSON).
The data structure is a GeoJSON “FeatureCollection”, which contains a list (array [ ]) with “features” (the parkings).
Each feature (parking facility) mainly contains these fields:
- “id”: a technical id
- “geometry” a GeoJSON data structure for a point with the WGS 84 coordinates.
- “properties”: other properties, including:
- “displayName”: the name of the parking.
- “operator”: the operator
- “bookingSystem”: information about the system for booking
- “address”: street, address, zip code, town
- “capacites”: information about the type and number of parking places.
The exact structure can be derived from this example or directly from the data feed.
{ "type" : "FeatureCollection" , "features" : [ { "type" : "Feature" , "id" : "97433a48-0376-4e1c-9eca-98ab8d63cadb" , "geometry" : { "type" : "Point" , "coordinates" : [ 8.595184 , 47.261599 ] }, "properties" : { "displayName" : "Horgen" , "operator" : "SBB" , "bookingSystem" : { "type" : "NOVA" , "id" : "163" }, "address" : { "addressLine" : "Bahnhofstrasse 1" , "city" : "Horgen" , "postalCode" : "8810" }, "capacities" : [ { "categoryType" : "STANDARD" , "total" : 44 } ] } } ] } |