[MAPSERVER-USERS] Mapserver does partial search of dbf file
JayDub
justcallmejay at gmail.com
Mon Jun 23 14:09:47 PDT 2008
Nope, they don't fall outside the extent because they show up on the map. So
I'm paRetty sure they don't fall outside the extent.
Thanks for the suggestion tho
Fawcett, David wrote:
>
> Do the missing features fall outside of the extent defined in the map
> file? If they are not within the exent, they won't be returned by an
> item query (at least that is the way that it worked some time ago...)
>
> David.
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of JayDub
> Sent: Monday, June 23, 2008 3:31 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [MAPSERVER-USERS] Mapserver does partial search of dbf file
>
>
>
> 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-tp180777
> 80p18077780.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
View this message in context: http://www.nabble.com/Mapserver-does-partial-search-of-dbf-file-tp18077780p18078557.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list