pkishor at GeoAnalytics.com
Tue Jul 17 17:07:00 EDT 2001
Thanks once again for your reply. Here are some specifics...
> Which version are you using? Itemquery is hosed in 3.5 but
I am using 3.4, which of course has its own related issues (existing docs
are for 3.3x, so a bunch of keywords are hit-and-miss). Anyway, I am using
3.4, not 3.5.
> of possiblities. Itemquery is really just a regular
> expression test. Value is the
> expression and item, is well, the item.
that is why I am so surprised that it doesn't work.
> map file. So, two things to check:
> - if not explicitly setting an extent then make sure the
> extent in your map file is
> all inclusive
I am not setting an explicit mapextent... simply using the all inclusive
default map extent. That said, I am not even reaching that far... I would be
happy if msQueryUsingItem() simply found the shape where item=MCD_NAME and
value=MADISON. Once it can query and find correctly, only then will I worry
about mapping that feature.
> - is there a query object defined for the layer mcds
I think so... it looks like so...
OUTLINECOLOR 128 128 128
COLOR 245 245 245
> Stephen Lime
> Internet Applications Analyst
> >>> Puneet Kishor <pkishor at GeoAnalytics.com> 07/17/01 03:16PM >>>
> I am defeated...
> I have a layer called "mcds" with an item called "MCD_NAME"
> and a value for
> that item called "MADISON".
> I am sending a url with
> but I keep getting
> msQueryUsingItem(): Search returned no results. No matching
> record(s) found.
> I know it is there (and, yes, I have preserved the case of
> the names and
> attributes correctly). Is there anyway to look at a debug
> string to figure
> out what the blessed Search is being performed with
> msQueryUsingItem()? What
> am I doing wrong?
> Many tia,
> Puneet Kishor
> pkishor at geoanalytics.com
> GeoAnalyics, Inc.
> 1716 Fordem Ave
> Madison WI 53704
More information about the mapserver-users