Definition at line 426 of file lwprint.c.
431 lwerror(
"Cannot convert a null point into formatted text.");
435 lwerror(
"Cannot convert an empty point into formatted text.");
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static char * lwdoubles_to_latlon(double lat, double lon, const char *format)
References getPoint2d_cp(), lwdoubles_to_latlon(), lwerror(), lwgeom_is_empty(), LWPOINT::point, POINT2D::x, and POINT2D::y.
Referenced by LWGEOM_to_latlon(), test_lwprint_assert_error(), and test_lwprint_assert_format().