[mapserver-users] no query layer defined

Stefano Bonnin shpr at libero.it
Thu May 9 03:11:20 PDT 2002


Hi,

I'm trying to do an itemquery but I receive a

no query layer defined

error.

I have read another messages about this error but I haven't seen any clear
response.


My layer is the following:

.... other layers ....

LAYER
  NAME Comuni
  TYPE POLYGON

  STATUS ON
  DATA AdminBndyB
  MINSCALE 10000
  MAXSCALE 1000000
  CLASS
     NAME "Comuni"
     COLOR 225 225 225
     OUTLINECOLOR 0 0 0
     TEMPLATE "marketQ_comuni.html"
  END
END

.... other layers ....

and I send the following parameters to mapserver:

http://212.110.56.34:81/cgi-bin/mapserv.exe?imagewidth=400&imageheight=300&I
NPUT_TYPE=&INPUT_COORD=&mode=browse&zoomdir=1&zoomsize=2&imgxy=199.5+149.5&i
mgext=4.835673+35.492100+20.292527+47.095100&map=C%3A%5CProgram+Files%5CApac
he+Group%5CApache%5Chtdocs%5Cmarket%5Chtdocs%5Cgmap75.map&mapext=shapes&save
query=true&layer=Italy&mode=itemquery&item=POLY_NM&value=Torino


POLY_NM is an AdminBndyB.shp attribute.

Thanks.



---
Outgoing mail is certified Virus Free. (FLASHH!)
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/02




More information about the MapServer-users mailing list