Andreas, Thanks, but this only works for the individual features within [resultset]. I need to get the BBOX values which is basicallly the overall bounds of the query. [mapext] doesn't work either as that takes the bounds from the map file which are much greater than the BBOX for the query.
Many thanks. Regards, Donald -----Original Message----- From: Eichner, Andreas - SID-NLKM [mailto:[email protected]] Sent: 24 July 2012 12:35 To: Donald Kerr; [email protected] Subject: AW: [mapserver-users] Mapserver Template - BBOX You might try: [shpminx], [shpminy], [shpmaxx], [shpmaxy] Minimum / maximum X or Y coordinate of shape extent. Available only when processing query results. See http://mapserver.org/mapfile/template.html#query HTH > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag > von Donald Kerr > Gesendet: Dienstag, 24. Juli 2012 11:57 > 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
