Question

Geometry in PostGis table

  • 26 February 2019
  • 1 reply
  • 5 views

Badge +6

I'm writing information with geometry in Postgis table. It is currently in UTM, (SA-SIR-22S), before I need reproject for EPSG 4674 (SIRGAS 2000 LL). A failure occurs:

 

The bulk copy failed in the 'public.amb_app' table using the ':' delimiter. Error was' ERROR: new line for relation "amb_app" violates verification constraint "enforce_srid_geom"

CONTEXT: COPY amb_app, line 1: "8.34: 4: 461: 0400046100001: etn.sao francisco (flavio): 010300002042120000010000008503 ... '

A fatal error has occurred. Check the log file above for details

... Last row repeated 2 times ...

 

How to solve this?


1 reply

Userlevel 4

You need to verify the SRID specified in the postgis table constraint named 'enforce_srid_geom' and make sure that your FME features are tagged with the exact same coordinate system before they arrive to the writer.

Reply