Easy Way of Finding Coordinates in Polygon
(Ruby on Rails 6 only API, Postgres, Minitest) Hi everybody, Sometimes, we need specific features in our application. One of them may be “How to find Coordinates in Polygon” :) We suppose, we have some areas in our application. We define these areas by using Google Maps and every area has some specific attributes that are name , price, and coordinates. For example, we need information like this, when we click on a point on the map, what are the properties of this point? How to find if the dots are between the corresponding coordinates? GEMS If we are using Ruby on Rails, we think firstly that “is there any Gem about finding these points? Yes, there are some Gems. Like : https://github.com/geokit/geokit https://github.com/apneadiving/Google-Maps-for-Rails https://github.com/alexreisner/geocoder But these gems little huge :) Actually, we don’t need to use completely a gem. Because we just find a point in a polygon, technically. There is a cost of a gem for our a