Skip to content
A wrapper around libshape for handling ESRI shapefiles
C Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
Interface.html
Interface.rd
README.txt
depend
extconf.rb
libtest.rb
main.c
ruby-shapelib.spec
sfcode.h
sflist.h
shapelib.gemspec
shpplus.c
shpplus.h
spcode.h
splist.h
spwkt.h
style.css
valconv.h
zsample1.rb
ztest1.rb

README.txt

                        README for Ruby-ShapeLiB

			                      prasinos@users.sourceforge.net

This is a wrapper module of Shapefile C Library for Ruby.

How to install
==============

* You must have ShapeLib and ruby.
* It is expected to run on all ruby-running environments. But it is tested
  only on RedHat Enterprise Linux 4.0 and Vine Linux 3.0.

Quick directions
----------------

    $ tar xvfz ruby-shapelib.tar.gz      (you did it if you see this file)
    $ cd ruby-shapelib
    $ ruby ./extconf.rb
    $ make 
    # make install

Troubleshooting
---------------

* 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.

How to use
==========

    Please see Interface.html.

License issues
==============

Ruby-ShapeLib is provided under LGPL or ShapeLib's MIT-style default license.
Something went wrong with that request. Please try again.