lib/bplmodels/geographic_data_funcs.rb
def coords_to_wkt_polygon(min_x, min_y, max_x, max_y)
        [[min_x, min_y],
         [max_x, min_y],
         [max_x, max_y],
         [min_x, max_y],
         [min_x, min_y]]
      end
##
# return array of coordinate arrays corresponding to a WKT polygon
# @param min_x [Float] minimum longitude
# @param min_y [Float] minimum latitude
# @param max_x [Float] maximum longitude
# @param max_y [Float] maximum latitude
# @return [Array]
return array of coordinate arrays corresponding to a WKT polygon
return array of coordinate arrays corresponding to a WKT polygon
def coords_to_wkt_polygon(min_x, min_y, max_x, max_y)
        [[min_x, min_y],
         [max_x, min_y],
         [max_x, max_y],
         [min_x, max_y],
         [min_x, min_y]]
      end
def coords_to_wkt_polygon ( min_x , min_y , max_x , max_y ) [ [ min_x , min_y ] , [ max_x , min_y ] , [ max_x , max_y ] , [ min_x , max_y ] , [ min_x , min_y ] ] end
return array of coordinate arrays corresponding to a WKT polygon
return array of coordinate arrays corresponding to a WKT polygon
None
Array
min_x
None
min_y
None
max_x
None
max_y
None