|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides geo routing services.
A route denotes the complete itinerary from start to end. A part is a fragment of the itenary between two stops, a segment> is a fragment of a path that follows a street or road. GEO ROUTING IS ONLY FUNCTIONAL IF AN IGS WITH ADDITIONAL GEO-SERVICES IS INSTALLED.
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Method Summary | |
void |
addProperty(String name,
String value)
Adds a property to the route. |
void |
addStop(String id,
String description,
WDGeoPosition wdPosition)
Adds a stop to the route, e.g. the start or end. |
void |
addStop(WDGeoRouterStop wdStop)
Adds a stop to the route, e.g. the start or end. |
void |
clearAll()
Clears all paramters of the geo router. |
void |
execute()
Calculates the route. |
String |
getErrors()
Returns any errors that occured during the processing of the route. |
WDGeoBorder |
getPartBorder(int partIndex)
Returns the geo border of a part. |
int |
getPartCount()
Returns the part count of the route, usually the number of stops minus one. |
String |
getPartDescription(int partIndex)
Returns the description of a part in the language determined by setLanguage. |
double |
getPartDistance(int partIndex)
Returns the distance of a part. |
double |
getPartDuration(int partIndex)
Returns the duration of a part. |
List |
getPartPath(int partIndex)
Returns the path of WDGeoPositions of a part. |
WDGeoBorder |
getRouteBorder()
Returns the border of the whole route. |
String |
getRouteDescription()
Returns the description of the whole route. |
double |
getRouteDistance()
Returns the distance of the whole route. |
double |
getRouteDuration()
Returns the duration of the whole route. |
List |
getRoutePath()
Returns the path of WDGeoPositions of the whole route. |
int |
getSegmentCount(int partIndex)
Returns the number of segments of a part. |
String |
getSegmentDescription(int partIndex,
int segmentIndex)
Returns the description of a segment in the language determined by setLanguage. |
double |
getSegmentDistance(int partIndex,
int segmentIndex)
Returns the distance of a segment. |
double |
getSegmentDuration(int partIndex,
int segmentIndex)
Returns the duration of a segment. |
List |
getSegmentPath(int partIndex,
int segmentIndex)
Returns the path of WDGeoPositions of a segment. |
void |
setIgsUrl(URL igsURL)
Set the URL of the IGS that provides the GIS services |
void |
setLanguage(String language)
Sets the desired language for descriptions. |
void |
setQuickest()
Calculate the quickest route. |
void |
setShortest()
Calculate the shortest route. |
| Method Detail |
public void setIgsUrl(URL igsURL)
public void clearAll()
public void execute()
public String getErrors()
public void addStop(String id,
String description,
WDGeoPosition wdPosition)
public void addStop(WDGeoRouterStop wdStop)
public void addProperty(String name,
String value)
public void setQuickest()
public void setShortest()
public void setLanguage(String language)
public int getPartCount()
public WDGeoBorder getPartBorder(int partIndex)
public double getPartDistance(int partIndex)
public double getPartDuration(int partIndex)
public String getPartDescription(int partIndex)
setLanguage(java.lang.String)public List getPartPath(int partIndex)
public int getSegmentCount(int partIndex)
public double getSegmentDistance(int partIndex,
int segmentIndex)
public double getSegmentDuration(int partIndex,
int segmentIndex)
public String getSegmentDescription(int partIndex,
int segmentIndex)
setLanguage(java.lang.String)
public List getSegmentPath(int partIndex,
int segmentIndex)
public WDGeoBorder getRouteBorder()
public double getRouteDistance()
public double getRouteDuration()
public String getRouteDescription()
getPartDescription(int)public List getRoutePath()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||