[Geomoose-users] No Results Returned in Itemquery
Brent Fraser
bfraser at geoanalytic.com
Tue Mar 16 11:34:57 EDT 2010
Dave,
You may want to put some print/echo statements in query.php to make sure
things (layer names, attrbute names, etc) are configured as expected.
Brent Fraser
Dave Misun wrote:
> Hello GM Users,
>
> I'm trying to deploy a search function that will find a parcel by taxkey. I search on a particular taxkey number verbatim (copy & paste), but no items are returened. The error message and my application parameters are shown below.
>
> Any suggestions are greatly appreciated.
>
> Dave Misun
>
> Error Message:
> Warning: [MapServer Error]:
> msQueryByRect(): No matching record(s) found. in
> C:\ms4w\apps\geomoose2\htdocs\php\query.php
> on line 321 GeoMOOSE Item Query Service
>
> No results found for your query!
> --------------------------------------------------------------------------------------------------
> Settings.ini:
> [itemquery]
> itemquery_header=itemquery/header.html
> itemquery_footer=itemquery/footer.html
> itemquery_miss=itemquery/miss.html
>
> --------------------------------------------------------------------------------------------------
>
> Mapbook.xml:
> <service name="search_parcels">
> <url>php/query.php</url>
> <step type="input">
> <input type="select" name="fieldname0" title="Search By:">
> <option value="TAXKEY">TAXKEY</option>
> </input>
> <input type="hidden" name="comparitor0" value="like-icase"/>
> <input type="user" name="value0" title=""/>
> <input type="hidden" name="layer0" value="bloomfield/bloomfield_parcels"/>
> <input type="hidden" name="template0" value="itemquery"/>
>
> <input type="hidden" name="zoom_to_first" value="true"/>
> <input type="hidden" name="highlight" value="true"/>
> <input type="hidden" name="mode" value="search"/>
> </step>
> </service>
> --------------------------------------------------------------------------------------------------
>
> Mapfile:
> METADATA
> 'identify_record' 'identify_bloomfield_parcels.html'
> 'itemquery' 'search_bloomfield_parcels.html'
> END
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>
More information about the Geomoose-users
mailing list