Hallo, ich stehe vor einem kleinen Problem:
Ich habe mir unter Postgres 9.1 eine Datenbank wie folgt eingerichtet: createdb -E UTF8 -O osm foobar createlang plpgsql foobar psql -d foobar -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql psql -d foobar -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql echo "CREATE EXTENSION hstore;" | psql -d foobar echo "ALTER TABLE geometry_columns OWNER TO osm; ALTER TABLE spatial_ref_sys OWNER TO osm;" | psql -d foobar echo "ALTER TABLE geography_columns OWNER TO osm;" | psql -d foobar und will nun eine Datei mit osm2pgsql (soeben aus dem SVN selbst kompiliert) importieren: osm2pgsql --create --hstore --database foobar --username osm --prefix foobar --style own.style --cache 3096 --slim data.osm Doch es erscheint folgende Fehlermeldung: osm2pgsql SVN version 0.80.0 (32bit id space) Using projection SRS 900913 (Spherical Mercator) Unknown flag '�S!�|�ȶܩ��X�����1�' line 2, ignored Unknown flag '�S!�|�ȶܩ��X�����1�' line 3, ignored Setting up table: foobar_point HINWEIS: Tabelle »foobar_point« existiert nicht, wird übersprungen HINWEIS: Tabelle »foobar_point_tmp« existiert nicht, wird übersprungen CREATE TABLE foobar_point ( osm_id int4,"area" text,"poi" text,"name" text,"z_order" int4,tags hstore) failed: FEHLER: Typ »hstore« existiert nicht LINE 1: ...rea" text,"poi" text,"name" text,"z_order" int4,tags hstore) ^ Error occurred, cleaning up Hab ich etwas falsch gemacht oder arbeitet osm2pgsql einfach noch nicht mit Postgres 9.1 zusammen? Bei der Postgres Version 8.4 hat alles noch funktionert, nun habe ich nach dem Upadte eine neue DB (bis auf die hstore-Erweiterung, die nun anders eingebunden wird) auf die gleiche Weise erzeugt. Alex _______________________________________________ Talk-de mailing list Talk-de@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-de