Definition at line 1263 of file mvt.c.
1264{
1265 if (ctx1 || ctx2)
1266 {
1267 if (ctx1 && ! ctx2) return ctx1;
1268 if (ctx2 && ! ctx1) return ctx2;
1269 if (ctx1 && ctx2 && ctx1->
tile && ctx2->
tile)
1270 {
1274 return ctxnew;
1275 }
1276 else
1277 {
1278 elog(DEBUG2,
"ctx1->tile = %p", ctx1->
tile);
1279 elog(DEBUG2,
"ctx2->tile = %p", ctx2->
tile);
1280 elog(ERROR, "%s: unable to combine contexts where tile attribute is null", __func__);
1281 return NULL;
1282 }
1283 }
1284 else
1285 {
1286 return NULL;
1287 }
1288}
static VectorTile__Tile * vectortile_tile_combine(VectorTile__Tile *tile1, VectorTile__Tile *tile2)
References mvt_agg_context::tile, and vectortile_tile_combine().
Referenced by pgis_asmvt_combinefn().