[postgis-users] pgsql2shp error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Nov 21 07:20:51 PST 2005


Hi,

We're trying to dump postgis data to shapefile with:

$ pgsql2shp -f out -h somehost -u username database mytable

And getting:

Initializing... Done.
Dumping: XMalformed WKB

Using:

database=# select postgis_full_version();
                                         postgis_full_version
------------------------------------------------------------------------
------------------------------
 POSTGIS="1.0.4" GEOS="2.0.1" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS
DBPROC="0.3.0" RELPROC="0.3.0"
(1 row)

And RCSID on pgsql2shp is:

RCSID: $Id: pgsql2shp.c,v 1.53.2.3 2004/10/17 12:15:32 strk Exp $

Any help would be valued.

Thanks

..Tom



More information about the postgis-users mailing list