[mapserver-users] itemquery in version 3.5 (FWD)
Thomas E. Burk
teb at mallit.fr.umn.edu
Wed Apr 10 13:20:27 PDT 2002
------------- Begin Forwarded Message -------------
Date: Wed, 10 Apr 2002 02:17:55 -0700 (PDT)
From: laurentiu lionte <llionte at yahoo.com>
Subject: itemquery in version 3.5
To: mapserver-info at lists.gis.umn.edu
MIME-Version: 1.0
I have an web application using MapServer version 3.11.
I've tryed to upgrade to MapServer 3.5 but itemquery does not work
at all.
Example 3 for itemquery in MapServer test suite uses version 3.11.
I've modified the map file by removing QUERY and moving template
in CLASS body.
Following message appears: "msQueryByAttributes(): Query error.
Requested layer has no filter defined. "
Could anyone make
http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html
to work under 3.5 version ??
my map file looks like this:
NAME locadr
SIZE 600 500
FONTSET fonts/fonts.list
SHAPEPATH "data"
SIZE 384 401
EXTENT -2475.0 280.0 20000.0 16546.0
WEB
IMAGEPATH "../tmp/"
IMAGEURL "/~laur/tmp/"
END
QUERYMAP
STATUS ON
STYLE HILITE
COLOR 255 255 0
END
REFERENCE
STATUS ON
IMAGE graphics/iasiref.png
SIZE 314 213 EXTENT 9000.00 9000.00 10000.00 10000.00
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END
#
# Start of symbol definitions (we're only using a few)
#
SYMBOL
NAME 'circle'
TYPE ELLIPSE
POINTS 1 1 END
FILLED TRUE
END
LAYER
NAME "clcar"
DATA clcar
STATUS ON
TYPE POLYGON
CLASS
NAME "cladiri"
OUTLINECOLOR 194 193 101
SIZE 4
COLOR 0 0 155
END # end of class object
END # end of layer object
LAYER
NAME "carosabil"
DATA carosabil
STATUS OFF
TYPE POLYGON
CLASS
NAME "carosabil"
OUTLINECOLOR 131 130 129
SIZE 4
COLOR 222 221 221
END # end of class object
END # end of layer object
LAYER
NAME "adrese"
DATA adrese
# FILTER "cod eq ^[cod]$"
STATUS OFF
TYPE POINT
CLASS
NAME "adrese"
SYMBOL 'circle'
MINSIZE 4
MAXSIZE 10
SIZE 7
COLOR 43 14 114
OUTLINECOLOR 220 43 25
TEMPLATE "findadr_template.html"
END # end of class object
END
END
thank you in advance
L.Lawrence
---------------------------------
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
------------- End Forwarded Message -------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020410/9479cc76/attachment.htm>
More information about the MapServer-users
mailing list