PostGIS return multiple points - Mailing list pgsql-general

From trevor1940
Subject PostGIS return multiple points
Date
Msg-id 1288252838872-3240107.post@n5.nabble.com
Whole thread Raw
Responses Re: PostGIS return multiple points  (maarten <maarten.foque@edchq.com>)
Re: PostGIS return multiple points  (Szymon Guz <mabewlun@gmail.com>)
List 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 by date:

Previous
From: Vick Khera
Date:
Subject: Re: exceptionally large UPDATE
Next
From: Hfe80
Date:
Subject: Re: DB become enormous with continuos insert and update