Skip to main content
Question

PostGIS writer multipolygon issue

  • January 21, 2013
  • 4 replies
  • 29 views

Hi,

 

 

I have an existing multipolygon PostGIS table. The entry in the geometry_columns is multipolygon and there are constraints on the table (2d, multipolygon and SRS).

 

 

1. When trying to write some features from a shapefile reader, only the single part polygons are written to the table. The multipart polygons get following warning:

 

Geometry might not be representable in requested form

 

 

The allowed geometries parameter in the writer is set to "postgis_multipolygon".

 

 

2. In QGIS I can open the table and view the single part polygons that are written to the table, but the geometry column of the features is empty.

 

 

Found some similar topics in the FME talk but these are not really solving my problem.

 

 

Any ideas?

 

 

Thx,

 

Rob

4 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • January 21, 2013

Hi Rob,

 

This might be a support issue.  Would you mind logging this with some sample data, versions involved for the PostGIS and FME.  If you have a table create (with constraints) script we could investigate futher.   Submit at fme.ly/support.

 

 

Thanks.

Steve

 

 

 

  • Author
  • January 22, 2013
Ok, support issue submitted.

 

 

Rob

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • January 22, 2013
Hi Rob,

 

I'll get back to you in support but I think the constraint is saying "only multi-polygons" so regular polygons aren't going in.

  • Author
  • January 22, 2013
That is a bit strange as only the singlepart is going in and the actual multipart polygons not.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings