Geospatial Data Abstraction Library (GDAL)

GDAL in docker

  • geodata/gdal
  • docker run -v $(pwd):/data geodata/gdal ogr2ogr
  • docker run -v $(pwd):/data geodata/gdal gdalwarp
  • docker run -v $(pwd):/data geodata/gdal gdal_translate
  • docker run -v $(pwd):/data geodata/gdal gdal2tiles.py
  • docker run -v $(pwd):/data geodata/gdal gdalinfo test.tif

Python modules

  • mb-utileasy_install mbutil
  • pipsudo easy_install pip
  • rasteriosudo pip install rasterio
  • mapboxclipip install --user mapboxcli
    • You’ll then need to include ~/.local/bin in your $PATH, export PATH=~/.local/bin:$PATH

Brew modules

Node

  • Node.js, which installs node and npm

json

gifify

  • npm install -g gifify
  • gifify pct.mov -o pct.gif
  • gifify pct.mov -o pct.gif --from 45 --to 50 --speed 2 --resize 640:-1
  • docker - docker run -it --rm -v $(pwd):/data maxogden/gifify pct.mov -o pct.gif

node.js Geo

mb-util

geojson-random

geojson-random 3
geojson-random 3 > a.json
geojson-random 3 > b.json

geojsonio

geojsonio a.json
geojson-random 100 | geojsonio

geojson-merge

geojson-merge a.json b.json

geojsonhint

geojson-join

geojson-join test/against.json \
    --againstField=id \
    --geojsonField=id < test/random.geojson

jsontogeojson

d3 tools from mbostock

shp2json

ndjson

d3-dsv

Web servers

  • jekyllgem install jekyll

Xcode

  • Explicitly set to Xcode, in case you have a Beta installed sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
  • xcode-select -print-path

  • Edit this file