Convert GTFS to SVG

Turn GTFS files into SVG. A picture of the map as SVG, 1024 pixels wide unless it would be taller than 4096, on white: polygons lightly filled and outlined, lines drawn and points as dots, each layer in its own color.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GTFS files on the dialor turn it to pick what to do

A transit feed drawn as a map.Stops become dots and routes become lines, on a white background.

  1. What you get

    One SVG picture of the feed's map, 1024 pixels wide unless that would make it taller than 4096. Each layer has its own color. Stops are drawn as points, and each route is drawn as a line.

    Routes follow the shapes their trips use. For trips without a shape, the line passes through their stops in order.

  2. How it is drawn

    Longitude and latitude are drawn in Web Mercator, as web maps show them. Other coordinates are drawn as they are.

    Shapes are simplified to half a pixel. Polygons are lightly filled and outlined, lines are drawn, and points are dots.

  3. What it leaves out

    Attributes, labels, the file's own styles and a base map are not drawn, so you get the stops and routes without street names or stop names. Stops and routes still carry all their columns in the SVG.

    To shrink the result, try compress SVG. To combine it with another drawing, use merge SVG.

GTFS and SVG.What each format is.

The formats

From · GTFS

GTFS Feed

A transit agency's stops, routes, trips and timetables as the zip of GTFS text files that Google Maps and trip planners read.

Extensions
.gtfs.zip
MIME type
application/x-gtfs+zip
Kind
Text and data
To · SVG

SVG

Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.

Extensions
.svg .svgz
MIME type
image/svg+xml
Kind
Images

In your code.The same GTFS to SVG conversion through the API, for your app or your agent.

terminal
$ cv convert report.gtfs.zip report.svg
$ cv convert report.gtfs.zip report.svg

Questions.What people ask about GTFS to SVG.

01OF 04

No. Labels are not drawn. The stops are dots, and their columns are carried with each point.

No. A base map is not drawn, and the background is white.

The line goes through the trip's stops in order.

It is 1024 pixels wide. If that would make it taller than 4096, the size is adjusted to fit.

More conversions.Other ways in and out of GTFS and SVG.