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

2012-07-06 Thread Lime, Steve D (DNR)
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.k...@dkerr.co.uk]
Sent: Friday, July 06, 2012 10:19 AM
To: Lime, Steve D (DNR); 'Bistrais, Bob'; mapserver-users@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

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2012-07-06 Thread Donald Kerr
Thanks, Steve. That certainly explains why bbox is available and not
specifically listed!
 
Regards,
 
Donald

-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: 06 July 2012 16:30
To: Donald Kerr; 'Bistrais, Bob'; mapserver-users@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.k...@dkerr.co.uk] 
Sent: Friday, July 06, 2012 10:19 AM
To: Lime, Steve D (DNR); 'Bistrais, Bob'; mapserver-users@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

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users