Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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
css
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
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
geohash.php Add Geohash class
index.php Make code portable
json.php
jsonwrapper.php Updating code to reflect live site state
jsonwrapper_inner.php
kml.php Make code portable
map.png
microformats.png
php.php
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
rdf.php Make code portable
result.php Make code portable
style.css Updating code to reflect live site state
xml.php
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.