Welcome to the Cosmic Fileserver

Stacks Image 26
Adding web maps to Joe Earth©


The instructions are tricky, but with a bit of practice you can turn out some cool shit with TileMill and your mac!
First download the maps that you are interested in from download.geofabrik.de/osm/
/usr/local/pgsql/bin/createdb -U postgres arabian_gulf
/usr/local/pgsql/bin/psql -U postgres -d arabian_gulf -f /usr/local/pgsql/share/contrib/postgis-1.5/postgis.sql
/usr/local/pgsql/bin/psql -U postgres -d arabian_gulf -f /usr/local/pgsql/share/contrib/postgis-1.5/spatial_ref_sys.sql
mv scotland.mml arabian_gulf.mml
bzcat ~/Desktop/gcc_states.osm.bz2 | osm2pgsql --user postgres -d bahrain -S /usr/local/share/osm2pgsql/default.style -
Fire up TileMill and let it rip! Remember to change the names of the country to reflect what you are working on.
It's really nice of Neil (O'Dell) to fuck that old lady for us.
"Mr. Joe Earth", London UK