<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>data/.gitignore</filename>
    </added>
    <added>
      <filename>data/Australia/.gitignore</filename>
    </added>
    <added>
      <filename>download.py</filename>
    </added>
    <added>
      <filename>test/test_download.py</filename>
    </added>
    <added>
      <filename>test/test_read_data.py</filename>
    </added>
    <added>
      <filename>verify_download.py</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,33 @@
-Script that imports the SRTM data in a PostGIS (PostgreSQL) database. I will use the source code of Srtm2Osm for inspiration. 
+Script that imports the SRTM data in a PostGIS (PostgreSQL) database.  
 
 http://wiki.openstreetmap.org/index.php/Route_altitude_profiles_SRTM#SRTM_import
+
+Usage:
+First run the tests that come with this script:
+
+$ cd test
+$ python test_download.py
+$ cd ..
+
+Then download the SRTM source files (635 MB):
+
+$ python download.py
+
+Verify that the download went correctly:
+
+$ python verify_download.py
+
+Unzip the files (adds 3 GB):
+$ for f in `ls *.zip`; do unzip $f; done
+
+Create a PostGIS database (you may need to change some things here depending on 
+your system):
+
+$ createdb srtm
+$ createlang plpgsql srtm
+$ psql -d srtm -f /usr/share/postgresql-8.3-postgis/lwpostgis.sql
+$ psql -d srtm -f /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql
+
+Run test script:
+$ cd test
+$ python test_read_data.py</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a74ce159f8c281f55e70fa6cb636b98b4d95994e</id>
    </parent>
  </parents>
  <author>
    <name>Sjors</name>
    <email>sjors@sprovoost.nl</email>
  </author>
  <url>http://github.com/Sjors/srtm2postgis/commit/78c7d35c14b9c4f259248e80b3eaa59e25d0c8a2</url>
  <id>78c7d35c14b9c4f259248e80b3eaa59e25d0c8a2</id>
  <committed-date>2008-05-26T00:41:06-07:00</committed-date>
  <authored-date>2008-05-26T00:41:06-07:00</authored-date>
  <message>Download Australian tiles from server. Test a few tiles.</message>
  <tree>30d94eab338e4fff9a4fe32122d5b0f95ba38b4b</tree>
  <committer>
    <name>Sjors</name>
    <email>sjors@sprovoost.nl</email>
  </committer>
</commit>
