Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.74 KB

MapMatchWaypoint.md

File metadata and controls

32 lines (23 loc) · 1.74 KB

MapMatchWaypoint

Properties

Name Type Description Notes
lat float The latitude of a point in the shape.
lon float The longitude of a point in the shape.
type str A `break` represents the start or end of a leg, and allows reversals. A `through` location is an intermediate waypoint that must be visited between `break`s, but at which reversals are not allowed. A `via` is similar to a `through` except that reversals are allowed. A `break_through` is similar to a `break` in that it can be the start/end of a leg, but does not allow reversals. [optional] [default to 'break']
time int The timestamp of the waypoint, in seconds. This can inform the map matching algorithm about when the point was measured. A UNIX timestamp, or any increasing integer sequence measuring seconds from some reference point can be used. [optional]

Example

from stadiamaps.models.map_match_waypoint import MapMatchWaypoint

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

# convert the object into a dict
map_match_waypoint_dict = map_match_waypoint_instance.to_dict()
# create an instance of MapMatchWaypoint from a dict
map_match_waypoint_from_dict = MapMatchWaypoint.from_dict(map_match_waypoint_dict)

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