[mapserver-users] Template Questions (was How to get layer name in an identify template?)

Donald Kerr donald.kerr at dkerr.co.uk
Fri Jul 6 09:28:56 PDT 2012


Thanks, Steve. That certainly explains why bbox is available and not
specifically listed!
 
Regards,
 
Donald

-----Original Message-----
From: Lime, Steve D (DNR) [mailto:Steve.Lime at state.mn.us] 
Sent: 06 July 2012 16:30
To: Donald Kerr; 'Bistrais, Bob'; mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Template Questions (was How to get layer name in
an identify template?)



That's not to say the references are completely current. ;-) 

 

If you do run a across missing information or whatever it's easiest to just
file a ticket, or drop a note to the mailing list.

 

To answer your other questions:

 

.         [bbox] is not a standard template tag. However, if you set a
variable called "bbox" in your query request then that variable is available
in template output (HTML escaped first to prevent cross-site scripting).

.         [shpext] and other feature specific tags can only be used within a
[feature] block or in the old-style feature templates. Perhaps this can be
made clearer in the docs.

 

Steve

 

 

From: Donald Kerr [mailto:donald.kerr at dkerr.co.uk] 
Sent: Friday, July 06, 2012 10:19 AM
To: Lime, Steve D (DNR); 'Bistrais, Bob'; mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] How to get layer name in an identify
template?

 

Thank you for the references, Steve.

 

I'm sure I've used "[bbox]" in a template which is not listed in the first
link. I think I also had some issues regarding where tags like "[shpext]"
can be used within or outwith the "[resultset layer=LayerName]" and
"[feature]" tags. I will need to revisit the work that I was doing since
I've put it on the back burner just now. I don't want to hi-jack this thread
which is now resolved. 

 

Regards,

 

Donald

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120706/4ab762ee/attachment.htm>


More information about the MapServer-users mailing list