Opened 14 years ago

Closed 14 years ago

#605 closed defect (worksforme)

Unexpected handling of invalid geometry from shp2pgsql

Reported by: bsears Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.2
Component: postgis Version: 1.5.X
Keywords: shp2pgsql Cc:

Description

When using shp2pgsql to convert the attached file (with an invalid geometry), it crashes. When using the -D flag, it continues, and Postgres rejects the geometry.

Is there a way for the loader to put a warning rather than quit?

Attachments (1)

110m-coastline.zip (78.6 KB ) - added by bsears 14 years ago.
Shapefile with invalid geometry

Download all attachments as: .zip

Change History (2)

by bsears, 14 years ago

Attachment: 110m-coastline.zip added

Shapefile with invalid geometry

comment:1 by mcayland, 14 years ago

Resolution: worksforme
Status: newclosed

This works fine for me with latest 1.5 SVN, so you should find this fixed in 1.5.2.

Note: See TracTickets for help on using tickets.