That did the trick, thank you again<BR><BR><B><I>Paul Ramsey &lt;pramsey@cleverelephant.ca&gt;</I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Run lwpostgis_upgrade.sql on your old database, that should refresh<BR>the function signatures to match the underlying .so.<BR><BR>P<BR><BR>On 3/17/08, David Jordan <DAVIDJ2K@YAHOO.COM>wrote:<BR>&gt; I think I might know what the problem is, I am using a database that was<BR>&gt; created in an older version of PostGIS and I restored from a file, is there<BR>&gt; a simple way to update the functions in this database? I can see the<BR>&gt; correct function in another database that was created in this version.<BR>&gt;<BR>&gt; Paul Ramsey <PRAMSEY@CLEVERELEPHANT.CA>wrote:<BR>&gt; select postgis_full_version().<BR>&gt;<BR>&gt; I am seeing it work just fine on my installation...<BR>&gt;<BR>&gt; pramsey=# select st_asgml(test_geom) from test;<BR>&gt;<BR>&gt;<BR>&gt; On
 3/17/08, David Jordan wrote:<BR>&gt; &gt; If I try that I get<BR>&gt; &gt; ERROR: 42883: function st_asgml(geometry) does not exist<BR>&gt; &gt;<BR>&gt; &gt; Paul Ramsey wrote:<BR>&gt; &gt; Try ST_AsGML and ST_AsKML<BR>&gt; &gt;<BR>&gt; &gt; P<BR>&gt; &gt;<BR>&gt; &gt; On 3/17/08, davidj2k wrote:<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get<BR>&gt; &gt; this<BR>&gt; &gt; &gt; error when trying to use AsGML<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; "ERROR: XX000: Only GML 2 and GML 3 are supported"<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; The documentations says it is defined like this<BR>&gt; &gt; &gt; AsGML([version], geometry, [precision])<BR>&gt; &gt; &gt; But in the functions I see<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; AsGML(geometry, int, int)<BR>&gt; &gt; &gt; I have tried calling it with and without a version number all seem to do<BR>&gt; &gt; the<BR>&gt; &gt; &gt; same thing.<BR>&gt; &gt; &gt;<BR>&gt; &gt;
 &gt;<BR>&gt; &gt; &gt; Then I want to also call AsKML but that function does not appear to<BR>&gt; exist.<BR>&gt; &gt; &gt; I get this error<BR>&gt; &gt; &gt; "ERROR: 42883: function askml(geometry) does not exist"<BR>&gt; &gt; &gt; and I do not see it in the list of functions<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; --<BR>&gt; &gt; &gt; View this message in context:<BR>&gt; &gt;<BR>&gt; http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html<BR>&gt; &gt; &gt; Sent from the PostGIS - User mailing list archive at Nabble.com.<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; _______________________________________________<BR>&gt; &gt; &gt; postgis-users mailing list<BR>&gt; &gt; &gt; postgis-users@postgis.refractions.net<BR>&gt; &gt; &gt;<BR>&gt; &gt;<BR>&gt; http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>&gt; &gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; postgis-users mailing list<BR>&gt; &gt;
 postgis-users@postgis.refractions.net<BR>&gt; &gt;<BR>&gt; http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it<BR>&gt; &gt; now.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; postgis-users mailing list<BR>&gt; &gt; postgis-users@postgis.refractions.net<BR>&gt; &gt;<BR>&gt; http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; _______________________________________________<BR>&gt; postgis-users mailing list<BR>&gt; postgis-users@postgis.refractions.net<BR>&gt; http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; ________________________________<BR>&gt; Never miss a thing. Make Yahoo your homepage.<BR>&gt;<BR>&gt;<BR>&gt;
 _______________________________________________<BR>&gt; postgis-users mailing list<BR>&gt; postgis-users@postgis.refractions.net<BR>&gt; http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>&gt;<BR>&gt;<BR>_______________________________________________<BR>postgis-users mailing list<BR>postgis-users@postgis.refractions.net<BR>http://postgis.refractions.net/mailman/listinfo/postgis-users<BR></BLOCKQUOTE><BR><p>&#32;
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a>