[postgis-devel] Why is lwgeom_transform static?
Paul Ramsey
pramsey at opengeo.org
Tue Jun 21 13:55:42 PDT 2011
Just a general policy of not advertising a lot of symbols that have
(at the time) no use beyond the module they are in. There are
probably a number of things now that should be made generally
available to other areas of the code base... perhaps the True
Organization of the code base should be ./postigs/geometry
./postgis/raster ./postgis/geography
So... yeah, you can open them up and make them available into Raster.
P.
On Tue, Jun 21, 2011 at 1:51 PM, Bryce L Nordgren <bnordgren at gmail.com> wrote:
> 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
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
More information about the postgis-devel
mailing list