Impressions

PAYANT
Par Urban Algorithmics | Mise à jour vor 16 Tagen | Other
Health Check

N/A

LISEZ-MOI

The impressions_route API endpoint analyzes a single trip in a city (typically a CAR ride) and returns the number of people who can see/meet the traveler there on a typical work day (unique impressions). For the API to return the result, several conditions need to be met:

  • The trip route needs to be within a supported area. Currently: Prague and Central Bohemian Region, Czech Republic
  • The ‘route’ parameter needs to be provided. Required format is WKT linestring (https://en.wikipedia.org/wiki/Well-known_text#Geometric_objects). GPS coordinates within are in a decimal ‘LON LAT’ format. Example: LINESTRING(14.524 50.083,14.520 50.083,14.519 50.079)
  • The ‘times’ parameter needs to be provided, containing a comma-separated list of times within a day, corresponding to individual GPS locations from the ‘route’ parameter. Each time needs to conform to zero-padded, 24-hour HH:MM:SS format.
  • Times in the ‘times’ parameter must ordered from the earliest to the latest.
  • Number of times in the ‘times’ parameter needs to be the same as the number of GPS locations in the ‘route’ parameter.
  • At least two GPS locations from the ‘route’ parameter must be more than 600 meters away from each other (euclidean distance). Otherwise, the ‘error-route-too-short’ error is returned.
Abonnés : 5
Ressources :
Conditions d'utilisation
Créateur d'API :
U
Urban Algorithmics
urban-algorithmics
Connectez-vous pour évaluer l'API
Note : 5 - Votes : 1