Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down