[Mapserver-users] trouble with querymap

Frank Koormann frank.koormann at intevation.de
Thu Dec 19 06:00:56 PST 2002


David,

* David Rafkind <daver at umiacs.umd.edu> [021218 18:02]:
> hello all! a quasi-newbie question about mapserver 3.6.3:
> 
> I am trying to highlight point-selected features in a layer. I assume this
> happens by setting the "mode" cgi variable to "querymap". This is the URL 
> I am trying to use:
> 
> http://ironclad.umiacs.umd.edu:8000/cgi-bin/MapServer?mode=querymap&map=/ironclad/daver/lv/www/data/map-data/usa.map&layer=states&qlayer=states&slayer=states&mapsize=392+372&imgsize=392+372&mapext=-80.5194+38.22755141388174+-74.696+43.76184858611826&imgext=-80.5194+38.22755141388174+-74.696+43.76184858611826&img.x=196&img.y=186
> 

You can query only layers for which a template is defined.
By adding a "map_layer_0_template=%22%22" to your URL I get the result
map. 

In general this should go into your map file.

Regards,
                
        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)



More information about the MapServer-users mailing list