pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedCircle and box intersect
3+ messages / 2 participants
[nested] [flat]
* Circle and box intersect
@ 2018-03-16 10:00 Martin Moore <martin.moore@avbrief.com>
2018-03-16 11:45 ` Re: Circle and box intersect Andreas Kretschmer <andreas@a-kretschmer.de>
0 siblings, 1 reply; 3+ messages in thread
From: Martin Moore @ 2018-03-16 10:00 UTC (permalink / raw)
To: 'pgsql-generallists.postgresql.org' <pgsql-general@lists.postgresql.org>
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Circle and box intersect
2018-03-16 10:00 Circle and box intersect Martin Moore <martin.moore@avbrief.com>
@ 2018-03-16 11:45 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-03-16 12:32 ` RE: Circle and box intersect Martin Moore <martin.moore@avbrief.com>
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Kretschmer @ 2018-03-16 11:45 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: Circle and box intersect
2018-03-16 10:00 Circle and box intersect Martin Moore <martin.moore@avbrief.com>
2018-03-16 11:45 ` Re: Circle and box intersect Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2018-03-16 12:32 ` Martin Moore <martin.moore@avbrief.com>
0 siblings, 0 replies; 3+ messages in thread
From: Martin Moore @ 2018-03-16 12:32 UTC (permalink / raw)
To: 'Andreas Kretschmer' <andreas@a-kretschmer.de>; pgsql-general@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-03-16 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16 10:00 Circle and box intersect Martin Moore <martin.moore@avbrief.com>
2018-03-16 11:45 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-03-16 12:32 ` Martin Moore <martin.moore@avbrief.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox