[postgis-users] AsGML and AsKML not working in 1.3.2?

David Jordan davidj2k at yahoo.com
Mon Mar 17 12:13:43 PDT 2008


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?  I can see the correct function in another database that was created in this version.

Paul Ramsey <pramsey at cleverelephant.ca> wrote:  select postgis_full_version().

I am seeing it work just fine on my installation...

pramsey=# select st_asgml(test_geom) from test;


On 3/17/08, David Jordan wrote:
> If I try that I get
> ERROR: 42883: function st_asgml(geometry) does not exist
>
> Paul Ramsey 
wrote:
> Try ST_AsGML and ST_AsKML
>
> P
>
> On 3/17/08, davidj2k wrote:
> >
> > I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get
> this
> > error when trying to use AsGML
> >
> > "ERROR: XX000: Only GML 2 and GML 3 are supported"
> >
> > The documentations says it is defined like this
> > AsGML([version], geometry, [precision])
> > But in the functions I see
> >
> > AsGML(geometry, int, int)
> > I have tried calling it with and without a version number all seem to do
> the
> > same thing.
> >
> >
> > Then I want to also call AsKML but that function does not appear to exist.
> > I get this error
> > "ERROR: 42883: function askml(geometry) does not exist"
> > and I do not see it in the list of functions
> >
> > --
> > View this message in context:
> http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html
> > Sent from the PostGIS - User mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > 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
>
>
>
> ________________________________
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.
>
>
> _______________________________________________
> 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


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080317/b64949f1/attachment.html>


More information about the postgis-users mailing list