Skip to main content
Question

Missing polygons when writing to PostGIS?

  • August 15, 2019
  • 2 replies
  • 38 views

Forum|alt.badge.img

I am having issues where some polygons are not being written to my PostGIS schema when running a workspace.

Attached are two screenshots, one from directly before the PostGIS feature writer and one of the same features being read back in from PostGIS.

I've checked the geometries are valid, are not too complex and have also written it out to a FGDB where all polygons are written fine.

Has anyone experienced this or have any potential solutions/suggestions?

 

 

 

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • 8394 replies
  • August 15, 2019

Have you verified the FME log for warnings after writing the polygons? I've had instances where some warnings weren't "properly" highlighted in the FME log, so I recommend that you really check thoroughly for anything in the log that could explain why the polygons weren't written.

You could also insert a GeometryValidator with basic OGC checks before the writer, to see if there are any issues.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • 1442 replies
  • August 15, 2019

Have you verified the FME log for warnings after writing the polygons? I've had instances where some warnings weren't "properly" highlighted in the FME log, so I recommend that you really check thoroughly for anything in the log that could explain why the polygons weren't written.

You could also insert a GeometryValidator with basic OGC checks before the writer, to see if there are any issues.

yep, lesson from the very beginning always use a GeometryValidator before writing to a database.