Convert GTFS to PNG
Turn GTFS files into PNG. A picture of the map as PNG, 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 picture of your transit map.Stops as dots and routes as lines, drawn as one PNG on white.
What you get
One PNG of the map, 1024 pixels wide unless that would make it taller than 4096. The background is white. Each layer has its own color. Polygons are lightly filled and outlined, lines are drawn, and points are dots.
Stops become points. Each route becomes a line. A route follows the shapes its trips use. For trips without a shape, the line runs through their stops in order.
Longitude and latitude are drawn in Web Mercator, as web maps show them. Other coordinates are drawn as they are.
What is not drawn
The picture is only the geometry. Attributes, labels, the file's own styles and a base map are not drawn, so you see no stop names, route names or streets.
Shapes are simplified to half a pixel. Very fine detail in a route's path can be smoothed out.
Next steps
The PNG is a fixed picture. To change its size afterward, use resize PNG. See every PNG conversion for other ways to work with the result.
GTFS and PNG.What each format is.
The formats
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
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same GTFS to PNG conversion through the API, for your app or your agent.
$ cv convert report.gtfs.zip report.png$ cv convert report.gtfs.zip report.pngQuestions.What people ask about GTFS to PNG.
No. Labels and attributes are not drawn. Stops are dots and routes are lines.
It is 1024 pixels wide unless that would make it taller than 4096. The background is white.
Each route is a line along the shapes its trips follow. If a trip has no shape, the line goes through its stops in order.
No. A base map is not drawn, so the routes and stops sit on white.