What is ids in imagemap example?
Trimble, Beheen
btrimble at SFWMD.GOV
Thu Sep 28 14:08:16 PDT 2006
Randy,
It is ids as in EXPRESSION ('[COUN]' in '%ids%')
I know COUN is an attribute in county shape file but I don't know where
the 'ids' variable is coming from and how it gets populated!
Thanks
Beheen
_____
From: Randy James [mailto:rjames57 at yahoo.com]
Sent: Thursday, September 28, 2006 5:03 PM
To: Trimble, Beheen
Cc: Mapserver Users
Subject: Re: [UMN_MAPSERVER-USERS] What is ids in imagemap example?
i believe id is the name of a variable, the two % show the start and the
end of the variable.
check out
http://umn.mapserver.ch/MapServer/en/syntax.htm
randy
"Trimble, Beheen" <btrimble at SFWMD.GOV> wrote:
Hey People,
I am still trying to make the mouseover works in my application!
Do you know what is %ids% in below map? Where this is defined?
Thanks
Beheen
MAP
NAME "TEST"
SIZE 380 450
EXTENT 180000 4816000 773000 5474000
UNITS METERS
IMAGECOLOR 252 252 252
SHAPEPATH "/r01/data/drs"
FONTSET "/usr/local/mapserver/fonts/fonts.list"
WEB
HEADER "templates/imagemap_header_example.html"
FOOTER "templates/imagemap_footer_example.html"
IMAGEPATH "/usr/local/www/docs_maps/tmp/"
IMAGEURL "/tmp/"
END
QUERYMAP
STATUS ON
STYLE NORMAL
END
LAYER
NAME county
STATUS OFF
DATA "data/bdry_counpy2_gen500"
TYPE
POLYGON
# LABELITEM "CTY_ABBR"
CLASS
EXPRESSION ('[COUN]' in '%ids%')
STYLE
COLOR "#BD9E5D" # "#A27528"
OUTLINECOLOR 50 50 50
END
END
CLASS
COLOR 255 255 255
OUTLINECOLOR 50 50 50
END
TEMPLATE "templates/county_example.html"
END # counties
END
_____
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
<http://us.rd.yahoo.com/evt=42297/*http:/advision.webevents.yahoo.com/ma
ilbeta>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060928/8f8ac385/attachment.htm>
More information about the MapServer-users
mailing list