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

Function mapObj_queryByIndex

mapscript/php/mapscript_i.c:200–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 }
199
200int mapObj_queryByIndex(mapObj *self, int qlayer, int tileindex, int shapeindex, int bAddToQuery) {
201 msInitQuery(&(self->query));
202
203 self->query.type = MS_QUERY_BY_INDEX;
204 self->query.mode = MS_QUERY_SINGLE;
205 self->query.tileindex = tileindex;
206 self->query.shapeindex = shapeindex;
207 self->query.clear_resultcache = !bAddToQuery;
208 self->query.layer = qlayer;
209
210 return msQueryByIndex(self);
211}
212
213int mapObj_saveQuery(mapObj *self, char *filename, int results) {
214 return msSaveQuery(self, filename, results);

Callers 1

map.cFile · 0.85

Calls 2

msInitQueryFunction · 0.85
msQueryByIndexFunction · 0.85

Tested by

no test coverage detected