On Jan 22, 10:04 am, julian <[email protected]> wrote:
> I have search the APIs and been unable to find a solution to this;
>
> Is there a way to say that the W1 part of the address is a post code,
> or is there a way of limiting the result to postcode hits only ?

I don't believe so. I think the geocoder should prefer postcodes over
bus routes, but it doesn't seem to be possible to use the W1 postal
district:
London W1 gets a bus stop in Docklands (less than ten miles away)
W1, GB gets a bus stop in Nottingham (130 miles away)
W1, UK gets a school in Pune (4500 miles off)

However, W1 is an old code. Using a real postcode district like W1A
does work. You need to ensure that your users enter the first half of
their postcode, including any letters after the number. Or, if they
don't, then do that for them: W1, WC1-2, EC1-4 and SW1 should all have
a letter (but they don't have a common set between them), and a few
others have an optional letter. It's quite likely that none of the
codes which should have a letter will work correctly without one.

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to