[postgis-users] Fwd: Reg: Get features in a bounding box

Andy Colson andy at squeakycode.net
Sun Nov 27 06:44:47 PST 2016


On 11/26/2016 02:16 PM, Manikanta Kondeti wrote:
>
> Hello,
>
>  I have almost empty knowledge on postgis queries and trying to learn them. I beg your pardon if its a very simple question.
>
>   So here it is in my current project, as the subject says, I have a list of bounding box cooridnates, MIN-X, MIN-Y, MAX-X MAX-Y with the same SRID of the geom column. Now I want to query the list of features that are enclosed in this bounding box. Awaiting for a reply, thanks in advance.
>
>
> Regards,
> Manikanta
>

Have you read the documentation?

http://postgis.net/docs/reference.html

Start with && operator, and the st_within function.

-Andy


More information about the postgis-users mailing list