X-Original-To: pgsql-sql@postgresql.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by postgresql.org (Postfix) with ESMTP id 3C16547580B for ; Fri, 14 Mar 2003 00:18:42 -0500 (EST) Received: from pppth08-206.ght.iadfw.net (pppth08-206.ght.iadfw.net [207.136.52.80]) (authenticated bits=0) by lerami.lerctr.org (8.12.8/8.12.8/20030225) with ESMTP id h2E5IgfS000169; Thu, 13 Mar 2003 23:18:44 -0600 (CST) Date: Thu, 13 Mar 2003 23:18:37 -0600 From: Larry Rosenman To: Ryan Orth , jeff@propertykey.com Cc: pgsql-sql@postgresql.org Subject: Re: nearest match Message-ID: <24770000.1047619117@lerlaptop.lerctr.org> In-Reply-To: <10193.65.102.128.233.1047576141.squirrel@fordparts.com> References: <10112.65.102.128.233.1047504752.squirrel@fordparts.com> <3E709AF4.9050407@propertykey.com> <10193.65.102.128.233.1047576141.squirrel@fordparts.com> X-Mailer: Mulberry/3.0.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Archive-Number: 200303/355 X-Sequence-Number: 12394 --On Thursday, March 13, 2003 11:22:21 -0600 Ryan Orth wrote: >> Ryan wrote: > Hot damn! thats exactly what I needed. I imagine I would only be > comparing the distance of 50 points at any given time (about the max > number of reference numbers on any given image) so its mighty quick. > (184 points takes 1.80 msec to check) > > I didn't even know about those geometric operators (I find new stuff every > day I swear). Are they SQL standard or postgres specific? postgres specific. There are a WHOLE bunch of geometric operators and functions in PG. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749