131 LWGEOM *igeom = NULL, *ogeom = NULL;
133 POSTGIS_DEBUG(2,
"LWGEOM_line_desegmentize.");
141 PG_FREE_IF_COPY(geom, 0);
145 ret = geometry_serialize(ogeom);
147 PG_FREE_IF_COPY(geom, 0);
148 PG_RETURN_POINTER(ret);
LWGEOM * lwgeom_from_gserialized(const GSERIALIZED *g)
Allocate a new LWGEOM from a GSERIALIZED.
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_unstroke(const LWGEOM *geom)
Convert linearized type into arc type, de-linearizing the strokes where possible.