Parameters for Input

GetRouteData takes either a point latitude and longitude or a route segment ID as input. You also need to specify the route data source and coordinate system for the route data. The following table provides information on the format and layout of the input.

Table 1. GetRouteData Input Data

Parameter

Description

RouteDataPoint

The point to query to return segment information. You must specify a point which consists of a Latitude and Longitude.

RoutingSegmentID

The route segment ID to return segment information.

DataSetResourceName

The name of the database that contains the data to query for segment information. Use the database name specified in the Spectrum Spatial Routing Database Resource tool. For more information, see the Spectrum Technology Platform Administration Guide.

CoordinateSystem

The coordinate system of the input coordinates.

For more information on EPSG codes, see www.spatialreference.org. To retrieve a list of supported codespaces for EPSG, you can submit the SOAP request List Supported CoordSys by Code Space from the Geometry Service Demo page at http://<server>:<port>/Spatial/GeometryService/DemoPage.html.