[postgis-devel] design of SERIALIZED_LWGEOM/LWGEOM/PG_LWGEOM

jiong xie_jiong at 163.com
Mon Apr 7 07:24:16 PDT 2008


I am reading postgis code of function LWGEOM_in: 
in older version: wkt -> PG_LWGEOM
in newer version: wkt -> SERIALIZED_LWGEOM -> LWGEOM -> PG_LWGEOM 

So my question are: 

(1)SERIALIZED_LWGEOM and PG_LWGEOM have the same serialized format except
for the member of size's position? 
(2) if SERIALIZED_LWGEOM for code isolation of parser and postgis, why not
use
wkt -> SERIALIZED_LWGEOM -> PG_LWGEOM directly?

any idea?
-- 
View this message in context: http://www.nabble.com/design-of--SERIALIZED_LWGEOM-LWGEOM-PG_LWGEOM-tp16537471p16537471.html
Sent from the PostGIS - Dev mailing list archive at Nabble.com.




More information about the postgis-devel mailing list