theodi / uk-postcodes

MIT License
41 stars 17 forks source link

Different easting/northing grid for Ireland #38

Open agjmills opened 9 years ago

agjmills commented 9 years ago

Northern Ireland has a completly different easting/northing grid system, making them completly incompatible with the rest of the UK.

http://en.wikipedia.org/wiki/Irish_grid_reference_system#Eastings_and_northings

For example:

This postcode [Belfast] http://www.uk-postcodes.com/postcode/BT155EG.html

Is apparently around 50metres away from this postcode [Cheshire] http://www.uk-postcodes.com/postcode/CH642UZ.html

agjmills commented 9 years ago

In particular, it's a problem with the JSON that is returned, as there is no way to determine whether the easting/northing data is in the Irish Grid or not, whereas the HTML one tells you