public final class GetTravelBoundaryRequest extends Object implements Serializable
TimeUnit and LinearUnit should always be null.| Modifier and Type | Class and Description |
|---|---|
static class |
GetTravelBoundaryRequest.Builder
Builder class to create
GetTravelBoundaryRequest object. |
| Modifier and Type | Method and Description |
|---|---|
Map<RoadType,Double> |
getAmbientSpeeds()
Returns the Ambient speeds for each road type.
|
VelocityUnit |
getAmbientSpeedUnit()
Returns the Ambient Speed Unit which is being used for this request.
|
BandingStyle |
getBandingStyle()
Returns the
BandingStyle associated with this request. |
double[] |
getCosts()
Returns costs associated with this request.
|
String |
getDBResource()
Returns the name of Database resource which is being used to run this request.
|
double |
getDefaultAmbientSpeed()
Returns default Ambient Speed being used for this request.
|
double |
getDefaultPropagationFactor()
Returns the propagation factor used in the calculation of the iso.
|
CoordSys |
getDestinationSrs()
Returns the Destination Coordinate System associated with this request.
|
HistoricSpeedBucket |
getHistoricSpeedBucket()
Returns the Historic Traffic time bucket used with this request.
|
LinearUnit |
getLinearUnit()
Returns the Linear Unit for IsoDistance request.
|
double |
getMaxOffRoadDistance()
Returns the maximum Off-Road Distance associated with this request.
|
LinearUnit |
getMaxOffRoadDistanceUnit()
Returns the maximum Off-Road Distance Unit associated with this request.
|
IPoint |
getPoint()
Returns the point for which this request was created.
|
Map<RoadType,Double> |
getPropagationFactorOverride()
Returns the map of
RoadType that have overridden propagation factors
and the corresponding propagationFactor value. |
double |
getSimplificationFactor()
Returns the Simplification Factor associated with this request.
|
TimeUnit |
getTimeUnit()
Returns the Time Unit for IsoChrone request.
|
boolean |
isAvoidTollRd()
This method returns whether avoid toll road option is set or not.
|
boolean |
isMajorRoads()
Returns whether boundary is calculated using only major roads only or not.
|
boolean |
isReturnHoles()
Returns whether holes are returned while processing this request.
|
boolean |
isReturnIslands()
Returns whether islands are returned while processing this request.
|
public IPoint getPoint()
IPoint, the point for which this request was created.public TimeUnit getTimeUnit()
TimeUnitpublic LinearUnit getLinearUnit()
LinearUnitpublic double[] getCosts()
public double getMaxOffRoadDistance()
public LinearUnit getMaxOffRoadDistanceUnit()
LinearUnit used as maxOffRoadDistanceUnit.public boolean isReturnHoles()
public boolean isReturnIslands()
public double getSimplificationFactor()
public boolean isMajorRoads()
public CoordSys getDestinationSrs()
CoordSys, Destination Coordinate System for response.public HistoricSpeedBucket getHistoricSpeedBucket()
HistoricSpeedBucket to be used while processing the request.public BandingStyle getBandingStyle()
BandingStyle associated with this request.BandingStyle associated with this request.public Map<RoadType,Double> getAmbientSpeeds()
Map of Ambient speed road types.public double getDefaultAmbientSpeed()
public VelocityUnit getAmbientSpeedUnit()
Velocity being used for this request.public String getDBResource()
public double getDefaultPropagationFactor()
public Map<RoadType,Double> getPropagationFactorOverride()
RoadType that have overridden propagation factors
and the corresponding propagationFactor value.
Propagation factor applies only to isodistances, i.e. an iso with
a distance unit.public boolean isAvoidTollRd()