Class | GeoRuby::Shp4r::ShpFile |
In: |
lib/geo_ruby/shp4r/shp.rb
|
Parent: | Object |
An interface to an ESRI shapefile (actually 3 files : shp, shx and dbf). Currently supports only the reading of geometries.
file_length | [R] | |
file_root | [R] | |
mmax | [R] | |
mmin | [R] | |
record_count | [R] | |
shp_type | [R] | |
xmax | [R] | |
xmin | [R] | |
ymax | [R] | |
ymin | [R] | |
zmax | [R] | |
zmin | [R] |
Opens a SHP file. Both "abc.shp" and "abc" are accepted. The files "abc.shp", "abc.shx" and "abc.dbf" must be present
opens a SHP "file". If a block is given, the ShpFile object is yielded to it and is closed upon return. Else a call to open is equivalent to ShpFile.new(...).
starts a transaction, to buffer physical file operations on the shapefile components.