[mapserver-users] Mapserver Template - BBOX

Donald Kerr donald.kerr at dkerr.co.uk
Tue Jul 24 13:59:43 PDT 2012


Martin,

minx etc refers to the overall map extents as defined in the map file and
shpminx etc refers to the individual features themselves so they won't work
as wanted.

Thanks anyway.

Regards,

Donald


-----Original Message-----
From: Martin Kofahl [mailto:M.Kofahl at gmx.net] 
Sent: 24 July 2012 21:48
To: Donald Kerr; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver Template - BBOX


Hi Donald,

didn't actually try myself, but what about the tags [minx], [miny], [maxx],
[maxy] or [shpminx], [shpminy], [shpmaxx], [shpmaxy] mentioned at
http://mapserver.org/mapfile/template.html?

Kind regards,
Martin

-------- Original-Nachricht --------
> Datum: Tue, 24 Jul 2012 10:56:41 +0100
> Von: "Donald Kerr" <donald.kerr at dkerr.co.uk>
> An: mapserver-users at lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX

> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need to get 
> the minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate pairs 
> which are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956" with 
> each value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without 
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list