PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwmmpoint_to_encoded_polyline()

static lwvarlena_t * lwmmpoint_to_encoded_polyline ( const LWMPOINT mpoint,
int  precision 
)
static

Definition at line 58 of file lwout_encoded_polyline.c.

59{
60 LWLINE* line = lwline_from_lwmpoint(mpoint->srid, mpoint);
61 lwvarlena_t *encoded_polyline = lwline_to_encoded_polyline(line, precision);
62
63 lwline_free(line);
64 return encoded_polyline;
65}
static uint8_t precision
Definition cu_in_twkb.c:25
void lwline_free(LWLINE *line)
Definition lwline.c:67
LWLINE * lwline_from_lwmpoint(int32_t srid, const LWMPOINT *mpoint)
Definition lwline.c:285
static lwvarlena_t * lwline_to_encoded_polyline(const LWLINE *, int precision)
int32_t srid
Definition liblwgeom.h:534

References lwline_free(), lwline_from_lwmpoint(), lwline_to_encoded_polyline(), precision, and LWMPOINT::srid.

Referenced by lwgeom_to_encoded_polyline().

Here is the call graph for this function:
Here is the caller graph for this function: