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 296F39DC99F for ; Thu, 23 Feb 2006 18:08:14 -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 79909-10 for ; Thu, 23 Feb 2006 18:08:15 -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 C7B3C9DC819 for ; Thu, 23 Feb 2006 18:08:11 -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 k1NM80Bs069783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Feb 2006 15:08:02 -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 k1NM7x9u054483; Thu, 23 Feb 2006 15:07:59 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k1NM7xhl054482; Thu, 23 Feb 2006 15:07:59 -0700 (MST) (envelope-from mfuhr) Date: Thu, 23 Feb 2006 15:07:59 -0700 From: Michael Fuhr To: Sunanda Kumaraguru Cc: pgsql-admin@postgresql.org, Ashok Samal Subject: Re: ERROR: Cannot determine geometry type (empty table). Message-ID: <20060223220759.GA54436@winnie.fuhr.org> References: <67e0ca070602231148l17f4dcf8n3980fa69a936e2f4@mail.gmail.com> <20060223215448.GA54165@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060223215448.GA54165@winnie.fuhr.org> 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/297 X-Sequence-Number: 20718 On Thu, Feb 23, 2006 at 02:54:48PM -0700, Michael Fuhr wrote: > I'd guess you're trying to dump an empty table. Or maybe you're issuing a query that returns no rows. % psql -d postgis -c 'select max(gid) from feb3' max ----- 2 (1 row) % pgsql2shp postgis 'select * from feb3 where gid > 2' Preparing table for user query... Done. Initializing... ERROR: Cannot determine geometry type (empty table). -- Michael Fuhr