[Mapserver-users] Itemquery question from a newbie

Fawcett, David David.Fawcett at state.mn.us
Tue Sep 9 09:58:15 EDT 2003


Do you have a working application based on this map file?  In other words, using the same Map file, can you get a map image to display the polygons in your shapefile?  

This might help you out with Richard's question about extents.  

David.

> ----------
> From: 	coldwell at csptexas.com[SMTP:coldwell at csptexas.com]
> Sent: 	Monday, September 08, 2003 10:28 PM
> To: 	mapserver-users at lists.gis.umn.edu
> Subject: 	Re: [Mapserver-users] Itemquery question from a newbie
> 
> 
> Thanks for your response. 
> 
> The answer is I hope so. I have used mapext=shapes in the URL, and that works
> in the Itasca demo.
> 
> 
> On 9/9/2003, "Richard Greenwood" <Rich at GreenwoodMap.com> wrote:
> 
> >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
> >
> >
> >
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list