PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ parse_datum_as_string()

static void parse_datum_as_string ( mvt_agg_context ctx,
Oid  typoid,
Datum  datum,
uint32_t tags,
uint32_t  k 
)
static

Definition at line 485 of file mvt.c.

References add_value_as_string(), and genraster::value.

Referenced by parse_values().

487 {
488  Oid foutoid;
489  bool typisvarlena;
490  char *value;
491  POSTGIS_DEBUG(2, "parse_value_as_string called");
492  getTypeOutputInfo(typoid, &foutoid, &typisvarlena);
493  value = OidOutputFunctionCall(foutoid, datum);
494  POSTGIS_DEBUGF(4, "parse_value_as_string value: %s", value);
495  add_value_as_string(ctx, value, tags, k);
496 }
static void add_value_as_string(mvt_agg_context *ctx, char *value, uint32_t *tags, uint32_t k)
Definition: mvt.c:464
int value
Definition: genraster.py:61
Here is the call graph for this function:
Here is the caller graph for this function: