Wednesday, June 15, 2011

Re: [Google Maps API v2] UK Counties from postcode API

On 14 June 2011 21:20, Lee <lee@digital-interactive.com> wrote:
> Hi
>
> Is it possible to get the county from the postcode using the Google
> API?

Yes and no.

> Eg, I pass the UK postcode and it returns some general info including
> the county?

The geocoder is just that: you give it a postcode and it returns the
geographic coordinates. That's what it's designed to do, and generally
it does it quite well.

As a bonus, you do get some address information for those coordinates,
and this can include the county or Unitary Authority. That is,
Rochester is in Medway, not Kent; Brighton is not in East Sussex; and
London may give some odd results.

The best way is to try it and see what you get.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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


Real Estate