GeometryCollection
Represents a group of points (see Point).
Creates a new multi point from a list of point coordinates : ((x,y)...(x,y))
# File lib/geo_ruby/simple_features/multi_point.rb, line 33 def self.from_coordinates(points,srid= DEFAULT_SRID,with_z=false,with_m=false) multi_point= new(srid,with_z,with_m) multi_point.concat(points.collect {|point| Point.from_coordinates(point,srid,with_z,with_m)}) multi_point end
Creates a new multi point from an array of points
# File lib/geo_ruby/simple_features/multi_point.rb, line 26 def self.from_points(points,srid= DEFAULT_SRID,with_z=false,with_m=false) multi_point= new(srid,with_z,with_m) multi_point.concat(points) multi_point end
Generated with the Darkfish Rdoc Generator 2.