Class GeoRuby::Shp4r::ShpRecord
In: lib/geo_ruby/shp4r/shp.rb
Parent: Object

A SHP record : contains both the geometry and the data fields (from the DBF)



data  [R] 
geometry  [R] 

Public Class methods


     # File lib/geo_ruby/shp4r/shp.rb, line 328
328:       def initialize(geometry, data)
329:         @geometry = geometry
330:         @data = data
331:       end

Public Instance methods

Tests if the geometry is a NULL SHAPE


     # File lib/geo_ruby/shp4r/shp.rb, line 334
334:       def has_null_shape?
335:         @geometry.nil?
336:       end