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.ukT: +44 870 608 0063
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel