This question has been converted to Community Wiki and wiki locked
because it is an example of a question that seeks a list of answers
and appears to be popular enough to protect it from closure. It
should be treated as a special case and should not be viewed as the
type of question that is encouraged on this, or any Stack Exchange
site, but if ...
There's a tool that goes from GTFS to KML:
and a KML to shape file tool at
For more details please click here
This should be possible in FME 2016. Because we can not write aggregates to GTFS a setting in the Clipper is needed "Create Aggregates" = "No" to prevent FME from creating aggregates when clipped feature results in multiple pieces. The workspace I tested with is here:
Based on the Helsinki sample ...
From http://code.google.com/p/googletransitdatafeed/wiki/PublicFeeds, I took the data from TriMet Portland and had no problem adding the geometry data (stops.txt and shapes.txt) to QGIS with the MMQGIS plugin.
Once installed, use MMQGIS -> Import/Export -> Geometry Import from CSV file
Geometry Type Point for the stops and Polylinefor the shapes.
ESRI have a new tool that allow to add GTFS to a Network Dataset, display GTFS Route Shapes, edit GTFS Stop Locations, calculates transit/walking service areas for a specific time of day and day of the week, and more effective gadegets.
There is also a blog avout this tool with samples to each procedure a lot of more links
If you know the routes that are in your region of inteterest, the GTFS Transformer can give you a much smaller GTFS.
In doing so, it will remove all of the trips, shapes, stops, stop_times and calendars that are not included the retained routes.
If you want to remove route_id 1 and keep route_id 3, your transform file would look something like:
I'd do it using Python. It's going to be custom, I reckon.
There's a shapefile reading library: https://code.google.com/p/pyshp/
And you're writing CSVs. Doing it with Python means it's repeatable too!
You can use the Convert lines to points tool (you need SAGA GIS installed and the processing toolbox plugin enabled) and set your distance:
This is what I received for my line layer:
I used the Measure Line tool from the toolbar to do a quick check between points:
Hope this helps!
Can be done with OpenJUMP and linear referencing tools. Select the line layer first.
Fill in the parameters
Results go to a new point layer. Points are at equal intervals along the line, original vertices are dropped. Start and end nodes can be preserved if desired.
I have used the Points2One plugin and I found it pretty straight forward.
1 - Import GTFS file named 'shapes.txt' using 'Add limited Text Layer'
2 - Click on the Points2One plugin and create Lines by "shape_id"
It is all preference, so think about it from the perspective of users, and balance that with how difficult it is to produce, and how much the details stray from the road.
I have used GTFS extensively, and know that these details help with things like estimating how fast a vehicle is scheduled to travel (comparing it to a real-time tracking feed), or when it ...
You might want to look at OpenTripPlanner. There's an instance set up here that includes the MTA GTFS feeds. It was built with the transit index included, which can be queried via its API to find the nearest stops. The API can also be queried to plan trips.
An example query, to find stops near a point:
For anyone looking for something like this in 2014, take a look at brendannee/node-gtfs - GitHub
From the site's readme.md:
node-GTFS loads transit data in GTFS format from GTFS Data Exchange, unzips it and stores it to a MongoDB database and provides some methods to query for agencies, routes, stops and times. It also has spatial queries to find nearby ...
The problem occured because the GTFS data from: https://code.google.com/archive/p/googletransitdatafeed/wikis/PublicFeeds.wiki are out of date. Which also can be seen in the GTFS Feed Validater:
Effective: June 06, 2013 to December 14, 2013
Once downloaded the data for the year 2017 the problem didn't occur anymore. (Source: https://daten.berlin.de/...
Since this question was tagged with Java, I'd put my weight behind Conveyal's gtfs-editor, a webapp which runs on Java via the Play framework. It's pretty easy to get going if you're familiar with CLI.
I've created a design doc for a GTFS feed creator whose inputs would be simpler tables of stops and routes. Looking for coders to make it happen; welcome for anyone to join in. https://github.com/datameet-pune/datameet-pune.github.io/wiki/Project:-GTFS-feed-creation
Update, Apr 2018: Made it! static GTFS Manager: https://github.com/WRI-Cities/static-GTFS-...
Safe Software's FME Version 2016 can read Shapefiles (among numerous other formats) and write GTFS etc.
You are welcome to evaluate FME and make use of our support to see if this solution is suitable.
Disclosure: I am the European Services Manager for Safe Software Inc
Update (from the original questioner)
I figured out how to do this in Network Analyst.
I set up the network dataset using the " Add GTFS to a Network Tool" going through all the steps.
Note, this tool gave me a couple of issues. You need to ensure it is installed prior to running it (and I used the regedit on CC cleaner and closed Arc when after it ...
So while the transit lines can't be added to a layer in My Maps, and Google-defined layers (traffic, transit, etc.) can't be activated in My Maps, the transit layer can be activated both in the Google Maps phone app and web app and a map from my map can be opened without loading it into the My Maps web app. Bizarre, but I'm just glad to have a solution even ...
I've used GTFS editor https://github.com/conveyal/gtfs-editor , and it works pretty well. There is a moderate hump (usage of the command line) to get over for getting it up and running, but once that is done it's straightforward. If that is too much, TransitEditor is hosted and supported.
That error suggests your GTFS data is missing the (optional per spec IIRC) wheelchair_boarding column. Maybe try adding this column in using Excel / LibreOffice?
If that doesn't help, there is a line number in the Python file that should get closer to the issue.
I just did a similar analysis.
Here's the steps I took (assuming you're using ESRI Network Analyst). I used this extension to work with the GTFS data in ArcMap.
Get the census blocks for your desired service area. Get the centroids of those blocks with Feature to Point.
Generate the appropriate size walksheds for each of those centroids, using a ...
I found this really nice tutorial by google search:
I got my data here:
In order to make the points into a path, it looks like the Points to Path plugin does not ship with qgis 3, but it looks ...