Skip to content

Getting started: SOFTWARE

nvkelso edited this page Jan 23, 2012 · 29 revisions

Install software

  • Python 2.6+ (might need to upgrade the default version that ships with Mac OS X)
  • PostGIS (a nasty install process, required to give TileStache a shapefile after “importing” it into PostGIS).
  • TileStache (has some dependencies)
  •   sudo easy_install modestmaps
    
  •   sudo easy_install werkzeug
    
  • Mapnik (easy Mac installer)
  • TileMill (generate MBTiles, needs TileStream node.js server to serve them to a normal Z/X/Y.ext image end point, works with SHP files as long as they are in a ZIP archive).

NOTE: All of the instructions below assume you’ve generalized your map data to work at less detailed zoom levels (the lines aren’t too detailed, your file size goes down > super fast download) like: MapShaper.org

If you don't have PostGIS or the rest of the open gis stack installed, check out ultimate osx geo install guide by @tokumine. For the Mac, you'll want to download most packages from KingChaos.

Tutorials: http://www.bostongis.com/pgsql2shp_shp2pgsql_quickguide.bqg

Clone this wiki locally