Match GPS coordinates to the road network
map_match.match(MapMatchMatchParams**kwargs) -> MapMatchResult
POST/api/v1/map-match
Match GPS coordinates to the road network
Match GPS coordinates to the road network
import os
from plaza import Plaza
client = Plaza(
api_key=os.environ.get("PLAZA_API_KEY"), # This is the default and can be omitted
)
map_match_result = client.map_match.match(
trace={
"coordinates": [0],
"type": "Point",
},
)
print(map_match_result.geometry)