-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphconfiggtfs.xml
46 lines (41 loc) · 2.38 KB
/
graphconfiggtfs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
<bean id="gtfsBuilder" class="org.opentripplanner.graph_builder.impl.GtfsGraphBuilderImpl">
<property name="gtfsBundles">
<bean id="gtfsBundles" class="org.opentripplanner.graph_builder.model.GtfsBundles">
<property name="bundles">
<list>
<bean class="org.opentripplanner.graph_builder.model.GtfsBundle">
<property name="url" value="http://www.transitchicago.com/downloads/sch_data/google_transit.zip" />
</bean>
</list>
</property>
</bean>
</property>
</bean>
<bean id="osmBuilder" class="org.opentripplanner.graph_builder.impl.osm.OpenStreetMapGraphBuilderImpl">
<property name="provider">
<bean class="org.opentripplanner.openstreetmap.impl.RegionBasedOpenStreetMapProviderImpl">
<property name="regionsSource">
<bean class="org.opentripplanner.graph_builder.impl.TransitStopsRegionsSourceImpl" />
</property>
<property name="cacheDirectory" value="/tmp/osm-cache" />
</bean>
</property>
</bean>
<bean id="transitStreetLink" class="org.opentripplanner.graph_builder.impl.TransitToStreetNetworkGraphBuilderImpl" />
<bean id="graphBuilderTask" class="org.opentripplanner.graph_builder.GraphBuilderTask">
<property name="path" value="/tmp/graph-bundle" />
<property name="graphBuilders">
<list>
<!-- GTFS comes before OSM, because we use the loaded set of stops to determine our OSM coverage -->
<ref bean="gtfsBuilder" />
<ref bean="osmBuilder" />
<ref bean="transitStreetLink" />
</list>
</property>
</bean>
</beans>