oracle.panama.spatial.traffic
Interface TrafficRoute
- public interface TrafficRoute
Represents a route in a City including both directions. The TrafficRoute
instance is service provider dependent.
interstate
public static final java.lang.String interstate
statewise
public static final java.lang.String statewise
federal
public static final java.lang.String federal
local
public static final java.lang.String local
getName
public java.lang.String getName()
- Return the name of the routes. Currently the name is defined by the service
provider.
getType
public java.lang.String getType()
- Return the type of the routes. The type values are "I" - interstate, "SR" -
in state, "US" - federal and "LOCAL".
Currently the type is ignored.
null
is retured.
getGeometryPoints
public Point[] getGeometryPoints()
- Return the geometry of the route.
- Returns:
- an array of
Point
. Return null
if the
service provider does not provide geometry.
getParentCity
public City getParentCity()
- Return the city where the route is located .