diff --git a/lib/geo_ruby/simple_features/linear_ring.rb b/lib/geo_ruby/simple_features/linear_ring.rb index cacbf7b..0f36130 100644 --- a/lib/geo_ruby/simple_features/linear_ring.rb +++ b/lib/geo_ruby/simple_features/linear_ring.rb @@ -18,7 +18,7 @@ def kml_representation(options = {}) # Does this linear string contain the given point? We use the # algorithm described here: # - # http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html + # https://wrf.ecse.rpi.edu/Research/Short_Notes/pnpoly.html def contains_point?(point) x, y = point.x, point.y tuples = @points.zip(@points[1..-1] + [@points[0]])