Sha256: 244a5879164aceed7caf1dde3218754607177c2450848176b5229fa912e2e490

Contents?: true

Size: 1.38 KB

Versions: 7

Compression:

Stored size: 1.38 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',
      tms: 'https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification',
      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

7 entries across 7 versions & 1 rubygems

Version Path
geoblacklight-4.0.0.pre.alpha.3 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.alpha.2 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.alpha.1 lib/geoblacklight/constants.rb
geoblacklight-4.0.0.pre.alpha lib/geoblacklight/constants.rb
geoblacklight-3.4.0 lib/geoblacklight/constants.rb
geoblacklight-3.3.1 lib/geoblacklight/constants.rb
geoblacklight-3.3.0 lib/geoblacklight/constants.rb