class URBANopt::GeoJSON::Region
Public Class Methods
new(feature)
click to toggle source
Used to initialize the feature. This method is inherited from the Feature
class.
Calls superclass method
URBANopt::GeoJSON::Feature::new
# File lib/urbanopt/geojson/region.rb, line 13 def initialize(feature) super(feature) end
Public Instance Methods
feature_type()
click to toggle source
schema_file()
click to toggle source
Returns the region_properties schema.
# File lib/urbanopt/geojson/region.rb, line 25 def schema_file return File.join(File.dirname(__FILE__), 'schema', 'region_properties.json') end