[Mapserver-users] How to use REQUIRES in mapfile?
nicolas.fortin at ec.gc.ca
nicolas.fortin at ec.gc.ca
Thu Dec 18 07:56:41 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_01C3C57F.8761FC10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
No answer yet...nobody use this element??
-----Message d'origine-----
De : nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca]=20
Envoy=E9 : Wednesday, December 17, 2003 3:20 PM
=C0 : mapserver-users at lists.gis.umn.edu
Objet : [Mapserver-users] How to use REQUIRES in mapfile?
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_01C3C57F.8761FC10
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 color=3D#0000ff size=3D2><SPAN =
class=3D049515715-18122003>No=20
answer yet...nobody use this element??</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Dfr dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
size=3D2>-----Message d'origine-----<BR><B>De :</B> =
nicolas.fortin at ec.gc.ca=20
[mailto:nicolas.fortin at ec.gc.ca] <BR><B>Envoy=E9 :</B> =
Wednesday, December=20
17, 2003 3:20 PM<BR><B>=C0 :</B>=20
mapserver-users at lists.gis.umn.edu<BR><B>Objet :</B> =
[Mapserver-users] How=20
to use REQUIRES in mapfile?<BR><BR></FONT></DIV>
<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=20
tried to use the REQUIRES element in my mapfile as seen in the =
Mapfile=20
Reference 4.0 (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=20
name 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=20
got:</SPAN></FONT></DIV>
<DIV><FONT size=3D+0><SPAN class=3D433181620-17122003>getString(): =
Symbol=20
definition error. Parsing error near ([15] !=3D 1):(line 94)=20
</SPAN></FONT></DIV>
<DIV><FONT size=3D+0><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=20
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=20
face=3DArial 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></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C3C57F.8761FC10--
More information about the MapServer-users
mailing list