2018年1月30日火曜日

Mac で GIS 環境を整える

python

brew install python
brew install python3

geos

brew install geos

proj

brew install proj --with-vdatum

gdal/ogr

brew install gdal --with-libkml --with-postgreql --with-python3 --with-complete --with-opencl

postgis

brew install postgresql
brew install postgis --with-protobuf-c

gdal/ogr2

brew tap osgeo/osgeo4mac
brew install gdal2 --with-postgresql --with-sfcgal --with-complete --with-libkml --with-opencl

grass7

brew install grass7 --with-netcdf --with-postgresql

qgis2

brew install qgis2
pip2 install psycopg2 matplotlib pyparsing requests future jinja2 pygments
brew linkapps qgis2