[postgis-users] Installing PostGIS-1.4.1
Torsten Mohr
tmohr at s.netic.de
Thu Jan 14 12:23:45 PST 2010
Hello,
i downloaded and installed the prerequisites for PostGIS, started postgresql
(8.4). I work on linux, OpenSuSE 11.2.
After starting PostgreSQL i created a database "gis":
createdb -E UTF8 -O tmohr gis
createlang plpgsql gis
Then i tried to prepare that DB further:
pgsql -f postgis/postgis.sql -d gis
This leads to the warnings that i attached below.
I'm not sure now if everything went ok or (if not) what i need to change.
The following import of the planet.osm fails:
postgres at schleim:/local/ftp/osm> osm2pgsql -s planet-090408.osm.bz2
osm2pgsql SVN version 0.69-19517
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
HINWEIS: Tabelle »planet_osm_point« existiert nicht, wird übersprungen
HINWEIS: Tabelle »planet_osm_point_tmp« existiert nicht, wird übersprungen
SELECT AddGeometryColumn('planet_osm_point', 'way', 900913, 'POINT', 2 );
failed: FEHLER: AddGeometryColumns() - invalid SRID
CONTEXT: SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3 , $4 ,
$5 )"
PL/pgSQL-Funktion »addgeometrycolumn« Zeile 5 bei SQL-Anweisung
Error occurred, cleaning up
I found several pieces of descriptions of how to set up a posgis server, not
sure if i did all necessary steps.
If anybody could give me a hint on what to change, that would be great.
Thanks for any hints,
Torsten.
---------Warnings:
BEGIN
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:56: HINWEIS: Typ »spheroid« ist
noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:62: HINWEIS: Rückgabetyp spheroid
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:68: HINWEIS: Argumenttyp spheroid
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:74: HINWEIS: Argumenttyp spheroid
ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:91: HINWEIS: Typ »geometry« ist
noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:97: HINWEIS: Rückgabetyp geometry
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:103: HINWEIS: Argumenttyp
geometry ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:109: HINWEIS: Argumenttyp
geometry ist nur eine Hülle
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:127: HINWEIS: Rückgabetyp
geometry ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:133: HINWEIS: Rückgabetyp
geometry ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:139: HINWEIS: Argumenttyp
geometry ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:145: HINWEIS: Argumenttyp
geometry ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
.............
CREATE FUNCTION
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:326: HINWEIS: Typ »box3d« ist
noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:332: HINWEIS: Argumenttyp box3d
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:338: HINWEIS: Rückgabetyp box3d
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:344: HINWEIS: Argumenttyp box3d
ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:359: HINWEIS: Typ »box3d_extent«
ist noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:364: HINWEIS: Argumenttyp
box3d_extent ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:382: HINWEIS: Typ »box2d« ist
noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:470: HINWEIS: Typ »chip« ist noch
nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:476: HINWEIS: Rückgabetyp chip
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:482: HINWEIS: Argumenttyp chip
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:488: HINWEIS: Argumenttyp chip
ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:506: HINWEIS: Rückgabetyp box2d
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:512: HINWEIS: Rückgabetyp box2d
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:518: HINWEIS: Argumenttyp box2d
ist nur eine Hülle
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:524: HINWEIS: Argumenttyp box2d
ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
...............
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:2243: HINWEIS: CREATE TABLE /
PRIMARY KEY erstellt implizit einen Index »spatial_ref_sys_pkey« für Tabelle
»spatial_ref_sys«
CREATE TABLE
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:2261: HINWEIS: CREATE TABLE /
PRIMARY KEY erstellt implizit einen Index »geometry_columns_pk« für Tabelle
»geometry_columns«
CREATE TABLE
CREATE FUNCTION
CREATE FUNCTION
CREATE FUNCTION
.................
CREATE AGGREGATE
CREATE AGGREGATE
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:4085: HINWEIS: Typ »pgis_abs« ist
noch nicht definiert
DETAIL: Hüllentypdefinition wird erzeugt.
CREATE FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:4090: HINWEIS: Argumenttyp
pgis_abs ist nur eine Hülle
CREATE FUNCTION
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
...........
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6942: HINWEIS: Funktion
asgml(geometry,pg_catalog.int4,pg_catalog.int4) existiert nicht, wird
übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6943: HINWEIS: Funktion
asukml(geometry,pg_catalog.int4,pg_catalog.int4) existiert nicht, wird
übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6944: HINWEIS: Funktion
asukml(geometry,pg_catalog.int4) existiert nicht, wird übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6945: HINWEIS: Funktion
asukml(geometry) existiert nicht, wird übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6946: HINWEIS: Funktion
create_histogram2d(box2d,pg_catalog.int4) existiert nicht, wird übersprungen
DROP FUNCTION
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6948: HINWEIS: Funktion
jtsnoop(geometry) existiert nicht, wird übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6949: HINWEIS: Funktion
postgis_jts_version() existiert nicht, wird übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6950: HINWEIS: Funktion
st_pointn(geometry) existiert nicht, wird übersprungen
DROP FUNCTION
psql:/tmp/postgis-1.4.1/postgis/postgis.sql:6951: HINWEIS: Funktion
st_create_histogram2d(box2d,pg_catalog.int4) existiert nicht, wird
übersprungen
DROP FUNCTION
COMMIT
More information about the postgis-users
mailing list