Ruby-shapelib is a project mainly written in C and RUBY, it's free.
Ruby bindings for shapelib
README for Ruby-ShapeLiB
[email protected]
This is a wrapper module of Shapefile C Library for Ruby.
$ tar xvfz ruby-shapelib.tar.gz (you did it if you see this file)
$ cd ruby-shapelib
$ ruby ./extconf.rb
$ make
# make install
I have ruby but can't run extconf.rb
Some Linux distributions divide Ruby into several packages such as "ruby" and "ruby-devel". You may have to install additional packages.
I have shapelib installed but extconf.rb fails
Try --with-shapelib-include= and --with-shapelib-lib= options of extconf.rb.
If above advice doesn't help, please visit http://sourceforge.net/projects/ruby-shapelib and post a message.
Please see Interface.html.
Ruby-ShapeLib is provided under LGPL or ShapeLib's MIT-style default license.