Opened 14 years ago

Closed 4 years ago

#643 closed defect (wontfix)

inconsistent geometry when importing shapefiles containing multipolygons into PostGIS

Reported by: schuyler@… Owned by: warmerdam
Priority: high Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc: Markus Neteler, Mateusz Łoskot

Description (last modified by Mateusz Łoskot)

When importing shapefiles containing multipolygons into PostGIS, the wkb_geometry column type is set to POLYGON, but the import fails because the type of some of the shapes is MULTIPOLYGON. This is particularly an issue with TIGER/Line data.

Change History (4)

comment:1 Changed 12 years ago by Mateusz Łoskot

Cc: Mateusz Łoskot added
Description: modified (diff)

comment:2 Changed 11 years ago by Markus Neteler

Cc: Markus Neteler added; neteler@… removed

comment:3 Changed 4 years ago by Jukka Rahkonen

I think that this ticket could be closed. Behavior is well known as well as the use of -nlt MULTIPOLYGON or -nlt PROMOTE_TO_MULTI in ogr2ogr utility.

comment:4 Changed 4 years ago by Jukka Rahkonen

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.