[Mapserver-users] How to use REQUIRES in mapfile?

nicolas.fortin at ec.gc.ca nicolas.fortin at ec.gc.ca
Wed Dec 17 12:20:23 PST 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3C4DB.3353FCD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi list,
=20
I have two layers using the same grid and I only want one of them on =
the map
at a time so I tried to use the REQUIRES element in my mapfile as seen =
in
the Mapfile Reference 4.0 (07-02-2003) :
REQUIRES ([15] !=3D 1)
Where 15 is the name of the layer using the same grid
=20
And I got:
getString(): Symbol definition error. Parsing error near ([15] !=3D =
1):(line
94)=20
=20
How can I use this element?
Thx,

Nicolas Fortin=20
Math=E9maticien, Programmeur, Analyste de donn=E9es=20
SMC-Qu=E9bec Hydrologie, Environnement Canada=20
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20
(418)648-2516=20
nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca
<mailto:nicolas.fortin at ec.gc.ca> >=20

=20

------_=_NextPart_001_01C3C4DB.3353FCD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D433181620-17122003>Hi=20
list,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D433181620-17122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D433181620-17122003>I =
have two layers=20
using the same grid and I only want one of them on the map at a time so =
I tried=20
to use the REQUIRES element in my mapfile as seen in the Mapfile =
Reference 4.0=20
(07-02-2003) :</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D433181620-17122003>REQUIRES ([15] !=3D=20
1)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D433181620-17122003>Where =
15 is the name=20
of the layer using the same grid</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D433181620-17122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D433181620-17122003>And I =

got:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D433181620-17122003>getString(): Symbol =
definition error.=20
Parsing error near ([15] !=3D 1):(line 94) </SPAN></FONT></DIV>
<DIV><FONT><SPAN class=3D433181620-17122003></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D433181620-17122003>How =
can I use this=20
element?</SPAN></FONT></DIV>
<DIV><SPAN class=3D433181620-17122003><FONT face=3DArial=20
size=3D2>Thx,</FONT></SPAN></DIV>
<P><B><I><FONT face=3D"Bookman Old Style" color=3D#000080 =
size=3D2>Nicolas=20
Fortin</FONT></I></B><I></I> <BR><B><FONT face=3DArial =
size=3D1>Math=E9maticien,=20
Programmeur, Analyste de donn=E9es</FONT></B> <BR><B><FONT face=3DArial =

size=3D1>SMC-Qu=E9bec Hydrologie, Environnement Canada</FONT></B> =
<BR><B><FONT=20
face=3DArial size=3D1>1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V =
4H5</FONT></B>=20
<BR><B><FONT face=3DArial size=3D1>(418)648-2516</FONT></B> =
<BR><U><FONT face=3DArial=20
color=3D#0000ff size=3D1>nicolas.fortin at ec.gc.ca <<A=20
href=3D"mailto:nicolas.fortin at ec.gc.ca">mailto:nicolas.fortin at ec.gc.ca</=
A>></FONT></U>=20
</P>
<DIV> </DIV></BODY></HTML>

------_=_NextPart_001_01C3C4DB.3353FCD0--



More information about the MapServer-users mailing list