RE: Circle and box intersect - Mailing list pgsql-general

From Martin Moore
Subject RE: Circle and box intersect
Date
Msg-id 5aabb97b.178bdf0a.74160.ff6a@mx.google.com
Whole thread Raw
In response to Re: Circle and box intersect  (Andreas Kretschmer <andreas@a-kretschmer.de>)
List pgsql-general
Cheers - I'd tried postGIS on 9.6 but had install issues. Installed first time on 10 :)


-----Original Message-----
From: Andreas Kretschmer [mailto:andreas@a-kretschmer.de]
Sent: 16 March, 2018 11:46 AM
To: pgsql-general@lists.postgresql.org
Subject: Re: Circle and box intersect



Am 16.03.2018 um 11:00 schrieb Martin Moore:
> PG10
>
> Is there an operator to determine if a box and circle intersect?
> I can only see box && box and can use centre+rad and distance to
> calculate circle:circle.
>
> Thanks.
>
>
please don't hijack other mail-threads by answering & changing the subject, your mail still contains references to
"SELECT.. FOR UPDATE:  
find out who locked a row"
Create a new mail for a new thread!


to your question: consider PostGIS and it's functions st_intersects()

Regards, Andreas

--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





pgsql-general by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: Circle and box intersect
Next
From: Melvin Davidson
Date:
Subject: Re: SELECT .. FOR UPDATE: find out who locked a row