Hi Alfons,
On 09/30/2013 10:38 AM, Alfons Natanael wrote:
> Hi, I was wondering how Open Trip Planner combines public transportation
> route data (i.e. location of stops and the path taken to reach those
> stops) from GTFS with OSM's street data to build a routing graph?
They are basically two separate layers, only connected together at the
transit stops. GTFS can provide vehicle paths and the time necessary to
reach one place from another without any OSM data.
> Do the points in the GTFS data have to match the points of OSM street
> nodes? What if the GTFS route paths don't lie exactly on the same
> location as the streets in OSM? Will Open Trip Planner perceive these
> two paths/ways as different paths or will it combine them into one?
No, the points in the GTFS data will be used even with no OSM at all. In
both GTFS and OSM, once the data have been loaded the geometries of the
streets are extra information purely for presentation purposes. The main
thing we care about for routing is the time and effort it takes to
traverse each segment. This information is derived directy from GTFS and
precalculated for street segments.
-Andrew