PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ do_geojson_unsupported()

static void do_geojson_unsupported ( char *  in,
char *  out 
)
static

Definition at line 32 of file cu_out_geojson.c.

33{
35 lwvarlena_t *v = lwgeom_to_geojson(g, NULL, 0, 0);
36
39
40 lwfree(v);
41 lwgeom_free(g);
42}
void cu_error_msg_reset()
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
#define ASSERT_STRING_EQUAL(o, e)
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1246
#define LW_PARSER_CHECK_NONE
Definition liblwgeom.h:2149
lwvarlena_t * lwgeom_to_geojson(const LWGEOM *geo, const char *srs, int precision, int has_bbox)
Takes a GEOMETRY and returns a GeoJson representation.
void lwfree(void *mem)
Definition lwutil.c:248
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition lwin_wkt.c:940

References ASSERT_STRING_EQUAL, 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().

Here is the call graph for this function:
Here is the caller graph for this function: