[mapserver-users] Can't get any Results from a simple query

Thomasch thomaschx at gmx.de
Thu Aug 20 13:25:03 EDT 2009


Hi,
I'm quite new in Mapserver, so sorry for this simple question:

I use the Itasca Demo with my own little map, containing just a few 
layers. The layers are displayed and labeld, so the connection is ok.
But, if I try to query an Object, i always get:
"msQueryByPoint(): Search returned no results. No matching record(s) found"

I think I should get the geomety data at least?

Here is the Layer part of my map file:

Code:
    LAYER
     NAME         orte
     DATA         orte
     STATUS       ON
     TYPE         POLYGON
     LABELITEM "orte"
     CLASSITEM "orte"

     METADATA
         qstring_validation_pattern '.'
     END
     TOLERANCE 300
     CLASS
       NAME       'orte'
       TEMPLATE "TP.html"
       STYLE
    COLOR        232 252 232
    OUTLINECOLOR 32 32 32
       END
       LABEL
         COLOR 0 0 0
         SHADOWCOLOR 218 218 218
         SHADOWSIZE 2 2
         TYPE BITMAP
         SIZE MEDIUM
         POSITION CC
         PARTIALS TRUE
         BUFFER 2
       END
     END
   END


Thanks in advance



Thomasch


More information about the mapserver-users mailing list