MobilityDB 1.1

◆ box2d_to_lwgeom()

LWGEOM * box2d_to_lwgeom ( GBOX box,
int  srid 
)

MobilityDB functions gserialized_func(...) corresponding to external PostGIS functions XXX_func(PG_FUNCTION_ARGS).

This avoids bypassing the function manager fmgr.c.

MobilityDB functions gserialized_func(...) corresponding to external PostGIS functions XXX_func(PG_FUNCTION_ARGS).

Note
PostGIS function: BOX2D_to_LWGEOM(PG_FUNCTION_ARGS)
With respect to the original PostGIS function we also set the SRID which is passed as an additional argument