re[postgis-devel] sponsibility of main sorurce files

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Apr 7 08:42:09 PDT 2008


On Monday 07 April 2008 13:41:33 jiong wrote:
> There are also many to and from ewkt and ewkb funs spread in differnet
> source files, i dont understand why do so? such as
>
> LWGEOM_to_bytea in lwgeom_inout.c   -> PG_LWGEOM to ewkb
> pglwgeom_to_ewkb in lwgeom_pg.c      -> PG_LWGEOM to ewkb
>
> LWGEOM_asEWKT in lwgeom_basic.c    -> PG_LWGEOM to ewkt
> LWGEOM_to_text in lwgeom_inout.c     -> PG_LWGEOM to ewkt

Good question. I remember looking at the input/output functions whilst delving 
into the parser a while back and noticing that there was a lot of overlap. 
Unfortunately I wasn't really involved with writing them so can't comment 
much further :(


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