|
This is a tricky one.
The CRS.getEnveloper( CoordianteReferenceSystem ) method checks the CoordinateReferenceSystem for metadata defining a valid extent (or returns null).
We have hard coded a few special cases in the CRS utility class for DefaultGeographicCRS (or "CRS:84" as it is known in the WMS spec). We should roll out a valid extend in this case as well.
GeoServer defines a EPSG:900913 WKT (as a synonym for EPSG:3857) using an eps.properties file. The WKT obviously does not contain an area of validity. Should we special case EPSG:900913 or allow epsg.properties files to contain an extent?
|