You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2013-03-07 13:46:01

media2013
Member
Registered: 2013-03-07
Posts: 1

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

Offline

#2 2013-03-07 14:56:04

moenk
Member
From: N52.466 E13.335
Registered: 2012-04-02
Posts: 493
Website

Re: osm2pgsql

Moin,

PostGIS haste korrekt für die DB installiert?

LG,

-moenk

Offline

Board footer

Powered by FluxBB