I'm building an application using Ruby on Rails and PostGIS that allows users to find affordable housing. I plan to have the users select multiple locations on a map as acceptable locations. However, the Postgis adapter only allows users to select one location (lat, long) and input a radius. How do I allow users to select multiple points on a map?
0
votes
1 Answers
1
votes
Using ST_Collect of PostGIS
https://postgis.net/docs/ST_Collect.html
It is a collection of geometries. There are Ruby APIs for PostGIS as well.