Hello,

i hope this is not off-topic here.  I've set up a Postgis server here on my 
linux box using OpenSuSE 11.2 like this:

Here are the commands (User tmohr):

su postgres
createuser -Upostgres -S -D -R tmohr
createdb -Upostgres  -EUTF8 gis
psql -Upostgres gis
gis=# GRANT ALL ON SCHEMA PUBLIC TO tmohr;
GRANT

Then quit, \q

createlang plpgsql gis
psql -d gis -f /usr/share/postgresql/contric/postgis.sql

psql -d gis -f /usr/share/postgresql/contric/spatial_ref_sys.sql

psql gis

GRANT ALL on geometry_columns TO tmohr;
GRANT ALL on spatial_ref_sys TO tmohr;
GRANT ALL ON SCHEMA PUBLIC TO tmohr;


osm2pgsql -s -l /local/ftp/planet-100310.osm.bz2

And this last command leads to failures:

Using projection SRS 4326 (Latlong)
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
Setting up table: planet_osm_line
HINWEIS:  Tabelle »planet_osm_line« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_line_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_polygon
HINWEIS:  Tabelle »planet_osm_polygon« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_polygon_tmp« existiert nicht, wird übersprungen
Setting up table: planet_osm_roads
HINWEIS:  Tabelle »planet_osm_roads« existiert nicht, wird übersprungen
HINWEIS:  Tabelle »planet_osm_roads_tmp« existiert nicht, wird übersprungen
Mid: pgsql, scale=10000000, cache=800MB, maxblocks=102401*8192
Setting up table: planet_osm_nodes
*** WARNING: intarray contrib module not installed


It seems that the tables planet_osm_point, planet_osm_line and so on do not 
exist.

Did i miss a command to set up these tables?

Which command should have created the tables?  I thought they'd be created by 
executing postgis.sql ?


Thanks for any hints,
Torsten.

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to