[mapserver-users] Mapserver Template - BBOX

Donald Kerr donald.kerr at dkerr.co.uk
Tue Jul 24 05:26:27 PDT 2012


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:Andreas.Eichner at sid.sachsen.de] 
Sent: 24 July 2012 12:35
To: Donald Kerr; mapserver-users at lists.osgeo.org
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: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag 
> von Donald Kerr
> Gesendet: Dienstag, 24. Juli 2012 11:57
> 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