Type POINT and index

Поиск
Список
Период
Сортировка
От Ben-Nes Michael
Тема Type POINT and index
Дата
Msg-id 003801c17e6a$4adfd220$aa0f5ac2@canaan.co.il
обсуждение исходный текст
Список pgsql-general
Hi All

I made this little talbe:
CREATE TABLE location (
loc_id SERIAL PRIMARY KEY,
cordinata POINT NOT NULL
);

I want to index the column "cordinata" with "RTREE" so I can scan it fast
and find easily distance or other GIS information.

When I try to index the column it keep asking me about operator, which
should I choose ?

I need thing like: select all other coordinates that are in Radius of 100
units.

Is it possible ?

--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
http://sites.canaan.co.il
--------------------------



В списке pgsql-general по дате отправления:

Предыдущее
От: Eric Crampton
Дата:
Сообщение: Re: Number of Connections
Следующее
От: Colm McCartan
Дата:
Сообщение: Re: Two very basic questions..