PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ MVT_PARSE_VALUE

#define MVT_PARSE_VALUE (   value,
  kvtype,
  hash,
  valuefield,
  size 
)
Value:
{ \
POSTGIS_DEBUG(2, "MVT_PARSE_VALUE called"); \
{ \
struct kvtype *kv; \
HASH_FIND(hh, ctx->hash, &value, size, kv); \
if (!kv) \
{ \
POSTGIS_DEBUG(4, "MVT_PARSE_VALUE value not found"); \
kv = palloc(sizeof(*kv)); \
POSTGIS_DEBUGF(4, "MVT_PARSE_VALUE new hash key: %d", \
ctx->values_hash_i); \
kv->id = ctx->values_hash_i++; \
kv->valuefield = value; \
HASH_ADD(hh, ctx->hash, valuefield, size, kv); \
} \
tags[ctx->row_columns*2] = k; \
tags[ctx->row_columns*2+1] = kv->id; \
} \
}
int value
Definition: genraster.py:61

Definition at line 459 of file mvt.c.