PostGIS
2.4.9dev-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->c*2] = k; \
tags[ctx->c*2+1] = kv->id; \
}
mvt_kv_key::hh
UT_hash_handle hh
Definition:
mvt.c:57
genraster.value
int value
Definition:
genraster.py:61
Definition at line
412
of file
mvt.c
.
Referenced by
parse_jsonb()
.
postgis
mvt.c
Generated by
1.8.13