[postgis-users] asGML Error

David Calle davydky at gmail.com
Sat Aug 16 10:46:07 PDT 2008


Ok, guys..
I resolved my problem... with the transform of the data...
       select x(transform(the_geom,24877))

And with that data I completed my xml file....

<item>
             <geo:lat>-2.8849877900038</geo:lat>
              <geo:long>-79.0611279883398</geo:long>
              <title>2008-08-01 05:08:48</title>
            <description>16.540</description>
</item>

And with OpenLayers..!
   http://www.openlayers.org/dev/examples/point-track-markers.html

Thaks... guys!   = )


2008/8/16 Paragon Corporation <lr at pcorp.us>

>  David,
>
> 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.
>
> Note your version says RELPROC="1.3.3" (needs proc upgrade)"
>
> Which means you are running the latest binaries but not the latest sql
> functions.
>
> Hope that helps,
> Leo
>
>  ------------------------------
> *From:* postgis-users-bounces at postgis.refractions.net [mailto:
> postgis-users-bounces at postgis.refractions.net] *On Behalf Of *David Calle
> *Sent:* Friday, August 15, 2008 8:36 PM
> *To:* PostGIS Users Discussion
> *Subject:* [postgis-users] asGML Error
>
>  Hi List,
> I need to convert my geometry to GPS position.... I'm trying with
> asgml(geometry)
> But I have this error.. ERROR:  Only GML 2 and GML 3 are supported
>
> And this is my version of postgis..
> "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)"
>
> I need this, because I need to generate a xml file with the GPS format of
> my points...
>
> Thanks Advanced...!!
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080816/ffc189f2/attachment.html>


More information about the postgis-users mailing list