shape Method

Retrieve a shape (the path traveled by a transit vehicle) by id.

Example Request

Example Response

Request Parameters

  • id - the shape id, encoded directly in the URL:
    •[ID GOES HERE].xml


The path is returned as a <shape/> element with a points in the encoded polyline format defined for Google Maps.