Table of Contents

Compilando o PostGIS

wget -c http://postgis.refractions.net/download/postgis-1.1.7.tar.gz

Ou

wget -c http://postgis.refractions.net/download/postgis-1.3.1.tar.gz
./configure
make
su postgres
make check
exit
su
make install
exit
su postgres
createdb teste1
createlang plpgsql teste1
psql -f lwpostgis.sql -d teste1
exit


Ou um pequeno script shell para rodar na pasta do fonte. Rodar como postgres:

#!/bin/sh
createdb $1
createlang plpgsql $1
psql -f lwpostgis.sql -d $1

Com suporte a GEOS

O GEOS é necessário para o processamento de consultas espaciais, como Touches e Within.

OpenSUSE 11