osm2pgsql

Hi, ich bin vollkommen neu auf dem Gebiet und möchte mit osm2pgsql eine OSM-Datei in meine Datenbank einlesen. Hierbei bekomme ich folgenden Fehler

release notes: 'Windows version built by Dominik Perpeet (http://www.customdebug
.com/osm2pgsql/index.html)'
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE:  table "planet_osm_point" does not exist, skipping
NOTICE:  table "planet_osm_point_tmp" does not exist, skipping
SELECT AddGeometryColumn('planet_osm_point', 'way', 900913, 'POINT', 2 );
 failed: ERROR:  function addgeometrycolumn(unknown, unknown, integer, unknown,
integer) does not exist
LINE 1: SELECT AddGeometryColumn('planet_osm_point', 'way', 900913, ...
               ^
HINT:  No function matches the given name and argument types. You might need to
add explicit type casts.

Error occurred, cleaning up

Wie kann/muss ich die Tabellen in der Datenbank anlegen?

Danke

Moin,

PostGIS haste korrekt für die DB installiert?

LG,

-moenk