PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ LWGEOM_asGeoJson_old()

Datum LWGEOM_asGeoJson_old ( PG_FUNCTION_ARGS  )

Definition at line 422 of file lwgeom_export.c.

423 {
424  switch( PG_NARGS() )
425  {
426  case 2:
427  return DirectFunctionCall1(LWGEOM_asGeoJson, PG_GETARG_DATUM(1));
428  case 3:
429  return DirectFunctionCall2(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2));
430  case 4:
431  return DirectFunctionCall3(LWGEOM_asGeoJson, PG_GETARG_DATUM(1), PG_GETARG_DATUM(2), PG_GETARG_DATUM(3));
432  default:
433  elog(ERROR, "bad call in %s", __func__);
434  }
435  PG_RETURN_NULL();
436 }
Datum LWGEOM_asGeoJson(PG_FUNCTION_ARGS)

References LWGEOM_asGeoJson().

Here is the call graph for this function: