Ticket #1479 (closed defect: fixed)
Pgsql2shp: Dumping: XWKB structure does not match expected size!
| Reported by: | jomarlla | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | pgsql2shp wkb | Cc: |
Description
Pgsql2shp creates a wrong shape file.
\d viariachedis1
Table "public.viariachedis1"
Column | Type | Modifiers
--------+------------------------------+-------------------------------------------------------------
gid | integer | not null default nextval('viariachedis1_gid_seq'::regclass)
geom | geometry(MultiPolygon,23030) |
Indexes:
"viariachedis1_pkey" PRIMARY KEY, btree (gid)
pgsql2shp -f viariachedis1 -u postgres -P pg r8844-1 viariachedis1
Initializing...
Done (postgis major version: 2).
Output shape: Polygon
Dumping: XWKB structure does not match expected size!
At least the dbf file is corrupted:
-rw-r--r-- 1 alumno users 1 Jan 16 16:43 viariachedis1.dbf -rw-r--r-- 1 alumno users 842704 Jan 16 16:43 viariachedis1.shp -rw-r--r-- 1 alumno users 100 Jan 16 16:43 viariachedis1.shx
Change History
Note: See
TracTickets for help on using
tickets.
