public class RouterInfo extends Object
Modifier and Type | Field and Description |
---|---|
Date |
buildTime |
double |
centerLatitude |
double |
centerLongitude |
boolean |
hasParkRide |
org.locationtech.jts.geom.Geometry |
polygon |
String |
routerId |
HashSet<TraverseMode> |
transitModes |
long |
transitServiceEnds |
long |
transitServiceStarts |
List<TravelOption> |
travelOptions |
Constructor and Description |
---|
RouterInfo(String routerId,
Graph graph) |
Modifier and Type | Method and Description |
---|---|
void |
addCenter(Optional<org.locationtech.jts.geom.Coordinate> center)
Set center coordinate from transit center in
Graph.calculateTransitCenter() if transit is used
or as mean coordinate if not
It is first called when OSM is loaded. |
boolean |
getHasBikePark() |
boolean |
getHasBikeSharing() |
double |
getLowerLeftLatitude() |
double |
getLowerLeftLongitude() |
double |
getUpperRightLatitude() |
double |
getUpperRightLongitude() |
public String routerId
public org.locationtech.jts.geom.Geometry polygon
public Date buildTime
public long transitServiceStarts
public long transitServiceEnds
public HashSet<TraverseMode> transitModes
public double centerLatitude
public double centerLongitude
public boolean hasParkRide
public List<TravelOption> travelOptions
public boolean getHasBikeSharing()
public boolean getHasBikePark()
public void addCenter(Optional<org.locationtech.jts.geom.Coordinate> center)
Graph.calculateTransitCenter()
if transit is used
or as mean coordinate if not
It is first called when OSM is loaded. Then after transit data is loaded.
So that center is set in all combinations of street and transit loading.center
- public double getLowerLeftLatitude()
public double getLowerLeftLongitude()
public double getUpperRightLatitude()
public double getUpperRightLongitude()
Copyright © 2019. All rights reserved.