PostGIS  2.4.9dev-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.

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

Referenced by lwgeom_to_encoded_polyline().

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 }
void lwline_free(LWLINE *line)
Definition: lwline.c:76
static char * lwline_to_encoded_polyline(const LWLINE *, int precision)
LWLINE * lwline_from_lwmpoint(int srid, const LWMPOINT *mpoint)
Definition: lwline.c:290
uint8_t precision
Definition: cu_in_twkb.c:25
int32_t srid
Definition: liblwgeom.h:467
Here is the call graph for this function:
Here is the caller graph for this function: