MCPcopy Index your code
hub / github.com/MapServer/MapServer / msUnionLayerGetItems

Function msUnionLayerGetItems

mapunion.c:569–579  ·  view source on GitHub ↗

Query for the items collection */

Source from the content-addressed store, hash-verified

567
568/* Query for the items collection */
569int msUnionLayerGetItems(layerObj *layer)
570{
571 /* we support certain built in attributes */
572 layer->numitems = 2;
573 layer->items = malloc(sizeof(char*) * (layer->numitems));
574 MS_CHECK_ALLOC(layer->items, layer->numitems * sizeof(char*), MS_FAILURE);
575 layer->items[0] = msStrdup(MSUNION_SOURCELAYERNAME);
576 layer->items[1] = msStrdup(MSUNION_SOURCELAYERGROUP);
577
578 return msUnionLayerInitItemInfo(layer);
579}
580
581int msUnionLayerGetNumFeatures(layerObj *layer)
582{

Callers

nothing calls this directly

Calls 2

msStrdupFunction · 0.85
msUnionLayerInitItemInfoFunction · 0.85

Tested by

no test coverage detected