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 328
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 334
def has_null_shape?
  @geometry.nil?
end