vilnius / tvarkau-vilniu-ms

Tvarkau Vilnių backend
MIT License
9 stars 2 forks source link

Add lat/lng report filtering support #113

Closed mjurkus closed 5 years ago

mjurkus commented 5 years ago

Allow to filter by lat and lng.

I guess it should accept lat_from lat_to lng_from lng_to? Or is there a better way? And return matching results in a given box.

@laurynas

laurynas commented 5 years ago

Yes, from/to coordinates would be most straightforward. Another option would be to use geokit-rails gem which would searching by center coords and radius.

Which way would you prefer?

mjurkus commented 5 years ago

Let's choose straightforward approach.

laurynas commented 5 years ago

Deployed.