Update the DWS URL
Fix template issues arising from missing EPSG data

The EPSG realisation epoch and the EPSG extents were always assumed to
be present but this is not always the case.