Package | Description |
---|---|
org.opentripplanner.analyst | |
org.opentripplanner.api.model | |
org.opentripplanner.profile |
Modifier and Type | Field and Description |
---|---|
PointSet |
SampleSet.pset |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,PointSet> |
PointSetCache.pointSets |
Modifier and Type | Method and Description |
---|---|
static PointSet |
PointSet.fromCsv(File filename)
Rather than trying to load anything any everything, we stick to a strict
format and rely on other tools to get the data into the correct format.
|
static PointSet |
PointSet.fromGeoJson(File filename) |
static PointSet |
PointSet.fromShapefile(File file) |
static PointSet |
PointSet.fromShapefile(File file,
String originIDField,
List<String> propertyFields) |
PointSet |
PointSetCache.get(String pointSetId) |
PointSet |
DiskBackedPointSetCache.PointSetLoader.load(String pointSetId) |
PointSet |
DiskBackedPointSetCache.PointSetLoader.loadFromFile(File pointSetData) |
static PointSet |
PointSet.regularGrid(org.locationtech.jts.geom.Envelope envelope,
double gridSizeMeters) |
PointSet |
PointSet.slice(int start,
int end) |
PointSet |
PointSet.slice(List<String> ids)
Get a subset of this point set containing only the specified point IDs.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Histogram> |
Histogram.buildAll(int[] times,
PointSet targets) |
protected void |
ResultSetDelta.buildDeltaHistograms(PointSet targets) |
protected void |
ResultSet.buildHistograms(int[] times,
PointSet targets)
Given an array of travel times to reach each point in the supplied pointset, make a histogram of
travel times to reach each separate category of points (i.e.
|
void |
ResultSet.writeJson(OutputStream output,
PointSet ps)
Serialize this ResultSet to the given output stream as a JSON document.
|
Constructor and Description |
---|
ResultSet(int[] times,
PointSet targets,
boolean includeTimes,
boolean includeHistograms,
boolean includeIsochrones)
Build a new ResultSet directly from times at point features, optionally including histograms or interpolating isochrones
|
SampleSet(PointSet pset,
SampleFactory sfac) |
Modifier and Type | Method and Description |
---|---|
static List<PointSetShort> |
PointSetShort.list(Map<String,PointSet> in) |
Constructor and Description |
---|
PointSetShort(String id,
PointSet pointSet) |
Modifier and Type | Method and Description |
---|---|
static ZSampleGrid |
IsochroneGenerator.makeGrid(PointSet pointSet,
int[] times,
double walkSpeed)
Make a ZSampleGrid from a PointSet and a parallel array of travel times for that PointSet.
|
ResultEnvelope |
TNPropagatedTimesStore.makeResults(PointSet pointSet,
boolean includeTimes,
boolean includeHistograms,
boolean includeIsochrones)
Make a ResultEnvelope directly from a given SampleSet.
|
Copyright © 2019. All rights reserved.