[postgis-devel] Why is lwgeom_transform static?

Bryce L Nordgren bnordgren at gmail.com
Tue Jun 21 13:51:43 PDT 2011


I'm trying to write C code which transforms geometries (LWPOLYs from
rt_raster_get_convex_hull, actually), and I note that most of the handy
support code in lwgeom_transform.c is protected. This includes things like a
handy cache of projections which could prevent some database queries if I
was allowed to use it.

Was this an intentional design decision or is this just coincidence?

Bryce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110621/9b6b5957/attachment.html>


More information about the postgis-devel mailing list