[postgis-devel] SERIALIZED_FORM, where to read more or can anyone explain?

Paul Ramsey pramsey at cleverelephant.ca
Thu Jul 16 14:22:12 PDT 2009


The doco unfortunately didn't get moved with liblwgeom when the
directories were split. It's in the ./postgis/ subdirectory.

P.

On Thu, Jul 16, 2009 at 1:43 PM, <nicklas.aven at jordogskog.no> wrote:
> In liblwgeom.h some document : "SERIALIZED_FORM doc" is refered. Is there
> any? How to find it?.
>
> What I want to do is get the bbox in a function in measures.c. I tried :
> if ( getbox2d_p(SERIALIZED_FORM(geom1), &box1) &&
>             getbox2d_p(SERIALIZED_FORM(geom2), &box2) )
> from lwgeom_geos.c but the compiler complains about that I'm calling
> VARDATA, wich can't be found.
> I see that :
> #define SERIALIZED_FORM(x) ((uchar *)VARDATA((x)))
> on line 734 in liblwgeom.h refers to VARDATA.
>
> So, where to learn about SERIALIZED_FORM?
>
> Cheers
> Nicklas
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>



More information about the postgis-devel mailing list