Sha256: 77494286d9420b620a4b88c9b331e765f3d38c2cc5181c330141981e48f7bb67

Contents?: true

Size: 1.57 KB

Versions: 8

Compression:

Stored size: 1.57 KB

Contents

# frozen_string_literal: true
module Geoblacklight
  # Module to declare application level constants and lookup hash
  module Constants
    URI = {
      download: 'http://schema.org/downloadUrl',
      fgdc: 'http://www.opengis.net/cat/csw/csdgm',
      geojson: 'http://geojson.org/geojson-spec.html',
      html: 'http://www.w3.org/1999/xhtml',
      iiif: 'http://iiif.io/api/image',
      iiif_manifest: 'http://iiif.io/api/presentation#manifest',
      iso19139: 'http://www.isotc211.org/schemas/2005/gmd',
      mods: 'http://www.loc.gov/mods/v3',
      shapefile: 'http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf',
      url: 'http://schema.org/url',
      wcs: 'http://www.opengis.net/def/serviceType/ogc/wcs',
      wfs: 'http://www.opengis.net/def/serviceType/ogc/wfs',
      wms: 'http://www.opengis.net/def/serviceType/ogc/wms',
      wmts: 'http://www.opengis.net/def/serviceType/ogc/wmts',
      tms: 'https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification',
      tilejson: 'https://github.com/mapbox/tilejson-spec',
      xyz: 'https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames',
      hgl: 'http://schema.org/DownloadAction',
      feature_layer: 'urn:x-esri:serviceType:ArcGIS#FeatureLayer',
      tiled_map_layer: 'urn:x-esri:serviceType:ArcGIS#TiledMapLayer',
      dynamic_map_layer: 'urn:x-esri:serviceType:ArcGIS#DynamicMapLayer',
      image_map_layer: 'urn:x-esri:serviceType:ArcGIS#ImageMapLayer',
      data_dictionary: 'http://lccn.loc.gov/sh85035852',
      index_map: 'https://openindexmaps.org',
      oembed: 'https://oembed.com'
    }.freeze
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 lib/geoblacklight/constants.rb
geoblacklight-3.8.0 lib/geoblacklight/constants.rb
geoblacklight-4.0.0 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.rc3 lib/geoblacklight/constants.rb
geoblacklight-3.7.0 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.rc2 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.rc1 lib/geoblacklight/constants.rb
geoblacklight-3.6.0 lib/geoblacklight/constants.rb