• Stars
    star
    372
  • Rank 114,858 (Top 3 %)
  • Language
  • Created almost 13 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

commands, notes for open-source geo workflows

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.

  • Tutorials - From Dymo, PostGIS, to Imposm.

Mapping

Workflow:

  • Map Styling - Color your map features using cascadenik or carto since raw Mapnik XML is hellish.

  • Rendering map tiles - Once you're done designing your map, you'll need to render 10s of thousands of tiny image files, hundreds and thousands of megabytes in size.

  • Hosting Tiles - Publish your tiles so others can see them. Amazon S3, EC2, CloudFront, your own server, MapBox.com, etc.

  • Setting up an EC2 Ubuntu map server - Work in the cloud, it's so fluffy!

Upping your game:

Tools of the trade:

  • D3.js - A robust data visualization library with built in geography support. Bostock has a great map tutorial, too.

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

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

  • Mapnik - Draw web map tiles, industrial strength.

  • TileStache - Cache web map tiles, from Stamen.

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

  • Merge SHPs, GeoJSON, and more into single files - Good tool from Dane. Alternative from Mike.

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

  • Geocoding - To geocode is the hardest part about going open source geo.

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

  • 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 - set of utilities for processing classified TIF images and colorizing techniques to indicate type (or presence) of vegetation and land use.

  • Wicket - View WKT geometries on web map.

Unix command line

Project management:

Other

More Repositories

1

natural-earth-vector

A global, public domain map dataset available at three scales and featuring tightly integrated vector and raster data.
HTML
1,780
star
2

election-geodata

Precinct shapes (and vote results) for US elections past, present, and future
Makefile
309
star
3

illustrator-scripts

JavaScript ExtendScript for automating and extending Adobe Illustrator
JavaScript
226
star
4

color-oracle-java

color-oracle-java
Java
189
star
5

color-oracle

color-oracle-mac
Objective-C
121
star
6

natural-earth-raster

just the rasters, 'cause they're big
38
star
7

carto-css-map-styling

Notes, sketches, and frameworks inspired by fall 2011 map styling workshop held in SF
30
star
8

mile-high-club

airplanes, where they land, and their symbology
Shell
28
star
9

golden-ratio

Seed web map tile caches using remembered hot spots and forecasts of likely usage.
Python
25
star
10

map-label-style-manual

Abbreviations, nicknames, foreign terms, translations, transliterations, diacritical marks, suggested placements, and more
Python
24
star
11

thematic-carto-tools

Build map legends (and stylesheets) based on data both quantitative and qualitative
Python
12
star
12

jim-heck-pinball-scripts

I publish these for Jim
JavaScript
11
star
13

high-seas

boats, where they dock, and their symbology
Shell
10
star
14

natural-earth-quick-start

just the essentials
6
star
15

arcpy

Esri ArcMap automation
5
star
16

ogrtools

Python implementation of OgrInfo, tools for renaming columns, & more
Python
5
star
17

ScaleMaster

What features to include on your map at what zooms. Inspired by Cindy Brewer at Penn State.
4
star
18

tangram-skin-and-bones

modern high roads compilation for Tangram, with several skins
JavaScript
3
star
19

osm-bike-map

What big and small cities have bike maps &/or bike friendly community but needs some OpenStreetMap cycleway love
2
star
20

tilemill-lots

Experimental plugin for TileMill pluggable branch for 10-up views.
JavaScript
2
star
21

tiziano-maps

Custom basemap for the Tiziano Project, a nonprofit community journalism group
Python
2
star
22

high-times

ski resorts, beach resorts, amusement parks, and other roadside curiosities
1
star