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

Function msLayerWhichShapes

maplayer.c:133–141  ·  view source on GitHub ↗

** Performs a spatial, and optionally an attribute based feature search. The function basically ** prepares things so that candidate features can be accessed by query or drawing functions. For ** OGR and shapefiles this sets an internal bit vector that indicates whether a particular feature ** is to processed. For SDE it executes an SQL statement on the SDE server. Once run the msLayerNextShape **

Source from the content-addressed store, hash-verified

131** connection type where this is feasible.
132*/
133int msLayerWhichShapes(layerObj *layer, rectObj rect, int isQuery)
134{
135 if ( ! layer->vtable) {
136 int rv = msInitializeVirtualTable(layer);
137 if (rv != MS_SUCCESS)
138 return rv;
139 }
140 return layer->vtable->LayerWhichShapes(layer, rect, isQuery);
141}
142
143/*
144** Called after msWhichShapes has been called to actually retrieve shapes within a given area

Callers 15

msQueryByAttributesFunction · 0.85
msQueryByFilterFunction · 0.85
msQueryByRectFunction · 0.85
msQueryByFeaturesFunction · 0.85
msQueryByPointFunction · 0.85
msQueryByShapeFunction · 0.85
msDrawVectorLayerFunction · 0.85
RebuildClustersFunction · 0.85
msTiledSHPWhichShapesFunction · 0.85
msRasterQueryByRectFunction · 0.85
msDrawChartLayerFunction · 0.85

Calls 1

msInitializeVirtualTableFunction · 0.85

Tested by

no test coverage detected