Sha256: c76c12744cb0c8046c4ecce054a59ee0079507f259e5a1123eeae1b0199b903d
Contents?: true
Size: 925 Bytes
Versions: 3
Compression:
Stored size: 925 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 class Region < Feature ## # Used to initialize the feature. This method is inherited from the Feature class. def initialize(feature) super(feature) end ## # Used to describe the Region feature type using the base method from the Feature class. def feature_type 'Region' end ## # Returns the region_properties schema. def schema_file return File.join(File.dirname(__FILE__), 'schema', 'region_properties.json') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
urbanopt-geojson-0.11.1 | lib/urbanopt/geojson/region.rb |
urbanopt-geojson-0.11.0 | lib/urbanopt/geojson/region.rb |
urbanopt-geojson-0.10.0 | lib/urbanopt/geojson/region.rb |