Search code examples
geolocationgeospatialgeocodinghere-api

Here API states that I cannot store results. So how can I use it for address validation/completion?


I've been testing out the Freemium HERE API and just had a deeper look at the FAQs and Docs.

From the pricing plan page, it states the following:

Storing results from geocodes is not allowed for Location Services products

So how can this API possibly be used for address validation / completion? For example, a user enters a misspelled address / zipcode into a web form on my online store. I now have a dirty customer record. Am I prohibited from using the API to autocorrect the address? e.g. from 12 Main Street, Nwe Yrk to 12 Main Street, New York, 90210


Solution

  • Actually, one of the purposes of the geocoder autocomplete API is to autocorrect addresses:

    https://developer.here.com/documentation/geocoder-autocomplete/topics/quick-start-get-suggestions.html.

    You can readily use this API in your web form to get address suggestions while the user types. In this case the user always enters/chooses the right address and you are of course free to store this in your database. What you are not allowed to do is to store the whole response/results (detailed map information about locations in the response or in the case of batch geocoder, the results zip file) for offline use.