X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6725C9DCCD0 for ; Thu, 23 Feb 2006 17:40:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77043-04 for ; Thu, 23 Feb 2006 17:40:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id A4C399DCCF3 for ; Thu, 23 Feb 2006 17:40:29 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k1NLeQRa069757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Feb 2006 14:40:28 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k1NLePLB054123; Thu, 23 Feb 2006 14:40:25 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k1NLePHw054122; Thu, 23 Feb 2006 14:40:25 -0700 (MST) (envelope-from mfuhr) Date: Thu, 23 Feb 2006 14:40:25 -0700 From: Michael Fuhr To: Yantao Shi Cc: pgsql-admin@postgresql.org Subject: Re: how to use PostGIS with Postgres Message-ID: <20060223214024.GA44670@winnie.fuhr.org> References: <43FE04CE.5090502@larcb.ecs.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43FE04CE.5090502@larcb.ecs.nasa.gov> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/293 X-Sequence-Number: 20714 On Thu, Feb 23, 2006 at 01:54:06PM -0500, Yantao Shi wrote: > We have PostGIS 1.1.1 installed and I am trying to get it to work with > Postgres8.1.1 on our system. > > Could some one give me a small sample script that lets me connect to > postgis from Postgres? PostGIS is a third-party extension to PostgreSQL; it's a set of data types, functions, and operators that you load into PostgreSQL and then use with ordinary SQL. It also has command-line programs for importing and exporting ESRI Shapefile data. See the PostGIS documentation for installation instructions and usage examples: http://postgis.refractions.net/docs/ I'd recommend subscribing to the postgis-users mailing list in addition to the PostgreSQL lists. The PostgreSQL lists are good for general help with the database, but the PostGIS list is better if you have PostGIS-specific questions. http://postgis.refractions.net/mailman/listinfo/postgis-users -- Michael Fuhr