def named_crs(epsg):
    """Construct a named CRS dict given an EPSG code
    according to the GeoJSON spec.
    """
    return {
        'type': 'name',
        'properties': {
            'name': 'urn:ogc:def:crs:EPSG::{}'.format(epsg)
        }
    }