Class: NSWTopo::GeoJSON::Polygon

Inherits:
Object
  • Object
show all
Defined in:
lib/nswtopo/gis/geojson/polygon.rb

Instance Method Summary collapse

Instance Method Details

#boundsObject



6
7
8
# File 'lib/nswtopo/gis/geojson/polygon.rb', line 6

def bounds
  @coordinates.first.transpose.map(&:minmax)
end