[postgis-users] asGML Error

David Calle davydky at gmail.com
Fri Aug 15 18:04:49 PDT 2008


Hi Dane...

Yeah... I'm using OpenLayers....
I'neet to use the Track Point Marker example where the xml file it't
indispensable...
But for example>
                the coords of my city in my xml file
                             713620.5057, 9673754.1986
               and the coords of my city in the example map
                       -79.86664 -20.54546

Because I'm using this function
            x(the_geom), y(the_geom)

If I use asewkb(the_geom)>
   "\001\001\000\000 -a\000\000\240}3a\031\027&A;\347\243\012AxbA"

And with asewkt(the_geom)>

"SRID=24877;POINT(723852.689845968 9683464.33250772)"




2008/8/15 Dane Springmeyer <blake at hailmail.net>

> Hi David,
>
> I'm not sure about that error, but if you are exporting from postgis to be
> able to be read into an OpenLayers map you can also  use the WKT format, as
> well as GeoJson and KML.
>
> So, you are not web to GML.
>
> Cheers,
>
> Dane
>
>
> On Aug 15, 2008, at 5:35 PM, David Calle wrote:
>
>  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
>>
>
> _______________________________________________
> 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/20080815/a0774e13/attachment.html>


More information about the postgis-users mailing list