[MAPSERVER-USERS] Mapserver does partial search of dbf file
JayDub
justcallmejay at gmail.com
Mon Jun 23 13:30:40 PDT 2008
Hi all, I'm having a severe problem with MapServer. It seems to only be
searching PARTS of a dbf file. Have a look at my layer.
LAYER
NAME "AllFaculties"
DATA '/home/jolly/web/shps/campus/mit/buildings.shp'
TRANSFORM true
CLASSITEM 'Name'
TYPE polygon
GROUP "AllFaculties"
METADATA
"queryable" "true"
"searchfield" "Name"
"fields" "Name:name,Category:cat"
END # METADATA
CLASS
TEMPLATE "template.html"
END # CLASS
END # LAYER
Simple and to the point... some how there are records in the dbf file that I
can't reach via search. I'm using kamap's search script that basically uses
mapscript's queryByAttributes(.....) to get results.
Id Category Name
0 Residence/Hall Karma Hall
0 Residence/Hall Terry Hall
Above is an extract of my dbf file... Mapserver finds the first record but
does not find the 2nd record. And that's generally how it is with my dbf
file. It'll find a record here and then not find a couple that follow after,
then it's able to find records that follow after.
Hope some one can help... coz this project was due 3 fridays ago and my boss
is a lil... perturbed (to be MOST diplomatic, and naive)
--
View this message in context: http://www.nabble.com/Mapserver-does-partial-search-of-dbf-file-tp18077780p18077780.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list