Module: RGeo::Geographic::ProjectedPolygonMethods

Included in:
ProjectedPolygonImpl
Defined in:
lib/rgeo/geographic/projected_feature_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#_validate_geometryObject


271
272
273
274
275
276
# File 'lib/rgeo/geographic/projected_feature_methods.rb', line 271

def _validate_geometry
  super
  unless projection
    raise Error::InvalidGeometry, 'Polygon failed assertions'
  end
end