We make an application (using Python and open source libraries like GDAL) that stores raster data from around the world. We wrote some code that acts as a WMS server, that can create images from the raster data in various projections.
Now in the GetCapabilities response we want to list some projections that can be used with a given raster. We only want to show projections for which the data falls within the right area of use, e.g. we only want to show EPSG:28992 if the raster falls entirely within the Netherlands. But we don't want to hardcode the area of use for each projection we may want to show.
Is there a way to find out what the official area of use is for any projection that GDAL can handle? E.g. to find out what the bounding box of the area of use of EPSG:28992 is, preferably in terms of its own coordinates.