diff --git a/README.md b/README.md index 0e7bfe9..b01584f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Spatial Python on uberspace How to get fiona, shapely and other spatial python packages running on uberspace -## Build & install the dependencies: geos, proj, gdal +## Build & install the dependencies: geos, proj, gdal, spatialindex ```bash #!/bin/bash @@ -21,15 +21,23 @@ 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$ +./configure --prefix $HOME --with-geosconfig=$HOME/bin/geos-config +make && make install + +wget http://download.osgeo.org/libspatialindex/spatialindex-src-1.7.0.tar.gz +tar xvzf spatialindex-src-1.7.0.tar.gz +cd spatialindex-src-1.7.0 +./configure --prefix $HOME make && make install ``` + + ##Shapely, Fiona and pyproj ```python -easy_install-2.7 fiona shapely pyproj #Those dont work with pip on uberspace for permission or otherreasons +pip2.7 install --user fiona shapely pyproj rtree==0.7.0 ``` ##Set library paths