Closed (works as designed)
Project:
OpenLayers Geocoder
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2011 at 10:14 UTC
Updated:
13 Jul 2012 at 11:10 UTC
[postal_code] doesn't work for addresses in the netherlands
Why is this? And can I help to debug/fix it?
Comments
Comment #1
steinmb commentedDid a quick test, but I do not think it is only related to your country. Do you mind testing a few other country's as well?
Comment #2
open social commentedI am sorry, I moved on to more custom solutions for mapping and geocoding.
I think the reason for the bug is that google simply does not send it while geocoding.
The main problem is this:
A zipcode in the netherlands can consist of numbers and two letters like: 3924 HG
When using the google geocoding the letters aren't in the return object.
Comment #3
steinmb commentedThat is OK, I'm cleaning up old issues trying getting the module a bit more up2date.
I did a few manual tests against maps.google.com and I think you are right. Google return [postal_code_prefix] if I search for
Oudezijds Voorburgwal 197 1012 EX, Amsterdam, Netherlandshttp://maps.google.no/maps/api/geocode/json?address=Oudezijds%2BVoorburg...
Result from maps.google.com
Comment #4
steinmb commented