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

Function layerObj_queryByPoint

mapscript/php/mapscript_i.c:535–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533 }
534
535int layerObj_queryByPoint(layerObj *self, mapObj *map, pointObj *point, int mode, double buffer) {
536 int status;
537 int retval;
538
539 msInitQuery(&(map->query));
540
541 map->query.type = MS_QUERY_BY_POINT;
542 map->query.mode = mode;
543 map->query.point = *point;
544 map->query.buffer = buffer;
545 map->query.layer = self->index;
546
547 status = self->status;
548 self->status = MS_ON;
549 retval = msQueryByPoint(map);
550 self->status = status;
551
552 return retval;
553 }
554
555int layerObj_queryByRect(layerObj *self, mapObj *map, rectObj rect) {
556 int status;

Callers 1

layer.cFile · 0.85

Calls 2

msInitQueryFunction · 0.85
msQueryByPointFunction · 0.85

Tested by

no test coverage detected