[OSM-newbies] osm2pgsql error

H.S.Rai hardeep.rai at gmail.com
Thu Oct 30 10:34:30 GMT 2008


Please help me remove following error:

-- 
H.S.Rai

=============================

osm2pgsql -d mydb ldh.osm
osm2pgsql SVN version 0.08-20071112 $Rev: 4842 $

Setting up table: planet_osm_point
CREATE TABLE planet_osm_point ( osm_id int4,"aeroway" text,"amenity"
text,"bicycle" text,"bridge" text,"boundary" text,"building"
text,"foot" text,"highway" text,"horse" text,"junction" text,"landuse"
text,"layer" text,"learning" text,"leisure" text,"man_made"
text,"motorcar" text,"name" text,"natural" text,"oneway" text,"place"
text,"railway" text,"ref" text,"residence" text,"route" text,"sport"
text,"tourism" text,"tunnel" text,"waterway" text,"z_order"
int4,"way_area" real );
SELECT AddGeometryColumn('planet_osm_point', 'way', 4326, 'POINT', 2 );
 failed: ERROR:  function addgeometrycolumn(unknown, unknown, integer,
unknown, integer) does not exist
LINE 2: SELECT AddGeometryColumn('planet_osm_point', 'way', 4326, 'P...
               ^
HINT:  No function matches the given name and argument types. You
might need to add explicit type casts.

Error occurred, cleaning up




More information about the newbies mailing list