[OSM-newbies] [which mailing] osm2pgsql error

H.S.Rai hardeep.rai at gmail.com
Sat Nov 1 08:33:57 GMT 2008


Is this right mailing list to ask question like below? If not please
suggest where I should post.

Thanks in advance.

-- 
H.S.Rai

On Thu, Oct 30, 2008 at 4:04 PM, H. S. Rai <hardeep.rai at gmail.com> wrote:
> 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