Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Team,
I need to help to find the logic in power bi To find given latitude/longitude co-ordinates lies inside a square/rectangle
I have multiple Square area in Map - Need to find in which square the given Lat/Long present.
I have tried the same logic but its not working.
Thanks.
Solved! Go to Solution.
Hi @RubanBasilea ,
This post may help you develop your logic: How to determine if a GPS coordinate lies within a rectangular area?
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @RubanBasilea ,
This post may help you develop your logic: How to determine if a GPS coordinate lies within a rectangular area?
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Many Thanks!
This works for me.
@RubanBasilea If you have the geo-cordinates of each square/rectangle then you could do it. Try to find out the max and min latitude of each square/rectangle. Then you can check if the given geolatitutde is between both the max and min range. This way you could develop your logic. For further help, would appreciate if you could share your sample data.
Proud to be a Super User!
User | Count |
---|---|
96 | |
85 | |
77 | |
67 | |
63 |
User | Count |
---|---|
110 | |
96 | |
96 | |
67 | |
59 |