That did the trick, thank you again<BR><BR><B><I>Paul Ramsey <pramsey@cleverelephant.ca></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>> I think I might know what the problem is, I am using a database that was<BR>> created in an older version of PostGIS and I restored from a file, is there<BR>> a simple way to update the functions in this database? I can see the<BR>> correct function in another database that was created in this version.<BR>><BR>> Paul Ramsey <PRAMSEY@CLEVERELEPHANT.CA>wrote:<BR>> 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 wrote:<BR>> > If I try that I get<BR>> > ERROR: 42883: function st_asgml(geometry) does not exist<BR>> ><BR>> > Paul Ramsey wrote:<BR>> > Try ST_AsGML and ST_AsKML<BR>> ><BR>> > P<BR>> ><BR>> > On 3/17/08, davidj2k wrote:<BR>> > ><BR>> > > I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get<BR>> > this<BR>> > > error when trying to use AsGML<BR>> > ><BR>> > > "ERROR: XX000: Only GML 2 and GML 3 are supported"<BR>> > ><BR>> > > The documentations says it is defined like this<BR>> > > AsGML([version], geometry, [precision])<BR>> > > But in the functions I see<BR>> > ><BR>> > > AsGML(geometry, int, int)<BR>> > > I have tried calling it with and without a version number all seem to do<BR>> > the<BR>> > > same thing.<BR>> > ><BR>> >
 ><BR>> > > Then I want to also call AsKML but that function does not appear to<BR>> exist.<BR>> > > I get this error<BR>> > > "ERROR: 42883: function askml(geometry) does not exist"<BR>> > > and I do not see it in the list of functions<BR>> > ><BR>> > > --<BR>> > > View this message in context:<BR>> ><BR>> http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html<BR>> > > Sent from the PostGIS - User mailing list archive at Nabble.com.<BR>> > ><BR>> > > _______________________________________________<BR>> > > postgis-users mailing list<BR>> > > postgis-users@postgis.refractions.net<BR>> > ><BR>> ><BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>> > ><BR>> > _______________________________________________<BR>> > postgis-users mailing list<BR>> >
 postgis-users@postgis.refractions.net<BR>> ><BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>> ><BR>> ><BR>> ><BR>> > ________________________________<BR>> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it<BR>> > now.<BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > postgis-users mailing list<BR>> > postgis-users@postgis.refractions.net<BR>> ><BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>> ><BR>> ><BR>> _______________________________________________<BR>> postgis-users mailing list<BR>> postgis-users@postgis.refractions.net<BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>><BR>><BR>><BR>> ________________________________<BR>> Never miss a thing. Make Yahoo your homepage.<BR>><BR>><BR>>
 _______________________________________________<BR>> postgis-users mailing list<BR>> postgis-users@postgis.refractions.net<BR>> http://postgis.refractions.net/mailman/listinfo/postgis-users<BR>><BR>><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>
      <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>