I think I might know what the problem is, I am using a database that was created in an older version of PostGIS and I restored from a file, is there a simple way to update the functions in this database?&nbsp; I can see the correct function in another database that was created in this version.<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">select postgis_full_version().<BR><BR>I am seeing it work just fine on my installation...<BR><BR>pramsey=# select st_asgml(test_geom) from test;<BR><BR><BR>On 3/17/08, David Jordan <DAVIDJ2K@YAHOO.COM>wrote:<BR>&gt; If I try that I get<BR>&gt; ERROR: 42883: function st_asgml(geometry) does not exist<BR>&gt;<BR>&gt; Paul Ramsey <PRAMSEY@CLEVERELEPHANT.CA>wrote:<BR>&gt; Try ST_AsGML and ST_AsKML<BR>&gt;<BR>&gt; P<BR>&gt;<BR>&gt; On 3/17/08, davidj2k wrote:<BR>&gt; &gt;<BR>&gt; &gt; I am trying to use the AsGML and
 AsKML functions in PostGIS 1.3.2 I get<BR>&gt; this<BR>&gt; &gt; error when trying to use AsGML<BR>&gt; &gt;<BR>&gt; &gt; "ERROR: XX000: Only GML 2 and GML 3 are supported"<BR>&gt; &gt;<BR>&gt; &gt; The documentations says it is defined like this<BR>&gt; &gt; AsGML([version], geometry, [precision])<BR>&gt; &gt; But in the functions I see<BR>&gt; &gt;<BR>&gt; &gt; AsGML(geometry, int, int)<BR>&gt; &gt; I have tried calling it with and without a version number all seem to do<BR>&gt; the<BR>&gt; &gt; same thing.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Then I want to also call AsKML but that function does not appear to exist.<BR>&gt; &gt; I get this error<BR>&gt; &gt; "ERROR: 42883: function askml(geometry) does not exist"<BR>&gt; &gt; and I do not see it in the list of functions<BR>&gt; &gt;<BR>&gt; &gt; --<BR>&gt; &gt; View this message in context:<BR>&gt; http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html<BR>&gt; &gt; Sent from the PostGIS -
 User mailing list archive at Nabble.com.<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; _______________________________________________<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; Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it<BR>&gt; now.<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>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>