Getting the Shape Points of a Route
With the fetchRouteShape operation you can retrieve the shape points of each route segment of a calculated route. The shape points represent the route's geometry.
General structure of the operation in the WSDL file of the Map24 Routing Service:
... <message name="fetchRouteShapeRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="FetchRouteShapeRequest" type="tns:FetchRouteShapeRequest" /> </message> <message name="fetchRouteShapeResponse" > <part name="FetchRouteShapeResponse" type="tns:FetchRouteShapeResponse" /> </message> ... <portType name="Map24RoutingPortType" > <operation name="fetchRouteShape" > <input message="tns:fetchRouteShapeRequest" /> <output message="tns:fetchRouteShapeResponse" /> </operation> ... </portType> ...
Request
FetchRouteShapeRequest contains the parameters of a fetchRouteShape operation. You must specify the RouteID in the request to identify the route on the server.

Response
The response contains the coordinates of all shape points of the route.

| Fields |
Description |
| ResponseHeader |
The information that was given in the RequestHeader of the request. |
| RouteID |
The ID of the route for which the coordinates are returned. |
| Coordinates |
The shape points of the route. An array of Longitudes and an array of Latitudes. The values in these arrays are separated with a pipe symbol ( | ). |
Examples
An example SOAP request is provided here.
|