[mapserver-users] querymap mode
Grzegorz Myrda
mapadm at polsl.gliwice.pl
Wed May 9 01:35:17 PDT 2001
Yap, I know. It was clarified a few times on the list.
But In my opinion querymaps are not exactly normal maps.
The way they are generated has some consequences.
Differences are:
-itemquerymap returns just image, not template, so mapserv is called 2 times (first to return template, second to return querymap which is not saved to temporary file)
-map is generated from mapserv parameters used in [img] tag. So to modify map looks like, you have to modify template source. In case of normal maps you modify only URL.
Grzegorz
> -----Original Message-----
> From: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Stephen Lime
> Sent: Monday, May 07, 2001 4:46 PM
> To: mapserver-users at lists.gis.umn.edu; mapadm at polsl.gliwice.pl
> Subject: Re: [mapserver-users] querymap mode
>
>
> Querymaps can be used just like normal maps. The only difference
> is how/when
> they are generated. You access them using the [img] replacement
> tag in templates
> associated with queries or using special modes like itemquerymap
> or nquerymap.
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> "Grzegorz Myrda" <mapadm at polsl.gliwice.pl> 05/06/01 12:53PM >>>
> Hi,
> Just wondering why querymaps can be used only in <img ...> tags. This make
> it difficult to pass args from the URL :(
> Wouldn't it better to allow additional mode(s), for example:
> browseitemquerymap :) which would save image (querymap) and
> return template
> ?
> Mapscript (or even javascript) can be used to provide args to
> <img ...> tag,
> but 'mode' would be simpler and also future posts with doubts
> that querymaps
> are not 'normal maps' can be avoided.
>
> Grzegorz
>
>
More information about the MapServer-users
mailing list