[Mapserver-users] Nested Layers and AVL legend files

Ganesh Ganesh
Thu Feb 26 18:57:02 EST 2004


 This is a multipart mime message


--Next_1077839822---0-202.54.124.151-12261
Content-type: text/html;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<P>=0AHi<BR>=0A<BR>=0AI am currently using Mapserver 4.0 with PHP/Mapscript=
 and GDAL on RedHat Linux 9.0. <BR>=0A<BR>=0A1. My first problem is how to =
use shape file and a few .AVL files associated with that shape file to disp=
lay different maps and their corresponding legends. In ArcView, when i view=
 the shape file with different attributes layers and corresponding AVL file=
, i get different maps and color legends. How should i do this in mapserver=
 ?<BR>=0A <BR>=0A2. Currently, we have a few layers one after the other, bu=
t as we are planning to have many layers, we would like to show as files wi=
th in a folder. <BR>=0AFor eg.,<BR>=0A&nbsp; &nbsp; + Road<BR>=0A&nbsp; &nb=
sp; &nbsp; &nbsp; - Interstate<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; - State Hi=
ghways<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; - Local roads&nbsp; &nbsp; &nbsp; =
 <BR>=0A&nbsp; &nbsp; + Water<BR>=0A&nbsp; &nbsp; &nbsp; &nbsp; - Lakes<BR>=
=0A&nbsp; &nbsp; &nbsp; &nbsp; - Rivers<BR>=0A&nbsp; &nbsp; So, if i click =
on Roads, it should expand and show the 3 layers under it with checkboxes. =
Otherwise it should be just displaying Roads and not the layers under it. H=
ow can we do this ?&nbsp; &nbsp; <BR>=0A<BR>=0AI have been looking on the g=
oogle for a few days but couldnt find anything useful. And we are in need o=
f finishing this very soon.<BR>=0A<BR>=0ACan anyone help me on these issues=
 ? If possible can you send me some example code or may be as to how to app=
roach for this problem.<BR>=0AAny help is greatly appreciated.<BR>=0A<BR>=
=0AThanks <BR>=0AGanesh<BR>=0A=0A</P>=0A<br><br>=0A<A target=3D"_blank" HRE=
F=3D"http://clients.rediff.com/signature/track_sig.asp"><IMG SRC=3D"http://=
ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm at B=
ottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0 HEIGHT=3D74 WIDTH=3D496></a>=0A
--Next_1077839822---0-202.54.124.151-12261
Content-type: text/plain;
	charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi=0A=0AI am currently using Mapserver 4.0 with PHP/Mapscript and GDAL on R=
edHat Linux 9.0. =0A=0A1. My first problem is how to use shape file and a f=
ew .AVL files associated with that shape file to display different maps and=
 their corresponding legends. In ArcView, when i view the shape file with d=
ifferent attributes layers and corresponding AVL file, i get different maps=
 and color legends. How should i do this in mapserver ?=0A =0A2. Currently,=
 we have a few layers one after the other, but as we are planning to have m=
any layers, we would like to show as files with in a folder. =0AFor eg.,=0A=
    + Road=0A        - Interstate=0A        - State Highways=0A        - Lo=
cal roads       =0A    + Water=0A        - Lakes=0A        - Rivers=0A    S=
o, if i click on Roads, it should expand and show the 3 layers under it wit=
h checkboxes. Otherwise it should be just displaying Roads and not the laye=
rs under it. How can we do this ?    =0A=0AI have been looking on the googl=
e for a few days but couldnt find anything useful. And we are in need of fi=
nishing this very soon.=0A=0ACan anyone help me on these issues ? If possib=
le can you send me some example code or may be as to how to approach for th=
is problem.=0AAny help is greatly appreciated.=0A=0AThanks =0AGanesh=0A
--Next_1077839822---0-202.54.124.151-12261--




More information about the mapserver-users mailing list