user3052526
user3052526

Reputation: 681

Accurate Geocode Data Using Here API

Hellos,

I gave up on using Google Places due to the cost and decided to go with here geocode api. I started using Places Search API which works pretty great but does not return the lat and lng.

So my solution is as follows

  1. Get location Ids from the Search API
  2. Call the geocode api by locationId to get the lat and lng

This solution works but is obviously slow. So my question here is

  1. Is there a way to get multiple locationIds in one geocode call?
  2. Is there a better service out there that is as accurate and can return lat and lng as well?

Cheers

Upvotes: 0

Views: 259

Answers (1)

Vivek
Vivek

Reputation: 5223

Please use Autosuggest instead of Places Search API.

You can find below field in Autosuggest API

  "title": "restaurant",
  "highlightedTitle": "<b>rest</b>aurant",
  "category": "restaurant",
  "href": "https://...",
  "type": "urn:nlp-types:search",
  "resultType":"category"

Sample image enter image description here

Upvotes: 0

Related Questions