Importing certain shapefiles into PostGIS via GeoServer REST results in 0 features being saved to the PostGIS table.

Description

When importing certain shapefiles (one thing they seem to have in common is that they contain thousands of features) into PostGIS via GeoServer's REST API, the table is created in PostGIS with correct attributes but is completely empty (0 records). No error messages are returned. A sample shapefile is attached.

curl -u admin:geoserver -XPUT -H 'Content-type: application/zip' --data-binary @jpn_Railways_UTM54N.zip http://localhost:8080/geoserver/rest/workspaces/cite/datastores/wmdata/file.shp - http://localhost:8080/geoserver/rest/workspaces/cite/datastores/wmdata/file.shp

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure