github dawarich-app/atlas v0.7.0

one hour ago

Added

  • The Basemap settings tab lists the .pmtiles files already in data/tiles/ and switches to one with Use. A running tile pack download can be cancelled; the incomplete .partial file is removed and finished packs are kept.
  • MOTIS and OTP mirrors: /api/v1/motis/api/v6/{map/stops,map/trips,stoptimes,trip,plan} and POST /api/v1/otp/otp/gtfs/v1 pass requests to the transit engine and return its answer unchanged (status, body, content type, the engine's own errors), the way /api/v1/photon/* and /api/v1/valhalla/route do. A mirror path is the engine path behind a prefix, so an existing MOTIS or OTP client only changes its base URL. The other engine's mirror answers 501; map requests over a city-sized area are refused with 422, and departure boards are never cached.
  • GET /api/v1/valhalla/route passes a Valhalla /route request through unchanged and returns Valhalla's status and body untouched, the way /api/v1/photon/* does for Photon. Every Valhalla route option is available, including alternates, via points and costing options, and Valhalla's own errors and content type (GPX, PBF) reach the caller. A Valhalla that cannot be reached is a 503 and one that does not answer in time a 504. Raw JSON in the query (?json={…}, as in Valhalla's docs) works, and a non-JSON Accept header (for a GPX or PBF format) is no longer refused. Only /route is mirrored.

Changed

  • The setup wizard has three steps instead of four: Where (regions), What (features) and Install. The review step is gone, the public transport engine choice moved under Advanced, and installation progress uses plain service names.
  • When Public transport is selected, the wizard shows the timetable for each chosen region and connects a matching catalog provider (such as VBB for Berlin) on install. Regions without one get an inline Add timetable link form instead of a trip to the Transport data page. A timetable that covers only part of a region says so, and a turned-off source points to Transport data instead of offering a second link.
  • The Transport data page uses shorter copy.
  • Choosing a region in the setup wizard absorbs the regions already chosen inside it, and regions inside a chosen one show as Included in … instead of downloading twice; the wizard says when a region was absorbed. Containment comes from the extract outlines (Geofabrik polygons, BBBike city rectangles), so Brandenburg absorbs Berlin, while a border city such as Aachen, whose extract reaches into the Netherlands and Belgium, stays separate from Germany. A region is offered the timetables of the places inside it.
  • The setup wizard shows a globe next to the Where and What steps with every chosen region outlined. Outlines ship with Atlas (priv/static/regions), so it works offline before any map data is installed; mix atlas.gen_catalog regenerates them (--outlines sets the path).
  • When setup finishes, Open map opens on the installed region, and the wizard offers one thing to try for each feature whose service already answers (find an address, plan a route, a train or bus trip, cafés nearby). It says Almost ready while a service is still starting. The map accepts view, panel=route and mode in its URL for these links.
  • The map panel, Settings and Transport data pages use less text and the same look as the setup wizard: no small-caps labels or monospace outside code and data, shorter hints, on/off switches for transport sources, and dates in the interface language.
  • mix atlas.gen_catalog reads the Geofabrik index with outlines and each BBBike city's .poly, and stores a within list and a bbox per catalog entry. --no-shapes skips the .poly fetches.

Fixed

  • Downloaded and custom PMTiles basemaps (Protomaps v4 schema) render. Atlas 0.6.2 passed the archive URL to MapLibre as a style URL; Atlas now registers the PMTiles protocol and builds a Protomaps style on the interactive and static maps, and a basemap or theme change applies at once.
  • PMTiles basemaps work without internet: their fonts and icons ship with Atlas (served at /basemap) instead of loading from protomaps.github.io. This adds about 32 MB to the image.
  • Use server default in the Basemap tab, and an empty tiles_url sent to /admin/tiles.json, clear the saved map URL, so TILES_URL takes effect again.
  • Service restarts reject empty Compose projects instead of silently reporting success without loading refreshed timetables. Transport documentation explains matching GTFS feeds, daily refresh, and HOST_PROJECT_DIR configuration.
  • US states now sit inside the United States in the region catalog (Geofabrik lists them under North America), and their names read "California" instead of "us/california". Geofabrik's <br /> markup no longer shows in region names.
  • The VBB timetable now matches the Brandenburg region.

Don't miss a new atlas release

NewReleases is sending notifications on new releases.