Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Branch: master
Failed to load latest commit information.
JSON Updating code to reflect live site state
css Updating code to reflect live site state
js Updating code to reflect live site state
leaflet Updating code to reflect live site state
.htaccess Make code portable
404.php Make code portable
README First commit
alternative.php Make code portable
api.php Added Edd Robinson's Python Client to helper libraries list
apps.php Make code portable
csv.php Make code portable
db.php.example Added Edd Robinson's Python Client to helper libraries list
detect.php Make code portable
distance.php Explicitly close database connection, rather than waiting for connect…
eastingnorthing.php Updating code to reflect live site state
geohash.php Add Geohash class
index.php Make code portable
json.php Make code portable
jsonwrapper.php Updating code to reflect live site state
jsonwrapper_inner.php Updating code to reflect live site state
kml.php Make code portable
map.png Updating code to reflect live site state
microformats.png Updating code to reflect live site state
php.php Make code portable
phpcoord-2.3.php First commit
postcode.php Calculate Geohash, rather than get it from the web service
postcode2.php Make code portable
postcodes.sql.gz Adding Gzipped copy of database
rdf.php Make code portable
result.php Make code portable
style.css Updating code to reflect live site state
xml.php Make code portable
xmlparse.php First commit

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.
Something went wrong with that request. Please try again.