Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Geospatial support, SQL Server 08 vs MongoDB?

MongoDB has lots of street cred especially since FourSquare uses it. MS SQL Server 2008 R2 also has Geospatial support.

Which DB is easier/better for doing GPS-like search? e.g. k-nearest points around point X,Y?

like image 469
Henry Avatar asked Apr 18 '26 05:04

Henry


1 Answers

If the only Geospatial function you need is to find k-nearest points around point X,Y then any old database will do. Just use Haversine formula, and it's been implemented in a bunch of languages.

like image 77
Drew Avatar answered Apr 20 '26 22:04

Drew



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!