Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Spatial Python on uberspace

How to get fiona, shapely and other spatial python packages running on uberspace

Build & install the dependencies: geos, proj, gdal

#!/bin/bash
wget http://download.osgeo.org/geos/geos-3.5.0.tar.bz2
tar xvjf geos-3.5.0.tar.bz2
cd geos-3.5.0
./configure --prefix $HOME
make && make install
cd ..
wget http://download.osgeo.org/proj/proj-4.8.0.tar.gz
tar xvzf proj-4.8.0.tar.gz
cd proj-4.8.0
./configure --prefix $HOME
make && make install
cd ..

wget http://download.osgeo.org/gdal/1.11.1/gdal-1.11.1.tar.gz
tar xvzf gdal-1.11.1.tar.gz
cd gdal-1.11.1
./configure --prefix $HOME --with-geosconfig=$HOME/bin/geos-config --with-pg=/p$
make && make install

##Shapely, Fiona and pyproj

easy_install-2.7 fiona  shapely pyproj #Those dont work with pip on uberspace for permission or otherreasons

##Set library paths

echo "export LD_LIBRARY_PATH=$HOME/lib/:$LD_LIBRARY_PATH" >> .bash_profile 

About

How to get fiona, shapely and other spatial python packages running on uberspace

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors