public class GraphBuilderParameters extends Object
TODO maybe have only one giant config file and just annotate the parameters to indicate which ones trigger a rebuild ...or just feed the same JSON tree to two different classes, one of which is the build configuration and the other is the router configuration.
Modifier and Type | Field and Description |
---|---|
boolean |
areaVisibility
Perform visibility calculations on OSM areas (these calculations can be time consuming).
|
CustomNamer |
customNamer
A custom OSM namer to use.
|
static double |
DEFAULT_SUBWAY_ACCESS_TIME |
S3BucketConfig |
elevationBucket
If specified, download NED elevation tiles from the given AWS S3 bucket.
|
boolean |
embedRouterConfig
Embed the Router config in the graph, which allows it to be sent to a server fully configured over the wire.
|
FareServiceFactory |
fareServiceFactory
A specific fares service to use.
|
boolean |
fetchElevationUS
Download US NED elevation data and apply it to the graph.
|
boolean |
htmlAnnotations
Generates nice HTML report of Graph errors/warnings (annotations).
|
boolean |
matchBusRoutesToStreets
Based on GTFS shape data, guess which OSM streets each bus runs on to improve stop linking.
|
int |
maxHtmlAnnotationsPerFile
If number of annotations is larger then specified number annotations will be split in multiple files.
|
int |
maxInterlineDistance
Maximal distance between stops in meters that will connect consecutive trips that are made with same vehicle
|
boolean |
parentStopLinking
Link GTFS stops to their parent stops.
|
boolean |
staticBikeParkAndRide
Whether we should create bike P+R stations from OSM data.
|
boolean |
staticBikeRental
Whether bike rental stations should be loaded from OSM, rather than periodically dynamically pulled from APIs.
|
boolean |
staticParkAndRide
Whether we should create car P+R stations from OSM data.
|
boolean |
stationTransfers
Create direct transfers between the constituent stops of each parent station.
|
boolean |
streets
Include street input files (OSM/PBF).
|
double |
subwayAccessTime
Minutes necessary to reach stops served by trips on routes of route_type=1 (subway) from the street.
|
boolean |
transit
Include all transit input files (GTFS) from scanned directory.
|
boolean |
useTransfersTxt
Create direct transfer edges from transfers.txt in GTFS, instead of based on distance.
|
Constructor and Description |
---|
GraphBuilderParameters(com.fasterxml.jackson.databind.JsonNode config)
Set all parameters from the given Jackson JSON tree, applying defaults.
|
public static double DEFAULT_SUBWAY_ACCESS_TIME
public final boolean htmlAnnotations
public final int maxHtmlAnnotationsPerFile
public final boolean transit
public final boolean useTransfersTxt
public final boolean parentStopLinking
public final boolean stationTransfers
public final double subwayAccessTime
public final boolean streets
public final boolean embedRouterConfig
public final boolean areaVisibility
public final boolean matchBusRoutesToStreets
public final boolean fetchElevationUS
public final S3BucketConfig elevationBucket
public final FareServiceFactory fareServiceFactory
public final CustomNamer customNamer
public boolean staticBikeRental
public boolean staticParkAndRide
public boolean staticBikeParkAndRide
public int maxInterlineDistance
public GraphBuilderParameters(com.fasterxml.jackson.databind.JsonNode config)
Copyright © 2016. All rights reserved.