I have a Rails app and a bunch of points and polygons in a model
I am using mysql > 5.6 and the Geokit gem to generate polygon objects and I'm wondering if it's possible to find neighbouring polygons - That is, polygons that touch the polygon I'm in.
Any help is appreciated - Thanks!
-- UPDATE
Thinking of a solution I came up with this 1. Find all polygons objects 2. see which ones intersect with the one I have - if they intersect, they'd be neighbouring
Now I'm onto find how to find if they intersect. I believe you can do this with mysql spatial functions. I'll report back with an update.