[mapserver-users] STATUS QUERYONLY

Pericles S. Nacionales pnaciona at gis.umn.edu
Wed Oct 31 19:01:21 EST 2001


Dan,

I think 'STATUS QUERYONLY' no longer exists in MapServer 3.5.  QUERY
templates have also been sucked up by the CLASS object.  So, perhaps you
can create a LAYER with 'STATUS DEFAULT' and have a CLASS with transparent
polygons...  something like this:

CLASS
  NAME 'queryonlylayer'
  TEMPLATE sometemplate.html
  COLOR -1 -1 -1
END

I've never done this before.  There  might actually be a simpler way than
this.  

Good luck!

Perry N.


On Wed, 31 Oct 2001, Dan Liu wrote:

> Hi all,
> There is always error on the line "STATUS QUERYONLY".The error message is "getSymbol(): Symbol definition error. (QUERYONLY):(68) ".  
> 
> LAYER
> NAME cou
> TYPE POLYGON
> STATUS QUERYONLY
> DATA /home/httpd/html/DPM/cou
> QUERY
> ....
> END
> END
> 
> 
> Could somebody tell me what is wrong?
> Thanks!
> Dan
> 





More information about the mapserver-users mailing list