class GeoRuby::Shp4r::ShpRecord
A SHP record : contains both the geometry and the data fields (from the DBF
)
Attributes
data[R]
geometry[R]
Public Class Methods
new(geometry, data)
click to toggle source
# File lib/geo_ruby/shp4r/shp.rb, line 354 def initialize(geometry, data) @geometry = geometry @data = data end
Public Instance Methods
has_null_shape?()
click to toggle source
Tests if the geometry is a NULL SHAPE
# File lib/geo_ruby/shp4r/shp.rb, line 360 def has_null_shape? @geometry.nil? end