mapfile - REQUIRES

Zamil Murji Zamil.Murji at DIVESTCO.COM
Tue Aug 17 09:53:52 PDT 2004


Although this works, it doesn't do what I expect.

I have a record that falls in wells and in rasterlogs. If I take out the requires, then two records are brought back by the query. I only want to query the rasterlogs layer if wells is turned off. With that REQUIRES, it still returns two records, when it should only return one.

Any suggestions?
Zamil


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
Behalf Of Uri H
Sent: Tuesday, August 17, 2004 10:49 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] mapfile - REQUIRES


Zamil,

Try using
   REQUIRES "![wells]"

Cheers,
- HU



More information about the MapServer-users mailing list