<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Where to get postcodes and map them to distances?</title>
	<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances/</link>
	<description>Comments on Ask MetaFilter post Where to get postcodes and map them to distances?</description>
	<pubDate>Tue, 15 Mar 2005 06:08:58 -0800</pubDate>
	<lastBuildDate>Tue, 15 Mar 2005 06:08:58 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Where to get postcodes and map them to distances?</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances</link>	
		<description>I&apos;d like to store people&apos;s postcodes and work out distances between them. I think I need a postcode-to-coordinates database, and then a way of working out the distances... &lt;br /&gt;&lt;br /&gt; So, two questions really:&lt;br&gt;
&lt;br&gt;
1. Where can I get a database mapping postcodes to latitude and longitude (or some other better co-ordinate system)? Free is the best price, but not essential, and the UK is the most important place to cover, but as many as possible would be nice.&lt;br&gt;
2. Once I had such a thing, how would I go about working out the distances between postcodes with it?&lt;br&gt;
&lt;br&gt;
&lt;small&gt;PS. This is for a free project, not a business or my job or anything.&lt;/small&gt;</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.16322</guid>
		<pubDate>Tue, 15 Mar 2005 05:16:55 -0800</pubDate>
		<dc:creator>reklaw</dc:creator>
		
			<category>postcode</category>
		
			<category>database</category>
		
			<category>coordinates</category>
		
			<category>distances</category>
		
	</item> <item>
		<title>By: tomierna</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#276992</link>	
		<description>If you have lat/long, some pythagorean love should fix you right up. Two points on a grid, draw a hypotenuse.&lt;br&gt;
&lt;br&gt;
It won&apos;t be perfectly accurate due to elevation and the earth&apos;s curvature, but it should be damn close.&lt;br&gt;
&lt;br&gt;
I remember we found a free zip-lat/long db on the intarweb in about 1998, but I don&apos;t remember where. Try the USPS or USGS.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-276992</guid>
		<pubDate>Tue, 15 Mar 2005 06:08:58 -0800</pubDate>
		<dc:creator>tomierna</dc:creator>
	</item><item>
		<title>By: chota</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#276993</link>	
		<description>Sorry, can&apos;t help with the first part, but the answer to the second part of your question is:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Cartesian Coordinates.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
The system of latitude and longitude is really just a graph that&apos;s set up like a simple piece of graph paper in a high school algebra/trig class.&lt;br&gt;
&lt;br&gt;
Most people don&apos;t like learning about applied math though, so here&apos;s a link to a javascript page that will calculate the distance for you (in miles, km, and leagues):&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.wcrl.ars.usda.gov/cec/java/lat-long.htm&quot;&gt;Surface Distance Between Two Points of Latitude and Longitude&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-276993</guid>
		<pubDate>Tue, 15 Mar 2005 06:09:23 -0800</pubDate>
		<dc:creator>chota</dc:creator>
	</item><item>
		<title>By: ralawrence</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277000</link>	
		<description>&lt;a href=&quot;http://www.jibble.org/ukpostcodes/&quot;&gt;This site&lt;/a&gt; gives you a csv file of postcodes and their latitude and longitude.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277000</guid>
		<pubDate>Tue, 15 Mar 2005 06:24:20 -0800</pubDate>
		<dc:creator>ralawrence</dc:creator>
	</item><item>
		<title>By: ralawrence</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277001</link>	
		<description>Oh and &lt;a href=&quot;http://www.4guysfromrolla.com/webtech/code/2points.asp.html&quot;&gt;this site&lt;/a&gt; gives you ASP code to work out the distance. ASP is essentially a basic-like language and so it&apos;s very easy to understand what they&apos;re doing and convert it into your choice of language.&lt;br&gt;
&lt;br&gt;
Hmm, I think I might have a go at doing it myself.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277001</guid>
		<pubDate>Tue, 15 Mar 2005 06:28:12 -0800</pubDate>
		<dc:creator>ralawrence</dc:creator>
	</item><item>
		<title>By: RustyBrooks</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277027</link>	
		<description>I have a zipcode database in a format suitable for reading into a database, and I also have the math pretty much worked out, and code for it.  It&apos;s in a language most people don&apos;t use (tcl) but I could probably throw up a web page with the file, some info on the math, etc, if anyone is interested.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277027</guid>
		<pubDate>Tue, 15 Mar 2005 07:15:41 -0800</pubDate>
		<dc:creator>RustyBrooks</dc:creator>
	</item><item>
		<title>By: RustyBrooks</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277046</link>	
		<description>OK, I threw something quickly together.  Try this out:&lt;br&gt;
&lt;a href=http://www.rustybrooks.com/zipcode/howto&gt;My zipcode thingy&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
It has a CSV file, suitable for loading into excel or a database, the code (which is pretty well commented), and a quick example where you can look up some zip codes and find out how far away you are from me.&lt;br&gt;
&lt;br&gt;
Which reminds me -- mathowie must have something like this since he has something that shows how far other users are from you.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277046</guid>
		<pubDate>Tue, 15 Mar 2005 07:50:12 -0800</pubDate>
		<dc:creator>RustyBrooks</dc:creator>
	</item><item>
		<title>By: odinsdream</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277057</link>	
		<description>If I&apos;m not mistaken, I believe the metafilter version simply does things numerically. Distance is only involved in that postal codes near eachother are usually numerically close. So, since I&apos;m 27104, I&apos;m &quot;near&quot; 27100-27110, but that didn&apos;t require figuring out any physical distances.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277057</guid>
		<pubDate>Tue, 15 Mar 2005 08:10:51 -0800</pubDate>
		<dc:creator>odinsdream</dc:creator>
	</item><item>
		<title>By: RustyBrooks</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277081</link>	
		<description>Hmm.  I suppose that&apos;s possible.  He&apos;s welcome to steal my zipcodes if he feels like it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277081</guid>
		<pubDate>Tue, 15 Mar 2005 08:29:46 -0800</pubDate>
		<dc:creator>RustyBrooks</dc:creator>
	</item><item>
		<title>By: RustyBrooks</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277082</link>	
		<description>Oh and now that I read the question, I&apos;ve no idea if my database covers the UK or not.  Probably not.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277082</guid>
		<pubDate>Tue, 15 Mar 2005 08:30:16 -0800</pubDate>
		<dc:creator>RustyBrooks</dc:creator>
	</item><item>
		<title>By: neckro23</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277094</link>	
		<description>Rusty: It looks like the database only covers the US.  However, I&apos;m personally glad you posted it because I was looking for something exactly like that, so thanks!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277094</guid>
		<pubDate>Tue, 15 Mar 2005 08:44:44 -0800</pubDate>
		<dc:creator>neckro23</dc:creator>
	</item><item>
		<title>By: bachelor#3</title>
		<link>http://ask.metafilter.com/16322/Where-to-get-postcodes-and-map-them-to-distances#277309</link>	
		<description>According to &lt;a href=&quot;http://www.ncgia.ucsb.edu/education/curricula/giscc/units/u016/u016.html&quot;&gt;this page&lt;/a&gt;, the process is called georeferencing or geocoding. This might come in handy for subsequent google sessions...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.16322-277309</guid>
		<pubDate>Tue, 15 Mar 2005 13:45:07 -0800</pubDate>
		<dc:creator>bachelor#3</dc:creator>
	</item>
	</channel>
</rss>
