![]() Instead of receiving the results in the response back, we'll get a location ID that we use in the second step where we make an Asynchronous Batch Download request, which is where we would finally get the result of our search. The first step we would make an Asynchronous Batch Submission where we provide a list of queries from the Search API. To support this, asynchronous batching is a two-step process. We would make a request which includes anywhere from 1-100 batchItems from any of our Search API and then we'll get a response with our results.Īsynchronous searches are used if we want to make large amounts of batch requests (up to 10,000) and don't need the results immediately or all at once. Synchronous searches are great for smaller quick searches where we want to batch 100 or less requests. Which one you use largely depends on your use-case. In the TomTom API we can do Batch Search either asynchronously or synchronously. The final type of geocoding that you may read about in developer documentation is batch geocoding.īatch geocoding is the act of sending multiple geocoding locations as a single API request. An example usage mentioned in the documentation is that it is helpful in tracking applications where you receive a GPS feed (from a device or an asset) and wish to know the position and address information of the nearest intersection/crossroad to its initial position. ![]() By using the given geocode, this endpoint will return the nearest cross-street. This can be commonly seen when trying to use a popular navigating app, like TomTom Go Mobile, an app that provides user more information about a coordinate that they have selected by using TomTom's Reverse Geocode API.Īnother option that the TomTom API provides is CrossStreet Lookup. One use for reverse geocoding is finding out more about the actual address of a geocode coordinate that a user has selected on their GPS. We no longer need to know how physical addresses are ordered rather, we can keep track of coordinate points, which we can then easily convert to locations that we are interested in. It is this conversion from a coordinate to a human understandable that makes geocoding useful for location-based applications. In addition to geocoding - turning an address or description into coordinates - we also have the concept of reverse geocoding where we take GPS coordinates and then return a physical address or description of a POI in that location.
0 Comments
Leave a Reply. |