Note! The newer version of GeoPython module is geoconda module, which includes more Python packages, Spyder and Python3.

Geopython is a collection of python packages that facilitate the development of python scripts for geoinformatics applications. It includes following python packages:

  • descartes - use Shapely or GeoJSON-like geometric objects as matplotlib paths and patches.
  • fiona - reads and writes spatial data files.
  • gdal - reads and writes spatial data files, and GDAL/OGR data manipulation tools.
  • geopandas - GeoPandas extends the datatypes used by pandas.
  • networkx - for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
  • pyproj - performs cartographic transformations and geodetic computations.
  • osgeo - used currently only for gdal.
  • pysal - spatial analysis functions.
  • rasterio - access to geospatial raster data.
  • rasterstats - for summarizing geospatial raster datasets based on vector geometries. It includes functions for zonal statistics and interpolated point queries.
  • rtree - spatial indexing and search.
  • shapely - manipulation and analysis of geometric objects in the Cartesian plane.
  • skimage - algorithms for image processing.

GeoPython module is build on top of Taito's python-env/2.7.10 module. See that page for packages included in the basic module and how to install your own packages.

Python has also packages for parallel computing, for example multiprocessing. In our examples there is two cases using Python multiprocessing: zonal statistics and focal mean.



Version on CSC's Servers

Taito: Python-2.7.10


To use geopython in Taito, load first the geo-env module, which includes Python with GIS packages, GDAL, QGIS and LasTools.

module load geo-env
The module unloads all previously loaded modules, so it should be loaded first, if you need to load also some other modules.

After this you can launch your python program with command


For running your script via batch job system, use:

srun python

Alternatively you can change the python definition in the first line of your code to #!/bin/env python

and execute the python program



Example scripts:

Gis related example python scripts and how to run them in Taito can be found at CSC-Training github page.




Python spatial kirjastot.