﻿This is a command-line php script which creates UK Easting & Northing values from the lat long values. I plan to run it once a day on data.southampton.ac.uk — I know that the big local taxi firm uses Easting and Northing in their database so it might be interesting to see if I can generate a report for them which benefits our members by giving the taxi services better data.

You’ll need the latest github version of sparqllib, if you want to include the “cgiParams” line, which tells 4store to give all the results — we’ve got more than 2000 lat/long pairs, and by default we’ve set 4store to set a limit of 2000 results on queries.

As this script uses a GPL library (not LGPL), I guess that makes it GPL, although it’s just a slip of script, I’m sure other UK open data services might want to consider something similar.

**UPDATE**

It’s been pointed out to me by Yang Yang (a PhD researcher in WAIS) that it’s a bit of an antipattern to publish data derived from other people’s datasets, and there’s no real value to me in providing Easting Northing data for bus-stops and a few places in wikipedia we import. I’ve made a rather elegant solution;