It's there since 2008: WMS 1.1.1 GetCapabilities documents include one
full CRS WKT definition per layer, inside a comment, like in the
example bellow.
Now, getcaps docs are already large enough as to have this overhead.
The code says something about being nice to people looking at the
getcaps doc. My opinion is it's unnecessary overhead.
So, can we just get rid of it? or at least replace it by something like:
<!--WKT definition of this CRS:
http://spatialreference.org/ref/epsg/4326/prettywkt -->
Comments/opinions?
This is how it bloats a wms layer right now:
<Layer queryable="1">
<Name>topp:states</Name>
<Title>USA Population</Title>
<Abstract>This is some census data on the states.</Abstract>
<KeywordList>
<Keyword>census</Keyword>
<Keyword>united</Keyword>
<Keyword>boundaries</Keyword>
<Keyword>state</Keyword>
<Keyword>states</Keyword>
</KeywordList>
<SRS>EPSG:26986</SRS>
<!--WKT definition of this CRS:
PROJCS["NAD83 / Massachusetts Mainland",
GEOGCS["NAD83",
DATUM["North American Datum 1983",
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4269"]],
PROJECTION["Lambert_Conformal_Conic_2SP", AUTHORITY["EPSG","9802"]],
PARAMETER["central_meridian", -71.5],
PARAMETER["latitude_of_origin", 41.0],
PARAMETER["standard_parallel_1", 42.68333333333334],
PARAMETER["false_easting", 200000.0],
PARAMETER["false_northing", 750000.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["standard_parallel_2", 41.71666666666667],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","26986"]]-->
<LatLonBoundingBox minx="-73.653" miny="34.245" maxx="-73.652"
maxy="34.245"/>
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.