An API for Codepoint Open. Shows the Latitude, Longitude, Easting, Northing and Local Authority details (county, district, ward) for a given point. Also shows nearest postcodes to a postcode and allows reverse geocoding (lat/lng to postcode)
PHP CSS
Permalink
Failed to load latest commit information.
JSON
css
js Updating code to reflect live site state Jun 12, 2012
leaflet Updating code to reflect live site state Jun 12, 2012
.htaccess Make code portable Nov 3, 2012
404.php Make code portable Nov 3, 2012
README
alternative.php Make code portable Nov 3, 2012
api.php Added Edd Robinson's Python Client to helper libraries list Nov 18, 2012
apps.php Make code portable Nov 3, 2012
csv.php Make code portable Nov 3, 2012
db.php.example Added Edd Robinson's Python Client to helper libraries list Nov 18, 2012
detect.php Make code portable Nov 3, 2012
distance.php Explicitly close database connection, rather than waiting for connect… Jun 22, 2012
eastingnorthing.php Updating code to reflect live site state Jun 12, 2012
geohash.php Add Geohash class Nov 21, 2013
index.php Make code portable Nov 3, 2012
json.php Make code portable Nov 3, 2012
jsonwrapper.php
jsonwrapper_inner.php
kml.php
map.png
microformats.png Updating code to reflect live site state Jun 12, 2012
php.php Make code portable Nov 3, 2012
phpcoord-2.3.php First commit Apr 9, 2010
postcode.php Calculate Geohash, rather than get it from the web service Nov 21, 2013
postcode2.php Make code portable Nov 3, 2012
postcodes.sql.gz Adding Gzipped copy of database Jun 12, 2012
rdf.php Make code portable Nov 3, 2012
result.php Make code portable Nov 3, 2012
style.css Updating code to reflect live site state Jun 12, 2012
xml.php Make code portable Nov 3, 2012
xmlparse.php First commit Apr 9, 2010

README

This is the code for UK Postcodes, an API for Codepoint Open. Shows the Latitude, Longitude, Easting, Northing and Local Authority details (county, district, ward) for a given point. Also shows nearest postcodes to a postcode and allows reverse geocoding (lat/lng to postcode).

Code includes Gzipped version of the whole dataset in SQL format.