Re: responsibility of main sorurce files
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