[mapserver-users] wms_bbox_extended "true" only works with < 15 EPSG code definitions

Astrid Emde astrid.emde at wheregroup.com
Tue Jul 17 14:26:39 PDT 2012


Hello,

I want to use the Parameter wms_bbox_extended "true" to calculate the
extent for all the supported EPSGs.

see
http://mapserver.org/ogc/wms_server.html

The Capabilities document looks fine as long as I only define < 15 codes.
The XML breaks at different points with more EPSG codes (but I need > 15
for INSPIRE)

Definition could look like this:

WEB
  ...
  WMS_BBOX_EXTENDED 'true'
  WMS_SRS 'EPSG:31466 epsg:31467 epsg:31468 epsg:4326 EPSG:25832
EPSG:25833 EPSG:3034 EPSG:3035 EPSG:3038 EPSG:3039 EPSG:3040 EPSG:3041
EPSG:3042 EPSG:3043 EPSG:3044 EPSG:3045 EPSG:3046 EPSG:3047'
  ...
END


When I disable the parameter wms_bbox_extended "false" (or I do not define
the parameter) the Capabilities XML is fine, but does not contain the
bboxes.

I tested with MapServer 6.0.2 and MapServer 6.2beta1.

I also created a bug ticket at github

https://github.com/mapserver/mapserver/issues/4395

It is not an urgent issue. Just wanted to notice it.

Astrid




More information about the MapServer-users mailing list