One of the use cases I’m considering for
One of the use cases I’m considering for convex involves mapping records on a map. It would be multiplayer in nature.
Since this may result in many many queries as a user panes the map around and applies filters, I’m wondering if this would blow through the function call limit. Compared to using postgis + pg for example ? Not sure if this is totally correct assumption but just curious
4 Replies
hey @DiamondDragon! we're actually launching geospatial search (similar to postgis) at our devday next week. check out https://discord.com/channels/1019350475847499849/1227753059011268639/1295848540232224871
this index lets you efficiently determine which records overlap with a given query rectangle.
also, I can add you to a beta release if you'd like to check it out before then. let me know!
hey good ot hear about the search. would this help get around the concern of one user making many queries to access data ala google maps? Not super experienced with geospatial so excuse me here.
also no need for beta access, thanks for the offer. just exploring for now
yeah, it scales up even if a single user makes many different queries (like if they’re moving around on a map view quickly)
It shipped last week 🎉 https://www.convex.dev/components/geospatial
Geospatial (Beta)
Efficiently query points on a map within a selected region of the globe.