Re: specifying geocode address types
The problem is that there is no longer a postcode "W1".
"SW2" is a postcode region, and so is "W2" but the old W1 area got
merged with bits of the old W2 and W14 and then got split into "W1A",
"W1C", "W1F", etc.
You can't geocode the "W1" part of "W1A" in the same way that you can't
geocode the "SW" part of "SW2".
The same thing happens with "WC1", "WC2", "EC1", "EC2", "EC3" and "EC4"
they're not postcodes and the Google geocoder doesn't recognise them.
If you can't persuade your users to input valid postcodes, then you'd
need to test for those seven special cases (I think that's a complete
list) and handle them yourself.
--
Mike Williams
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home