[mapserver-users] QUERY
Brian Fischer
bfischer at mpls.houstoneng.com
Fri May 24 11:38:18 PDT 2002
Randy,
There is no longer a Query object in version 3.6. You will need to move
the template under the Class or Layer object.
Hope that helps,
Brian
-----Original Message-----
From: randy james [mailto:rjames57 at yahoo.com]
Sent: Friday, May 24, 2002 12:56 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] QUERY
Hi
I've upgraded to version 3.6, and now I cannot seem to
figure out how to get query to work again i get the
following error.
loadLayer(): Unknown identifier. (QUERY):(416)
It was working before i upgraded, so i assume there
must be a new way for the query script? Im using the
following, to load the layer. (Or when i comment out
QUERY it works.)
# 6 layer {Recorded Archaeological Sites}
layer
data "arch2"
# description "Polygons of recorded Archaeological
Sites"
footer "arch_sites_footer.html"
header "arch_sites_header.html"
labelitem "BORDENNUMB"
labelmaxscale 600000
labelminscale 100
# labelsizeitem "2"
name "Recorded Sites"
status default
type polygon
# 1 class #none
CLASS
name 'Recorded Sites'
color 255 60 0
LABEL
# TYPE truetype
# FONT arial-bold
SIZE small
END
END
# 2 query #none
QUERY
template arch_sites.html
end
end
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
More information about the MapServer-users
mailing list