Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.89 KB

HeightResponse.md

File metadata and controls

33 lines (24 loc) · 1.89 KB

HeightResponse

Properties

Name Type Description Notes
id str An identifier to disambiguate requests (echoed by the server). [optional]
shape List[Coordinate] [optional]
encoded_polyline str The input polyline. [optional]
height List[float] The list of heights for each point, in meters. Present only if `range` is `false`. Null values indicate missing data. [optional]
range_height List[List[float]] The list of ranges and heights for each point in the shape, where each entry is an array of length 2. Present only if `range` is `true`. In each pair, the first element represents the range or distance along the input locations. It is the cumulative distance along the previous coordinates in the shape up to the current coordinate. This value for the first coordinate in the shape will always be 0. The second element in the pair represents the height or elevation at the associated coordinate. The height is null if no height data exists for a given location. Both values are expressed in meters. [optional]

Example

from stadiamaps.models.height_response import HeightResponse

# TODO update the JSON string below
json = "{}"
# create an instance of HeightResponse from a JSON string
height_response_instance = HeightResponse.from_json(json)
# print the JSON string representation of the object
print(HeightResponse.to_json())

# convert the object into a dict
height_response_dict = height_response_instance.to_dict()
# create an instance of HeightResponse from a dict
height_response_from_dict = HeightResponse.from_dict(height_response_dict)

[Back to Model list] [Back to API list] [Back to README]