[postgis-devel] what's the main job of lwgeom_api.c

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Thu Jun 19 03:51:45 PDT 2008


xie jiong wrote:
> I would prefer seperatre library and database in different directory.
> 
> Mark said: lwgeom_api.c contains the remainder of the LWGEOM functions which don't fit into the
> individual geometry categories such as lwline.c or lwcurve.c.
> 
> but how can we distinguish lwgeom.c and lwgeom_api.c? if lwgeom.c represents all the geom types,
> so some functions like lwgeom_hasZ put into lwgeom.c would be more proper.(just like base class in C++)
> 
> any idea?
> 
> Jiong

Not really. I have a very rough idea of what is in those files, but I've 
never looked deeper than fixing bugs. If we can build these files into a 
separate library, perhaps then it would be a good time to consider 
tidying them up.


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-devel mailing list