PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwmmpoint_to_encoded_polyline()

static char * 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  char* 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
LWLINE * lwline_from_lwmpoint(int srid, const LWMPOINT *mpoint)
Definition: lwline.c:284
void lwline_free(LWLINE *line)
Definition: lwline.c:76
static char * lwline_to_encoded_polyline(const LWLINE *, int precision)
int32_t srid
Definition: liblwgeom.h:470

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: