[mapserver-users] Problem with TestSuite itemquery/
gabriel
gabriel at ciasc.gov.br
Thu Apr 18 12:18:01 PDT 2002
Hi "Untung Rasidin"
I use to convert MAPINFO file to SHAPE, using Universal Translator in
MapInfo.
I have perceived that a described attribute with more than eight characters
the MapServer does not recognize.
Thus, transforms ABBREVNAME for ABBRNAME, and try again.
I do not know explain why.
Ferrari, Gabriel
----- Original Message -----
From: "Untung Rasidin" <urasidin at email.com>
To: <mapserver-users at lists.gis.umn.edu>
Cc: <steve.lime at dnr.state.mn.us>
Sent: Thursday, April 18, 2002 4:05 AM
Subject: [mapserver-users] Problem with TestSuite itemquery/
> Hi, All
>
> I have tried TestSuite from
http://maps.dnr.state.mn.us/mapserver_demos/tests
> using mapserv_3.3,mapserv_3.4,and mapserv_3.5, but all failed. Here are
the error messages:
>
> -using mapserv_3.3/mapserv_3.4:
> Error message:
> msQueryUsingItem(): Search returned no results. No matching record(s)
found
>
> here is my input form:
>
> <form method=GET action="/cgi-bin/mapserv">
> MAPSERVER VERSION 3.3<BR>
> <input type="hidden" name="map"
value="/var/www/html/ms_demo/baleendah/world3_3.map">
> <input type="hidden" name="mode" value="itemquery">
> <input type="hidden" name="item" "value="ABBREVNAME">
> PICK A COUNTRY:<BR>
> <SELECT name="value">
> <option>Vietnam</option>
> <option>Indonesia</option>
> <option>Cina</option>
> <option>USA</option>
> </SELECT>
> <input type="submit" value="GO!">
> </form>
>
> ABBREVNAME IS the attrribute in world94.shp (world94.shp from Esri
tutorial/Arcview) shape file.
>
> -using mapserv_3.5:
> Error massage:
> loadLayer(): Unknown identifier. (QUERY):(58)
>
> I have modified the map file for mapserv_3.5, without attribute QUERY, and
the result is:
> msQueryByAttributes(): General error message. No query layer defined.
>
> I try to add this input to the form:
> <input type="hidden" name="qlayer" "value="world94">
> the result is:
> msQueryByAttributes(): Query error. Requested layer has no filter defined.
>
> Myquestion is:
> - what version of mapserver should be used for that Test Suite, or what
wrong with these?
> - how to use attribute FILTER in map file? I have tried alot of trial and
error, but never success.
> Would you give me a similar example (just a simple test for itemquery )
for mapserver version 3.5, please.
>
> --
>
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Email.com
> http://www.email.com/?sr=signup
More information about the MapServer-users
mailing list