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

Function msIsLayerQueryable

mapquery.c:124–139  ·  view source on GitHub ↗

** msIsLayerQueryable() returns MS_TRUE/MS_FALSE */

Source from the content-addressed store, hash-verified

122** msIsLayerQueryable() returns MS_TRUE/MS_FALSE
123*/
124int msIsLayerQueryable(layerObj *lp)
125{
126 int i;
127
128 if ( lp->type == MS_LAYER_TILEINDEX )
129 return MS_FALSE;
130
131 if(lp->template && strlen(lp->template) > 0) return MS_TRUE;
132
133 for(i=0; i<lp->numclasses; i++) {
134 if(lp->class[i]->template && strlen(lp->class[i]->template) > 0)
135 return MS_TRUE;
136 }
137
138 return MS_FALSE;
139}
140
141static int addResult(resultCacheObj *cache, shapeObj *shape)
142{

Callers 14

msQueryByIndexFunction · 0.85
msQueryByAttributesFunction · 0.85
msQueryByFilterFunction · 0.85
msQueryByRectFunction · 0.85
msQueryByFeaturesFunction · 0.85
msQueryByPointFunction · 0.85
msQueryByShapeFunction · 0.85
msBuildWMSLayerURLBaseFunction · 0.85
generateGroupTemplateFunction · 0.85
generateLayerTemplateFunction · 0.85
generateClassTemplateFunction · 0.85
msDumpLayerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected