[Mapserver-users] Filter
Sara Yurman
syurman at spatialfocus.com
Fri Sep 26 09:20:37 PDT 2003
I have the same GDAL problem with 4.0 described in
http://lists.gis.umn.edu/pipermail/mapserver-users/2003-September/006780.html,
and decided to drop a windows installation back to 3.6.6 as a result.
When I did so, a working application broke for lack of a FILTER and
FILTERITEM in the map file. Can anyone help me? I'm sure it's obvious,
but I'm missing it.
I've listed the evidence below.
Thanks in advance,
Sara
***************************Evidence begins****************************
The error messages from the log file:
[Fri Sep 26 11:53:36 2003] [error] [client 127.0.0.1] PHP Warning:
MapServer Error in msQueryByAttributes(): No matching record(s) found.
[Fri Sep 26 11:53:36 2003] [error] [client 127.0.0.1] in c:\program
files\apache group\apache\htdocs\gdot\mprocess.php on line 40
Line 40: always comes up empty. Didn't used to.
$qr = $layer->queryByAttributes( 'RCLINK', $rclink, MS_SINGLE);
The mapfile like this. I've tried all kinds of expressions on the
filter line to no avail.
map
name "allrds_lam"
extent -630528.581189 11668706.890001 823938.365190 13355184.981812
units feet
status on
size 600 600
imagecolor 255 255 255
layer
name "roads"
type line
status on
data "c:/gdot/data/allrds_lam"
filter ([RCLINK] ne "" )
filteritem "rclink"
class
name "rclink"
symbol 0
size 1
color 0 0 0
template dummy
end
end
end
*********************************evidence ends************************
More information about the MapServer-users
mailing list