<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>David,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>We've had this error before.  I think its because you 
didn't run the lwpostgis_upgrade.sql script which should be located in 
\share\contri\postgis of your postgresql install.  I think that was 
how we fixed ours.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>Note your version says <FONT face="Times New Roman" 
color=#000000 size=3>RELPROC="1.3.3" (needs proc 
upgrade)"</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>Which means you are running the latest binaries but not the 
latest sql functions.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=156321417-16082008><FONT face=Arial 
color=#0000ff size=2>Leo</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of </B>David 
Calle<BR><B>Sent:</B> Friday, August 15, 2008 8:36 PM<BR><B>To:</B> PostGIS 
Users Discussion<BR><B>Subject:</B> [postgis-users] asGML 
Error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi List, <BR>I need to convert my geometry to GPS position.... I'm 
trying with <BR>asgml(geometry)<BR>But I have this error.. ERROR:  Only GML 
2 and GML 3 are supported<BR><BR>And this is my version of 
postgis..<BR>"POSTGIS="1.3.3" GEOS="3.0.0-CAPI-1.4.1" PROJ="Rel. 4.6.0, 21 Dec 
2007" USE_STATS DBPROC="0.3.0" RELPROC="1.3.3" (needs proc upgrade)"<BR><BR>I 
need this, because I need to generate a xml file with the GPS format of my 
points...<BR><BR>Thanks Advanced...!!  <BR></DIV></BODY></HTML>