Re: Postgis error

From: Frank Heikens <frankheikens(at)mac(dot)com>
To: "Plata Martínez(at)mac(dot)com, Álvaro (KNMI)" <alvaro(dot)plata(dot)martinez(at)knmi(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgis error
Date: 2011-01-17 17:59:22
Message-ID: 4600B103-7160-4788-9870-CF57130137D9@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Op 17 jan 2011, om 18:35 heeft Plata Martínez, Álvaro (KNMI) het
volgende geschreven:

> Hi,
>
> Using postgreSQL 8.4 and Postgis 1.4 in an Ubuntu 10.04 Server,

Did also install the PostGIS-functions, types, etc. in your database?
Installing PostGIS is a combination of installing the package and the
SQL-parts. Check this article:
http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/

> when trying to create a table:
> CREATE TABLE observation (
> (...)
> spatial_value geometry,
> );
>
> I get this error message:
> ERROR: type "geometry" does not exist
>
> I supposed that installing postgis I would get the geographical
> object, so I am not sure if I have to do anything else.
>
> Thanks in advance for your help,
> Alvaro.
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

Regards,
Frank Heikens

In response to

  • Postgis error at 2011-01-17 17:35:32 from Plata Martínez, Álvaro (KNMI)

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-01-17 18:04:02 Re: Postgis error
Previous Message Gary Chambers 2011-01-17 17:46:57 Re: iPad and Postgresql...