Definition at line 38 of file cu_out_geojson.c.
References cu_error_msg, cu_error_msg_reset(), LW_PARSER_CHECK_NONE, lwfree(), lwgeom_free(), lwgeom_from_wkt(), and lwgeom_to_geojson().
Referenced by out_geojson_test_geoms().
47 fprintf(stderr,
"\nIn: %s\nOut: %s\nTheo: %s\n",
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_PARSER_CHECK_NONE
void cu_error_msg_reset()
char * lwgeom_to_geojson(const LWGEOM *geo, char *srs, int precision, int has_bbox)
Takes a GEOMETRY and returns a GeoJson representation.
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]