PostGIS return multiple points

Поиск
Список
Период
Сортировка
От trevor1940
Тема PostGIS return multiple points
Дата
Msg-id 1288252838872-3240107.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: PostGIS return multiple points  (maarten <maarten.foque@edchq.com>)
Re: PostGIS return multiple points  (Szymon Guz <mabewlun@gmail.com>)
Список pgsql-general
Hi

I have a PostGIS table and I wish to get the location/name of multiple
points at once the command for selecting one point is

select PolyName from MyPolygones where st_Contains(the_geom,
GeomFromText('point($LAT $LONG)4326');

where $LAT $LONG are perl varables
So how can i do this if iI have 100 points without hitting the database 100
times?

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/PostGIS-return-multiple-points-tp3240107p3240107.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: exceptionally large UPDATE
Следующее
От: Hfe80
Дата:
Сообщение: Re: DB become enormous with continuos insert and update