Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
I have a problem when i try to publish a shp into a postgis store.
The generated table is empty but GS does not shows errors.
Checking the Postgres logging I found the following ERROR: new row for relation "admin_shp_test" violates check constraint "enforce_geotype_the_geom".
These seems to be due to a specific call: INSERT INTO "public"."admin_shp_test" ( "the_geom","ID","AREA","PERIMETER","protezione" ) VALUES (GeomFromText('MULTIPOLYGON EMPTY',32633),0,0.0,0.0,'');
The MULTIPOLYGON EMPTY value produce this error.
Attached the test shape file and the path file to resolve this issue
Issue Links
- is depended upon by
-
GEOS-5045
Shp publish into postgis datastore with MULTIPOLYGON EMPTY value violates check constraint.
-