Skip to content
LocusQ

A map-first editor for GTFS feeds

Click stops on the map, draw route lines and fill a timetable grid, or import a real feed. One project exports to OpenTripPlanner, Valhalla and GraphHopper, each valid against the MobilityData validator.

Data

0.1.0Free

01What it does

Timetables that work like a spreadsheet

Type 0712 for 07:12:00, drag to fill, repeat a trip at an interval, add frequency windows. The timetable CSV goes through any spreadsheet and shows a preview diff before it applies.

csv
format,locusq-timetable/1
route_id,bus-10
direction_id,0
service_id,wk

Exports that pass the canonical validator

otp keeps the model as is, valhalla and graphhopper use basic route types without air, and backup re-imports with no loss. Export is blocked on errors and allowed with warnings.

Bring your own basemap

Point TRANSITLAB_BASEMAP_STYLE_URL at any MapLibre style, for example one whose source is a Tilex tileset built by TileGen, and list extra tile origins in TRANSITLAB_BASEMAP_ORIGINS.

json
{"type": "vector", "url": "http://<tilex>/data/<tileset>.json"}

02Install

Run TransitLab yourself

  1. Get access

    The repositories and packages are private while LocusQ is in private release. Ask for access and say which tools you need.

  2. Build and start

    Open http://127.0.0.1:4100/ and sign in with the token. Every /api route needs it.

    bash
    docker build --target run --build-arg GIT_REVISION=$(git rev-parse HEAD) --build-arg VERSION=0.1.0 -t locusq-transitlab:0.1.0 .
    export TRANSITLAB_ADMIN_TOKEN="$(openssl rand -base64 33)"   # 32+ characters of A-Z a-z 0-9 - . _ ~ + / (optional trailing =)
    TRANSITLAB_TAG=0.1.0 docker compose up -d

Edit your first feed

The guide covers the editor, the timetable CSV and the export profiles.