SERVICE_TYPES = (
    ('WM', 'Harvard WorldMap'),
    ('OGC:WMS', 'Web Map Service (WMS)'),
    ('OGC:WMTS', 'Web Map Tile Service (WMTS)'),
    ('OSGeo:TMS', 'Tile Map Service (TMS)'),
    ('ESRI:ArcGIS:MapServer', 'ArcGIS REST MapServer'),
    ('ESRI:ArcGIS:ImageServer', 'ArcGIS REST ImageServer'),
    ('WARPER', 'Mapwarper')
)

CSW_RESOURCE_TYPES = {
    'OGC:WMS': 'http://www.opengis.net/wms',
    'OGC:WMTS': 'http://www.opengis.net/wmts/1.0',
    'OSGeo:TMS': 'https://wiki.osgeo.org/wiki/TMS',
    'ESRI:ArcGIS:MapServer': 'urn:x-esri:serviceType:ArcGIS:MapServer',
    'ESRI:ArcGIS:ImageServer': 'urn:x-esri:serviceType:ArcGIS:ImageServer'
}

DATE_DETECTED = 0
DATE_FROM_METADATA = 1

DATE_TYPES = (
    (DATE_DETECTED, 'Detected'),
    (DATE_FROM_METADATA, 'From Metadata'),
)
