GitHunt
S-

s-l-teichmann/geopython

geopython

Essential Python Geospatial Libraries

  • cartopy - For plotting spatial data
  • descartes - For plotting geometries in matplotlib
  • fiona - For making it easy to read/write geospatial data formats
  • geopy - For geolocating and things like that
  • ipython - For a wondering interactive environment in which to play
  • matplotlib - For all my plotting needs
  • numpy - For pretty much anything that involves arrays
  • ogr/gdal - For reading, writing, and transforming geospatial data formats
  • pandas - For data handling and munging
  • pyproj - For conversions between projections
  • pyshp - For reading and writing shapefiles (in pure Python)
  • rasteri - For raster handling
  • rtree - For efficiently querying spatial data
  • shapely - For geometry handling

Books on Python Geospatial Development

Installation

Windows with Miniconda

Miniconda in PATH aufnehmen.

export PATH=/home/bjoern/miniconda3/bin:$PATH

conda-forge channel hinzufügen

conda config --add channels conda-forge
conda config --set ssl_verify false
conda update openssl cryptography
conda config --set ssl_verify true

Benötigte Biblotheken aus dem conda-forge channel installieren

  • Für BSH Tutorial
conda install rasterio shapely fiona jupyter matplotlib
  • Für GPS Tutorial
conda install gpxpy pandas

srtm rdp nicht in Miniconda.

  • Für NetCDF Tutorial
conda install netcdf4 xarray
  • Für Meereis Tutorial
conda install basemap-data-hires

Jupyter Notebook starten

jupyter notebook

Weiterführende Hinweise zu den verwendeten Biblotheken in Miniconda

Debugging of conda enviroment

conda info

conda info rasterio

cat ~/.condarc

Unofficial Windows Binaries for Python Extension Packages

Install binaries:

pip install -U pip
pip install GDAL-2.0.2-cp35-none-win32.whl
pip install rasterio-0.31.0-cp35-none-win32.whl
pip install Fiona-1.6.3-cp35-none-win32.whl
pip install pyproj-1.9.5-cp35-none-win32.whl

Install in GNU/Linux

TODO