Skip to content
nvkelso edited this page May 31, 2012 · 114 revisions

Tile Previews

The tips and tricks here are oriented to BYOD (bring your down data) mapping and OpenStreetMap obliquely.

Presentation cartography and basic inventory mapping is the focus here. Spatial analytics is touched upon briefly but is not the main focus. This site makes assumptions that OpenSource GIS mostly means: PostGIS as a spatial data store and Mapnik as a rendering engine, a Mappy CSS styling language like Cascadenik or Carto to setup the layers and their appearance. Interactivity is briefly touched on. Actually embedding the resulting tile assets is briefly touched on.

Looking for an overview of OSM instead? Check out the Switch2osm site.

Getting started

  • Software - Install critical software and links to tutorials.

  • Data - Download OSM and Natural Earth data.

  • Example workflow - Start a project, import data, export data, create tiles.

  • Web mapping = API + tiles - Slippy maps on the web have two parts: images tiles that make up the map, and an API framework that stitches tiles together and handles interactive panning and zooming.

  • Why go open source geo - Read what the community is saying.

  • Map examples - Pretty basemap tiles and compelling interactive maps.

  • When tiles aren't enough - Use your web map stylesheet to render larger raster images and export to PDF, EPS, and SVG.

Mapping

Tools of the trade:

  • QGIS - The open source alternative to ArcMap, but not as industrial strength. It's a GUI for composing maps and doing simple analysis.

  • PostGIS - Store your geography in a spatial database (kinda the open source version of an Esri GeoDB). Faster than raw SHP files when speed matters. Storage default for OSM data.

  • OGR, GDAL - Reproject, sort, filter and otherwise modify Shapefiles and other vector map data formats. GDAL for raster. These are amazingly powerful.

  • Mapnik - Draw web map tiles, industrial strength.

  • TileStache - Cache web map tiles, from Stamen.

  • TileMill - Desktop "web" app with an easy installer, powered by Mapnik and Carto. From Development Seed / MapBox.

  • Dymo - Create beautiful map labels, from Stamen. Like Annotation from ArcGIS.

  • Geocoding - This is the one hard part about going open source geo.

  • Routing - The MapQuest Open API returns routing based on OSM data

  • Shapely - Python library for geometric objects, predicates, and operations without requiring PostGIS.

  • Map scales/zooms, coordinate systems - Web maps have 20 preset scales, learn these “zoom” levels and their natural scale equivelents.

  • [Generalize your data](https://github.com/nvkelso/geo-how-to/wiki/Generalize your data) - Seriously. Your maps will look better and load faster.

  • GeoJSON - Make it smaller. Giving your data the precision it's accuracy deserves.

  • Kartograph - Kartograph is a new framework for building interactive vector map applications without Google Maps or any other mapping service. It was created with the needs of designers and data journalists in mind. Tons of map projections, gracefully degrades to IE7. Great for thematic maps that are smaller scale than 1:250,000.

  • MaPublisher - Make maps in Adobe Illustrator.

  • OpenStreetMap - aka OSM. How to import it and explore the tag universe.

Unix command line

Project management:

Other

Clone this wiki locally