Received: from golem.jpl.nasa.gov (root@hectic-1.jpl.nasa.gov [128.149.68.203]) by hub.org (8.8.8/8.7.5) with ESMTP id KAA10710 for ; Sat, 11 Jul 1998 10:02:56 -0400 (EDT) Received: from alumni.caltech.edu (localhost [127.0.0.1]) by golem.jpl.nasa.gov (8.8.5/8.8.5) with ESMTP id OAA29325; Sat, 11 Jul 1998 14:09:16 GMT Sender: tgl@mythos.jpl.nasa.gov Message-ID: <35A7720C.B254F09@alumni.caltech.edu> Date: Sat, 11 Jul 1998 14:09:16 +0000 From: "Thomas G. Lockhart" Organization: Caltech/JPL X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.30 i686) MIME-Version: 1.0 To: dgross@lri.fr CC: Postgres Interfaces Mailing List Subject: Re: [INTERFACES] postgres for spatial data Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I'm looking for a graphical interface that can display the > geometric types like polygon,... Don't know about pre-built utilities for graphical display of geometric objects. Let us know what you discover. > I'm also looking for SQL extension in order to make > spatial queries (for example, a function that tells if a point > belongs to the interior of a polygon) There are already some operators available; for example, the "@" operator is for "on or inside": postgres=> select '(0,0)'::point postgres-> @ '((0,1),(1,0),(0,-1),(-1,0))'::polygon; ?column? -------- t (1 row) Look in the hardcopy or html doc set which is included in v6.3.x. You need to do a "make install" from the doc directory to get them unpacked. Good luck... - Tom