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:[email protected]] Sent: 24 July 2012 21:48 To: Donald Kerr; [email protected] 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" <[email protected]> > An: [email protected] > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
