Definition at line 35 of file lwout_encoded_polyline.c.
36{
38 switch (type)
39 {
44 default:
45 lwerror(
"lwgeom_to_encoded_polyline: '%s' geometry type not supported",
47 return NULL;
48 }
49}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
void void lwerror(const char *fmt,...) __attribute__((format(printf
Write a notice out to the error handler.
static lwvarlena_t * lwmmpoint_to_encoded_polyline(const LWMPOINT *, int precision)
static lwvarlena_t * lwline_to_encoded_polyline(const LWLINE *, int precision)
References LINETYPE, lwerror(), lwline_to_encoded_polyline(), lwmmpoint_to_encoded_polyline(), lwtype_name(), MULTIPOINTTYPE, precision, and LWGEOM::type.
Referenced by do_encoded_polyline_test(), and LWGEOM_asEncodedPolyline().