Hi, ganz einfach, du musst noch hstore support aktiveren ;)
psql -U postgres osm -f /usr/share/postgresql-8.4/contrib/hstore.sql Steht auch irgendwo in der Anleitung. LG Philipp Am Sonntag, den 23.01.2011, 16:39 +0100 schrieb Alexander Matheisen: > Hallo, > > ich komme im Moment nicht so recht weiter. > Ich will mit osmosis Daten in eine Postgres Datenbank importieren und > will daher zur Zeit die Datenbank nach dieser Anleitung anlegen: > http://wiki.openstreetmap.org/wiki/Osmosis/PostGIS_Setup > > Ich nutze dabei Postgres 8.4 unter Ubuntu 10.10. > > Das Installieren gibt soweit keine Probleme, bis > psql -d osm -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql > geht alles ohne irgendeine Fehlermeldung. > > Doch dann bei > psql -d olm6 -f osmosis-0.38/script/pgsql_simple_schema_0.6.sql > > geht es nicht mehr weiter. > > Die vollständige Liste der Fehlermeldungen: > > psql:/home/alexander/Projekte/OLM/olm6/import/osmosis-0.38/script/pgsql_simple_schema_0.6.sql:4: > HINWEIS: Tabelle »actions« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:5: HINWEIS: > Tabelle »users« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:6: HINWEIS: > Tabelle »nodes« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:7: HINWEIS: > Tabelle »ways« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:8: HINWEIS: > Tabelle »way_nodes« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:9: HINWEIS: > Tabelle »relations« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:10: HINWEIS: > Tabelle »relation_members« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:11: HINWEIS: > Tabelle »schema_info« existiert nicht, wird übersprungen > DROP TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:14: HINWEIS: > Funktion osmosisupdate() existiert nicht, wird übersprungen > DROP FUNCTION > CREATE TABLE > CREATE TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:38: FEHLER: Typ > »hstore« existiert nicht > ZEILE 7: tags hstore > ^ > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:40: FEHLER: > AddGeometryColumns() - invalid SRID > KONTEXT: SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3 , > $4 , $5 )" > PL/pgSQL-Funktion »addgeometrycolumn« Zeile 4 bei SQL-Anweisung > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:52: FEHLER: Typ > »hstore« existiert nicht > ZEILE 7: tags hstore, > ^ > CREATE TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:71: FEHLER: Typ > »hstore« existiert nicht > ZEILE 7: tags hstore > ^ > CREATE TABLE > INSERT 0 1 > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:88: HINWEIS: ALTER > TABLE / ADD PRIMARY KEY erstellt implizit einen Index »pk_schema_info« > für Tabelle »schema_info« > ALTER TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:90: HINWEIS: ALTER > TABLE / ADD PRIMARY KEY erstellt implizit einen Index »pk_users« für > Tabelle »users« > ALTER TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:92: FEHLER: > Relation »nodes« existiert nicht > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:94: FEHLER: > Relation »ways« existiert nicht > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:96: HINWEIS: ALTER > TABLE / ADD PRIMARY KEY erstellt implizit einen Index »pk_way_nodes« für > Tabelle »way_nodes« > ALTER TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:98: FEHLER: > Relation »relations« existiert nicht > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:100: HINWEIS: > ALTER TABLE / ADD PRIMARY KEY erstellt implizit einen Index > »pk_relation_members« für Tabelle »relation_members« > ALTER TABLE > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:104: FEHLER: > Relation »nodes« existiert nicht > CREATE INDEX > CREATE INDEX > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:112: FEHLER: > Relation »nodes« existiert nicht > psql:osmosis-0.38/script/pgsql_simple_schema_0.6.sql:130: FEHLER: > ungültiger Typname: »ways.id%TYPE« > KONTEXT: compilation of PL/pgSQL function "unnest_bbox_way_nodes" near > line 2 > CREATE FUNCTION > > > > Nach diesem Befehl sieht die Datenbank so aus: > > Liste der Relationen > Schema | Name | Typ | Eigentümer > --------+-------------------+---------+------------ > public | geography_columns | Sicht | postgres > public | geometry_columns | Tabelle | postgres > public | relation_members | Tabelle | postgres > public | schema_info | Tabelle | postgres > public | spatial_ref_sys | Tabelle | postgres > public | users | Tabelle | postgres > public | way_nodes | Tabelle | postgres > > > Kann mir jemand helfen? > > > Alex > > > > _______________________________________________ > Talk-de mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/talk-de _______________________________________________ Talk-de mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-de

