Rai - posting on dev would probably be more useful for you.<br><br><a href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a><br><br><br><div class="gmail_quote">On Sat, Nov 1, 2008 at 2:27 PM, Lars Francke <span dir="ltr"><<a href="mailto:lars.francke@gmail.com">lars.francke@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div class="Ih2E3d"><br>
> SELECT AddGeometryColumn('planet_osm_point', 'way', 4326, 'POINT', 2 );<br>
> failed: ERROR: function addgeometrycolumn(unknown, unknown, integer,<br>
> unknown, integer) does not exist<br>
> LINE 2: SELECT AddGeometryColumn('planet_osm_point', 'way', 4326, 'P...<br>
> ^<br>
> HINT: No function matches the given name and argument types. You<br>
> might need to add explicit type casts.<br>
<br>
</div>do you have PostGIS installed? (<a href="http://postgis.refractions.net/" target="_blank">http://postgis.refractions.net/</a>)<br>
PostGIS adds the AddGeometryColumn function to PostgreSQL and it looks<br>
like it cannot be found.<br>
<br>
If you have it installed perhaps you have forgotten to use<br>
template_postgis as a template for your database?<br>
CREATE DATABASE osm TEMPLATE=template_postgis;<br>
Would be the correct statement.<br>
<br>
Hope that helps.<br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
newbies mailing list<br>
<a href="mailto:newbies@openstreetmap.org">newbies@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/newbies" target="_blank">http://lists.openstreetmap.org/listinfo/newbies</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Nick Black<br>--------------------------------<br><a href="http://www.blacksworld.net">http://www.blacksworld.net</a><br>