[mapserver-users] No query layer defined.

toni hernández toni at giscampus.udg.es
Mon Sep 17 08:36:55 PDT 2001


Hi everybody,

I am just about to abandon. :-(
I have mapserver version 3.5 and I am trying to select some streets in the
map using a  simple html form but I get this message:
"msQueryByAttributes(): General error message. No query layer defined. "

Here is the layer in question.

LAYER
    NAME carrers
    TYPE LINE
    STATUS DEFAULT
    DATA carrers
    LABELITEM "Nomsencerc"
    CLASS
      COLOR 128 40 40
      LABEL
        COLOR 0 0 0
    OUTLINECOLOR 255 255 230
    MINSIZE 4
    MINDISTANCE 100
    MAXSIZE 8
    MINFEATURESIZE 100
    MINFEATURESIZE AUTO
    BUFFER 2
      END
    END
 TEMPLATE case4_template.html
  END


Anyone knows?




More information about the MapServer-users mailing list