pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Circle and box intersect
Date: Fri, 16 Mar 2018 12:45:56 +0100
Message-ID: <088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de> (raw)
In-Reply-To: <5aab95c9.8587df0a.61cae.56f9@mx.google.com>
References: <E269BF34-4CE1-47EC-8A80-F18DE55E2BEF@open-lab.org>
<20180315204851.GU2416@tamriel.snowman.net>
<CANu8FixnK=FJswaK8o=eWZ7smOTh=qpb8ciFAYd9oWUCS4tb1A@mail.gmail.com>
<206B6740-DCC5-4491-A87D-EEF5CBF8EA6B@open-lab.org>
<20180315220512.GV2416@tamriel.snowman.net>
<CANu8FiyPd5DUuP01RKjmYzxZcBFaPFfV6qZeiEzQJU5QAfx2jg@mail.gmail.com>
<20180316021411.GX2416@tamriel.snowman.net>
<CANu8Fiyq8kFxMh5eoJVb4-5fCH=koXe02pd2rBGTF+cKYtqSLQ@mail.gmail.com>
<23415.1521170582@sss.pgh.pa.us>
<5aab95c9.8587df0a.61cae.56f9@mx.google.com>
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
view thread (3+ messages) latest in thread
Message-ID: <088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de> Permalink: ../088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de/ Also on: postgresql.org/message-id/088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-general@postgresql.org Cc: andreas@a-kretschmer.de Subject: Re: Circle and box intersect In-Reply-To: <088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de> References: <E269BF34-4CE1-47EC-8A80-F18DE55E2BEF@open-lab.org> <20180315204851.GU2416@tamriel.snowman.net> <CANu8FixnK=FJswaK8o=eWZ7smOTh=qpb8ciFAYd9oWUCS4tb1A@mail.gmail.com> <206B6740-DCC5-4491-A87D-EEF5CBF8EA6B@open-lab.org> <20180315220512.GV2416@tamriel.snowman.net> <CANu8FiyPd5DUuP01RKjmYzxZcBFaPFfV6qZeiEzQJU5QAfx2jg@mail.gmail.com> <20180316021411.GX2416@tamriel.snowman.net> <CANu8Fiyq8kFxMh5eoJVb4-5fCH=koXe02pd2rBGTF+cKYtqSLQ@mail.gmail.com> <23415.1521170582@sss.pgh.pa.us> <5aab95c9.8587df0a.61cae.56f9@mx.google.com> <088af4a1-47ae-7cf8-1b0f-53917c3dcbee@a-kretschmer.de> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
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