bug or design: query returns classes that are OFF

John jkim at SCIENCES.SDSU.EDU
Mon Jul 11 21:47:28 EDT 2005


I have a polygon map with a vegetation layer, which is divided into several
classes. The user can turn classes on and off, so that only chosen types of
vegetation are visible. When I do layer->queryByPoint(), it returns
polygons whose status has been set to MS_OFF. Is that a bug? I was hoping
it would return only polygons whose class is set to MS_ON. As it is now, I
have to manually check (in PHP) to see if the polygon belongs to the class
that is supposed to be invisible.

Thanks.



More information about the mapserver-users mailing list