Public Transport Line Network of Basel-Stadt

This dataset details the public transport line network in the Canton of Basel-Stadt and the surrounding trinational agglomeration. Each row represents a specific route segment, identifying the line number, transport operator, vehicle type, and service availability. It covers various modes including trams, buses, ferries, and S-Bahn trains.

This table is useful for mapping the physical layout and operational availability of public transport in the Basel region. It does not contain real-time arrival data, specific timetables with clock times, or fare information.

187 rows · 10 columns · published by Amt für Mobilität · licence: Open use, source must be named

Source file: https://data.bs.ch/api/v2/catalog/datasets/100064/exports/jsonl · the dataset

Columns

ColumnTypeDescription
2D Geographic PointJSONLongitude and latitude coordinates of the route point.
Geographic ShapeTEXTGeoJSON feature containing the geometry of the line.
Internal Line IDINTEGERA unique internal identifier for the line segment.
Line NumberINTEGERThe public-facing line number (e.g., 1, 8, 603).
RoutePLACEThe name or description of the route, including start and end points.
DirectionTEXTThe direction of travel, such as Hinfahrt (outbound), Rückfahrt (return), or Schlaufe (loop).
Vehicle TypeTEXTThe type of vehicle used, such as Tram, Bus, Fähre (ferry), or S-Bahn.
Service OfferJSONThe time periods and days the service is available (e.g., 'ganzer Tag', 'Mo. bis So.').
Transport OperatorTEXTThe transport company operating the line (e.g., BVB, BLT, SNCF, DB).
Shape LengthINTEGERThe length of the shape feature.

Questions it answers

Query it in SQL · API · Use it from an AI agent (MCP) · More tables

Cleaned and typed by Data Cleaner: open this file in Data Cleaner or clean your own file.