开发者

How to do a geometric search using latitude and longitude using php and mysql

开发者 https://www.devze.com 2022-12-28 18:42 出处:网络
Did any know about how to search using la开发者_如何学Pythontitude and longitude using latitude and longitude

Did any know about how to search using la开发者_如何学Pythontitude and longitude using latitude and longitude using php and mysql as back-end.

I am having zip-code and latitude and longitude for the corresponding city.

If i enter for a search with latitude i need to know the name of the city with that corresponding latitude and longitude.

With these things as back-end how can i do my search.

thanks in advance.


You'd be wanting a GeoSpatial database to do true geometric searches. There's a chapter about it in the MySQL manual

http://dev.mysql.com/doc/refman/5.0/en/gis-introduction.html

0

精彩评论

暂无评论...
验证码 换一张
取 消