Sha256: 48cb65966247b1ae90700b1c0aa98356dfc0031a9b5c61e86855cbc8bd6761aa

Contents?: true

Size: 805 Bytes

Versions: 1

Compression:

Stored size: 805 Bytes

Contents

# *********************************************************************************
# URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://github.com/urbanopt/urbanopt-geojson-gem/blob/develop/LICENSE.md
# *********************************************************************************

require 'urbanopt/geojson/feature'

module URBANopt
  module GeoJSON # :nodoc: all
    class DistrictSystem < Feature
      ##
      # Used to describe the feature type using the base method from the Feature class.
      def feature_type
        'District System'
      end

      ##
      # Returns the district system properties schema.
      def schema_file
        return File.join(File.dirname(__FILE__), 'schema', 'district_system_properties.json')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urbanopt-geojson-0.11.2 lib/urbanopt/geojson/district_system.rb