Geographic Information Systems Asked on February 2, 2021
Suppose the point has coordinates for a search within the box:
(long:-155, lat:19)
If we have the box: SW – (-170, 10), NE (29,69) that everything is fine and we can find this point because it’s inside this box.
But if we move the box a little bit the coordinates are SW – (144, 10), NE (-75,69) that results are zero although the point is still inside of this box.
How to do it properly to find the point in the second situation?
You need to do a geoIntersect
, not geoWithin
if you are using java to work with mongodb: view the answer: mongo geoIntersects with Spring Data
Answered by Jeryl Cook on February 2, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP