Hi Mark
 
Give this method a try:
 
http://www.uk-postcodes.com/latlng/{lat},{lng} 
<http://www.uk-postcodes.com/latlng/{lat},{lng}> 
 
Should do what you want it to do :)
 
Cheers
 
Stuart Harrison 
Webmaster 
Lichfield District Council 
www.lichfielddc.gov.uk <http://www.lichfielddc.gov.uk/>  
 
Tel: 01543 308779 
Twitter: http://twitter.com/pezholio <http://twitter.com/pezholio>  
LinkedIn: http://www.linkedin.com/in/pezholio 

________________________________

From: [email protected] on behalf of Mark Goodge
Sent: Thu 4/8/2010 4:22 PM
To: [email protected]
Subject: Re: [mySociety:public] UK Postcodes and a teensy favour



On 08/04/2010 15:58, Harrison, Stuart wrote:
> Hi all,
>
> Some of you may be aware that I've put together a web service that used
> the recently-released CodepointOpen data from Ordnance Survey. In a
> nutshell it returns lat/lng and local authority data (as well as a few
> other bits and bobs) in a number of formats (html, xml, json, csv, rdf
> etc) eg:
>
> http://www.uk-postcodes.com/postcode/WS136YY.xml

Nice. On a slightly related note, is there any published database or API
that allows me to get from either a latitude/longitude or OS grid
reference to local authority names, without needing to know the postcode
first?

(I know it could be done indirectly by finding the nearest postcode to a
point and then looking up the postcode in CodePoint, but that's not
always going to be reliable near authority boundaries).

Mark

_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public



This e-mail and any attachment(s), is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
addressee, dissemination, copying or use of this e-mail or any of its content 
is prohibited and may be unlawful. If you are not the intended recipient please 
inform the sender immediately and destroy the e-mail, any attachment(s) and any 
copies. All liability for viruses is excluded to the fullest extent permitted 
by law. It is your responsibility to scan or otherwise check this email and any 
attachment(s). Unless otherwise stated (i) views expressed in this message are 
those of the individual sender (ii) no contract may be construed by this e-mail.
Emails may be monitored and you are taken to consent to this monitoring.
_______________________________________________
Mailing list [email protected]
Archive, settings, or unsubscribe:
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Reply via email to