[postgis-users] ST_AsKML changes in 1.3.3

Obe, Regina robe.dnd at cityofboston.gov
Tue Nov 18 20:50:49 PST 2008


Dylan,

ST_AsKML(geometry) works for me fine in 1.3.3 and 1.3.4.  Are you sure you ran the lwpostgis_upgrade.sql file last time you upgraded your db.

I recall ST_AsKML... throwing an error if you didn't upgrade the procs.  You can tell by running 

SELECT postgis_full_version()

If it says something like upgrade procs.  Then it means you didn't upgrade the procs.

Hope that helps,
Regina


-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net on behalf of Dylan Beaudette
Sent: Tue 11/18/2008 2:52 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] ST_AsKML changes in 1.3.3
 
OK. What is going on with AsKML in PostGIS 1.3.3 ? It looks like there
are two new mandatory arguments (version and precision), and the
function name is prefixed by an underscore.

This used to work:

ST_AsKML(geometry)


Now this is the only way to invoke the function:

_ST_AsKML(2, geometry, precision)

I noticed that this is not in the online documentation [1]. Any ideas
on what prompted this change, or when it will be documented? Could I
be looking in the wrong places?

Cheers,

Dylan

1. http://postgis.refractions.net/documentation/manual-1.3/ch06.html
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20081118/fd698ef7/attachment.html>


More information about the postgis-users mailing list