This is a webservice that allows us to map US ZIP codes to a pair of coordinates.

Usage is very simple, just query the service with a ZIP code as a parameter:


And receive the coordinates in JSON format:
<pre>
{"latitude":"34.0901000","longitude":"-118.4065000"}
</pre>
Data comes from
<a ZIP codes</a>. To build the MySQL database run the shell script. It'll download the required data, setup the database and load the data into it.

Requires PHP with PDO and JSON support.