Sha256: 610942fade523413bb25f7fcd6a05f65a952a66aa5678e6b1b0747c9832b254e

Contents?: true

Size: 623 Bytes

Versions: 6

Compression:

Stored size: 623 Bytes

Contents

module GeoWorks
  # Attributes and methods for georeferenced files
  module GeoreferencedBehavior
    extend ActiveSupport::Concern

    included do
      # Defines the OGC coordinate reference system (CRS) identifier for the resource
      # @see http://www.opengeospatial.org/ogcna OGC Naming Authority
      # @example
      #   raster_file.cartographic_projection = "urn:ogc:def:crs:EPSG:6.3:26986"
      property :cartographic_projection,
               predicate: ::RDF::Vocab::Bibframe.cartographicProjection,
               multiple: false do |index|
        index.as :stored_searchable
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
geo_works-0.2.0 app/models/concerns/geo_works/georeferenced_behavior.rb
geo_works-0.1.4 app/models/concerns/geo_works/georeferenced_behavior.rb
geo_works-0.1.3 app/models/concerns/geo_works/georeferenced_behavior.rb
geo_works-0.1.2 app/models/concerns/geo_works/georeferenced_behavior.rb
geo_works-0.1.1 app/models/concerns/geo_works/georeferenced_behavior.rb
geo_works-0.1.0 app/models/concerns/geo_works/georeferenced_behavior.rb