Re: Circle and box intersect

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Circle and box intersect
Date: 2018-03-16 11:45:56
Message-ID: 088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Moore 2018-03-16 12:32:57 RE: Circle and box intersect
Previous Message francis cherat 2018-03-16 11:00:42 error 53200 out of memory