Skip to content
nvkelso edited this page Sep 24, 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.

MapBox's TileMill site has some great general open source mapping guides, as well.

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

Workflow:

Upping your game:

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.

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

  • pprepair - Validate and automatically repair planar partitions

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

  • D3.js - A robust data visualization library with built in geography support.

  • 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.

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

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

  • [Shaded relief](https://github.com/nvkelso/geo-how-to/wiki/Shaded relief) - set of utilities for processing DEM (digital elevation models, digital terrain models) and shading that to indicate the shape of mountains and other relief features.

  • [Land cover](https://github.com/nvkelso/geo-how-to/wiki/Land cover) - set of utilities for processing classified TIF images and colorizing techniques to indicate type (or presence) of vegetation and land use.

Unix command line

Project management:

Other

  • Markdown is the devil - Yet another random raw text formatting style without a GUI.

  • BBedit tips - Vim style color coded DIFFs to changing text case and going ASCII.

Clone this wiki locally