a2wd | code & design

Archive: distance a2wd

Finding the distance between postcodes

A recent project called on me to refresh my experience of working in perl. The task was to find the distance between two UK postcodes using Object-oriented Programming (OOP). The following three files make up the code: postcode.pl postcode.pm postcodes.csv The perl script, postcode.pl takes input of two postcodes (spaces aren’t important either within the […]

04 Dec 2013distance / haversine / perl / postcode

Visual Basic Coding

Converting journey times to nodes in a traffic model I had a large data set of points from a GPS device (Garmin Nuvi) which needed matching up to nodes in a traffic model. Unfortunately the points on the GPS neither occur at exact node coordinates nor do they always even fall along the actual path […]

02 Jul 2013distance / haversine / visual basic

  • Recent Posts

  • Archives