HERE API autocomplete does not return Mexico City - autocomplete

HERE API autocomplete does not return Mexico City with the following request:
https://autocomplete.search.hereapi.com/v1/autocomplete?q=mexico&apikey=[myApiKey]&lang=en-US&types=city
It worked fine with the old API. Is there something wrong with my query or should I use other endpoint for searching Mexico or Mexico City in order to get the Mexico City town?

At this moment new GS7 HERE API doesn't completely covered Mexico country opposite to HERE Geocoder 6.2.
For 6.2 see please on https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
full: premium house no., street level
For GS7 see please on https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/search-local-coverage.html
Entry-level search experience

Related

Reverse GeoCode in Asia

in my flutter app I use the package here_maps_webservice (v1.0.3) for reverse-geocoding. It works very well for european addresses. But for latitudes and longitudes in China, I get just the country name: People's republic of China.
Is it not yet possible to get more details for positions in China/Asia?
Xinyu
Mobile SDK including Flutter SDK does not support for China(main land).
Please see below coverage information.
Coverage Information
https://developer.here.com/documentation/flutter-sdk-navigate/4.8.0.0/dev_guide/topics/coverage-information.html
Places and Search / Geocoding / Reverse Geocoding
https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/search-local-coverage.html

If watson can return country code according to country name?

I have enabled watson assist sys-location entity, I want to get the country code when I enter country name, for example, after I entered Japan, then watson can recognize it and response JP to me, enter China then return CN, is that possible? thanks.
Watson Assistant does not return such a value by default, but you could use server actions or your app to look up those values. As an example, create a Cloud Function action to search in a list or database for the country code.
https://console.bluemix.net/docs/services/conversation/dialog-actions.html#dialog-actions
No it cant be done automatically.What you can do is train Watson entity with country codes.Its better way than searching in database.

facebook places API change city language

I have a question about the Facebook Places API:
https://graph.facebook.com/v2.10/search?type=place
Does anyone know how to get the city name in a different language from Facebook?
If I use a locale in the request, then I still get the english version of the city in the location object:
e.g.
https://graph.facebook.com/v2.10/search?type=place&limit=10&fields=name,category_list,location,phone,website,city&locale=de_DE&q=Petersdom
city is always "Rome". But with the locale "de_DE" it should be "Rom".
Does anyone have experience with it?
thanks

Get country domain code

I have an app that I am making a basic built-in web browser for with pre-populated bookmarks.
But I want to get the country domain code of the device for example .com, .uk, .de etc. Is this possible?
I know how to get the country code using NSLocale but that gives GB instead of uk.
Use a if.
The country codes are defined in ISO-3166, and match the country code top level domains. The only exception is the United Kingdom, whose ISO-3166 is GB, but it keeps using the .uk domain defined before ISO-3166 was written.

how to get country location on Google Map in iphone using Country name only?

In my iphone application i have integrated Google Map.I want to show the country location on Google map using only country Name Only.(Not needed to use its latitude and longitude).The input only will be the country name?(i.e India) to the google Map and Map will locate it with indicate pinpoint.
Is it possible to locate the country using the country name in google Map?
Is any body has any solutuion or code snippet or any useful link,which would be appreciated.
Thanks,
Mishal Shah
There is no geocoder in the iPhone SDK at this time. You'll have to use a library likes http://developers.cloudmade.com/wiki/iphone-api/Geocoding_iPhone_example or call Google geocoder API, Yahoo etc.