[Mapserver-users] Itemquery question from a newbie

Richard Greenwood Rich at GreenwoodMap.com
Mon Sep 8 23:14:38 EDT 2003


At 07:18 PM 9/8/2003 -0600, you wrote:

>Are there special requirements for a shapefile used for an itemquery?
>
>I have a polygon shapefile which in the dbf has an attribute name of ACCT_.
>The attribute is a unique geo_id which is a string beginning with 'R'. Though
>I can display this information as a LABELITEM, and with a conventional query
>cause the polygon to be highlighted on a querymap, an itemquery with this
>data returns the message
>
>msQueryByAttributes(): Search returned no results. No matching record(s)
>found, layer and area of interest do not overlap.
>
>The performance is similar in both Mapserver 3.6 and 4.0 with appropriate
>changes in the query procedure. (I of course prefer the 4.0 style.)
>
>The map files and query url seem OK, since the map file works for zooming and
>click queries. And with appropriate file, layer, and column name changes the
>map and templates work as I want them to with the Itasca demo data. But they
>won't work with my local data!

Is the polygon within the extents that you have defined in your map file?

Rich



Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich <at> GreenwoodMap <dot> com
(307) 733-0203
http://www.GreenwoodMap.com 




More information about the mapserver-users mailing list