MapTools.org

[maplab-users] Re: [Mapserver-users] Query problem in MapLab

Paul Spencer spencer@dmsolutions.ca
Thu, 12 Jun 2003 07:45:51 -0400
Mario, please use the maplab-users mailing list to ensure a response for 
maplab-specific issues.

I've cc'd it here.  There may be a problem in maplab, we'll take a look 
and let you know.

Cheers,

Paul

Valerio Noti wrote:
> 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
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 

-- 
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca




This archive was generated by Pipermail.