Quest for knowledge

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Mar 6 06:55:57 PST 2006


Gary Watry wrote:
> Good Morning
> 
> Is there a way using html or javascript that the end user can plot subset of
> data based on a column short of building a layer for each choice.
> 
> column is years, i.e 1992, 1992, 1994
> 
> they could [pick year]
> 
> thanks
> 
> p.s. I am learning PHP but can not use it yet
> 

If you are using mapserver CGI, you could create a form to select the 
year and return it in say YEAR variable, then in the layer you can set 
up a filter and reference %YEAR% in the mapfile and mapserver should do 
the substitution for you.

-Steve W.



More information about the MapServer-users mailing list