Is_in_polygon
Options
![Lukasz Kwiatkowski](https://us.v-cdn.net/6037124/user_avatars/2118965.jpg)
Lukasz Kwiatkowski
Member ✭
apologies if something is not precise as I have no experience with polygons
I found a function that allows you to calculate distance between two latlong, I was wondering if you would be able to also a function to check if the latlong below to pologon defined as an n element array of latlong.
I think it is possible now to assign latlong to rectangular polygon but I dont think we would able to check if latlong belongs e.g. to polygon defined by 7 points.
I understand that than I could store each polygon in the table as an object of latlongs and then use this function to assign specific latlong to the relevant polygon or somehow map it
I found a function that allows you to calculate distance between two latlong, I was wondering if you would be able to also a function to check if the latlong below to pologon defined as an n element array of latlong.
I think it is possible now to assign latlong to rectangular polygon but I dont think we would able to check if latlong belongs e.g. to polygon defined by 7 points.
I understand that than I could store each polygon in the table as an object of latlongs and then use this function to assign specific latlong to the relevant polygon or somehow map it
Comments
-
in query all records, there are several filters that are available to easily interact with polygons. Contains, Within, and Distance.
Those are only available within query all records when using a geo type. The other filter you mention above is when you already have the polygon data and are no longer using the database engine.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback