[Mapserver-users] Query problem in MapLab
Valerio Noti
noti at ciaoweb.it
Thu Jun 12 03:04:30 PDT 2003
Hi,
I'm new to Mapserver/MapLab.
i'm trying to build a web application with MapLab GMapFactory module.
I'm using MapServer 3.6.6 for win32, mapScript 3.6 dll and MapLab 2.0.1 on
IIS5.
I wrote mapfile with several shapefiles and the application seems to work
except
for the query button.
The layer section for shapefiles is as the following:
/********************************
LAYER
NAME "Region"
STATUS DEFAULT
DATA "Region"
TYPE POLYGON
CLASSITEM "Regione"
UNITS METERS
LABELITEM "Region"
CLASS
EXPRESSION /./
OUTLINECOLOR 128 128 128
COLOR 125 225 185
TEMPLATE "region.html"
LABEL
COLOR 0 0 0
SIZE tiny
FONT Arial
END
END
TOLERANCE 5
HEADER "region_header.html"
FOOTER "region_footer.html"
END
/********************************
When I try to query the map nothing happens and the browser gives me the
following error:
/********************************
"Property not supported by the object"
Raw 36
Char 9
http://192.168.1.51/maplab-2.0-release/projects/gmf_apps/toscana/toscana.pht
ml?layer_status%5B%5D=Regioni&PrevStateKey=BBOX%3D1570594.70743%2C4812069.21
037%2C1711125.72305%2C4952891.36545%7CSRS%3D%7CMAPSIZE%3D400%2C400%7CLAYERS%
3D0&NotFirstLoad=1&RosaMode=1&ROSA_CMD=QUERY&INPUT_TYPE=auto_rect&INPUT_COOR
D=241%2C334%3B241%2C334&QueryString=
/********************************
I opened phtml file and commented the line 36:
/********************************
// give it focus
mapquery.focus();
/********************************
After that nothing happens when I try to query the map.
I got the same error when I build the application in HTML without rosa
applet.
Any help appreciated
Thanks
Mario
More information about the MapServer-users
mailing list