Here maps geocode wrong postal codes for Israel - here-api

I've just started checking the Here Geocode API and it looks really nice, although I experience an issue with postal codes for Israel: instead of 7-digits codes, it returns only 5 digits.
Tried it via REST:
https://geocoder.api.here.com/6.2/geocode.json?app_id=YOUR_APP_ID&app_code=YOUR_APP_CODE&searchtext=הרצל+50+חיפה
returns postal code 33211
while the actual postal code, according to Israel Post website is 3321103
Is this the API problem or do I miss something?

HERE Map currently supports postal codes for Israel is 5 digits.
So the response postal code of geocoder API for Israel will be return only 5 digits.

Related

HERE Geocoding API not returning 9 digit zip code for US Address

I'm using HERE maps Geocoding API for address normalization. Geocoding API always returning 5 digit zip code as response for US address and I'm looking for 9 digit zip codes. I couldn't find any related information in documentation.
Does HERE maps Geocoding API have this capability? If yes, how to achieve this?
Any help on this is appreciated.
What about calls to
https://geocode.search.hereapi.com/v1/geocode?q=ADDRESS#########&apiKey=KEY#########
or
https://geocode.search.hereapi.com/v1/geocode?q=ADDRESS##########&additionaldata=IncludeZipAddOn,true&apiKey=KEY##########
I'm still just getting 5 digit zips back from there.

Some postcode searches returning inaccurate results

I'm using the Here Geocoder API using free-form input and getting random results when searching for postcodes in the Isle of Man.
I haven't tried all postcodes but the couple I have tested (from customer complaints) do appear to have a problem.
You can test the postcodes on the examples page and see the response yourself - https://developer.here.com/api-explorer/rest/geocoder
When searching for the postcode IM4 4LH the response returns an address for IP4 4LH but if you search for IM4 4 you get the right general area.
Another example is if you search for IM5 1HD you get the right response but if you search for IM51HD you instead get a response with IP5 1HD as the postcode.
IM4 4LH & IM5 1HD are legitimate postcode areas so I was wondering if there is something else we can do to more accurately target postcodes.
I know results could be more accurate with more search data but I would have thought a postcode on it's own would be more than enough.
Any help would be appreciated.
Thanks,
Jason
In the core map for United Kingdom and for Isle of Man only sector postal codes are available. E.g. " IM5 1".
The Geocoder additionally uses an extra product which provides the full postal codes (seven digits). Until last quarter they were covering only United Kingdom. E.g. postal code " IP5 1HD" is coming from these products.
Starting from this quarter it will cover also Isle of Man. This still need to be integrated into the Geocoder database. As soon as we are done, full postal codes will also be available for Isle of Man.
We work on it but cannot yet commit on a timeline.

bbox not restrict search results

I'm reviewing HERE API, and I can't figure this issue:
I'm interesting in Geocoder API, and I tried the following query:
http://geocoder.cit.api.here.com/6.2/geocode.json?
&app_id=***
&app_code=***
&searchtext=london
&bbox=41.9085286,-87.6762943;41.8682739,-87.6041965
&gen=8
The bonding box I defined is around Chicago USA, so I expect to get no results.
But the response contains London information and I cant figure why.
I read in this question that If I use the landmark request the bbox is not always taken into consideration.
But here i'm using geocode requirest.
The geocoder does include prominent results (like London in this case) in the response in case of bbox, maybe you can use country as an additional filter ?

Using Google Maps API to geocode NYC high schools by BN code

I am trying to geocode NYC high schools by using the Maps Geocoding API and the unique BN code assigned to each high school. For example, typing K733 into Google Maps results in a marker on MESA Charter High School in Brooklyn, NY. However, when I use the API url like so:
https://maps.googleapis.com/maps/api/geocode/json?address=K733
I keep getting "ZERO_RESULTS". I've also tried using the Places API and I've gotten the same results. Can anyone point me in the right direction? Is it even possible to pull this information from Google Maps?
It not possible to use unique BN codes for Maps Geocoding API because the address component requires postal address
address — The street address that you want to geocode, in the format
used by the national postal service of the country concerned.
Additional address elements such as business names and unit, suite or
floor numbers should be avoided. Please refer to the FAQ for
additional guidance.

Google Maps API v3 street address vs city, zip

I am using Google Maps API v3 Distance. It has worked well for the majority of the addresses in my database. However, it seems like some addresses just aren't available in Google Maps, and it seems to pick the closest street address match which could be way off. I would expect Google Maps in this case to provide an answer based on city and zip. Does anyone have a solution? I've thought of double checking mathematically by geocode and checking Yahoo maps(or other sites) for the ones that are way off but that adds processing time and is not a very elegant solution. There must be some setting I'm missing or other such work around.
Thanks!
BTW shout out to the new Json Serializer! Well it was new to me anyways.
How are you formatting the address you are sending ?
I've used the Google Maps API to do some reverse geocoding and if a street could not be found (due to a typo or what have you) Google would return the lat lng for the historic town center.
I structured addresses as Country, city cityzip, street nr.
You should use the location_type of the geometry object to determine what accuracy was returned. I suggest checking to see if the returned resulsts indicate whether a result is anything other than ROOFTOP or RANGE_INTERPOLATED.

Resources