From: Michael Fuhr <mike@fuhr.org>
To: Sunanda Kumaraguru <sunanda.kumaraguru@gmail.com>
Cc: pgsql-admin@postgresql.org, Ashok Samal <samal@cse.unl.edu>
Subject: Re: ERROR: Cannot determine geometry type (empty table).
Date: Thu, 23 Feb 2006 15:07:59 -0700
Message-ID: <20060223220759.GA54436@winnie.fuhr.org> (raw)
In-Reply-To: <20060223215448.GA54165@winnie.fuhr.org>
References: <67e0ca070602231148l17f4dcf8n3980fa69a936e2f4@mail.gmail.com>
<20060223215448.GA54165@winnie.fuhr.org>
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
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-admin@postgresql.org
Cc: mike@fuhr.org, sunanda.kumaraguru@gmail.com, samal@cse.unl.edu
Subject: Re: ERROR: Cannot determine geometry type (empty table).
In-Reply-To: <20060223220759.GA54436@winnie.fuhr.org>
References: <67e0ca070602231148l17f4dcf8n3980fa69a936e2f4@mail.gmail.com> <20060223215448.GA54165@winnie.fuhr.org> <20060223220759.GA54436@winnie.fuhr.org>
* 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