GeoRuby extension for asking whether a given point lies inside a polygon
Ruby C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext/point_in_polygon
lib
test
.gitignore
README.md
Rakefile
georuby-pip.gemspec
init.rb

README.md

Point-in-Polygon extension for GeoRuby

Description

  • Ruby C-extension for finding if a point lies inside a polygon
  • Original ray casting algorithm taken from here
  • An extension for GeoRuby is provided
  • Compatible with Ruby 1.9.2 only, I think... (not tested on 1.8.x)

Usage

To compile extension do:

$ ruby extconf.rb
$ make