| От | Andy Colson |
|---|---|
| Тема | Re: locating cities within a radius of another |
| Дата | |
| Msg-id | 4C470DFE.6020702@squeakycode.net обсуждение исходный текст |
| Ответ на | locating cities within a radius of another (Geoffrey <lists@serioustechnology.com>) |
| Ответы |
Re: locating cities within a radius of another
|
| Список | pgsql-general |
On 7/21/2010 8:01 AM, Geoffrey wrote: > We need to locate all cities within a certain distance of a single city. > We have longitude and latitude data for all cities. I was thinking > postGIS was a viable solution, but I don't see a way to use our existing > data via postGIS. > > Is postGIS a viable solution, or should I be looking at a different > approach? Thanks for any suggestions or RTFM pointers. > I'd say PostGIS is a great option. Did you try: http://postgis.refractions.net/documentation/manual-1.5/ST_Distance_Sphere.html or do you mean, how do I turn my lat, long columns into a geomentry column? -Andy
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера