#community-help

Storing Polygons & Filtering by Geolocations in Typesense

TLDR Ivy asks if it's possible to store polygons in Typesense and filter by geolocations within that polygon. Kishore Nallan says there is a feature request open for this but no support yet.

Powered by Struct AI

1

Apr 26, 2023 (5 months ago)
Ivy
Photo of md5-2f39998c05c5409f8c3521187ec34d4e
Ivy
09:50 PM
And then follow up question, we can search for stored geolocations within a polygon (which is awesome!). Is it possible to do the inverse, i.e. store polygon(s) in Typesense & filter by geolocations within that polygon? If not, is that on the roadmap? 🙏 Thanks so much 🙂

We're excited to move forward with using Typesense to back our search!
Apr 27, 2023 (5 months ago)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:45 AM
We don't have a way to store a polygon yet. But we have a feature request open (https://github.com/typesense/typesense/issues/336) so hope to add support for it in future.

1

Ivy
Photo of md5-2f39998c05c5409f8c3521187ec34d4e
Ivy
02:40 PM
Good to know, thanks!!