Hi,
I have a postgis (12) table with 2 geometry columns.
The first column is defined as geometry (geometry, 3857).
The second column is defined as geometry (geometryZ, 3857).
Consequently, the postgis geometry_columns view shows 2 entries, indicating 2 dimensions for the first column, and 3 dimensions for the second column.
When writing 3D data to this table, I select the 3D column in the writer properties.
This gives a warning in the log:
POSTGIS Writer: PostGIS existing table has a 2D constraint
My data is forced to 2D, but this is not accepted by Postgis, and my translation fails.
When I remove the 2D geometry column form my table, all 3D data is inserted without errors.
Apart from just using the 3D column and forcing all data to 3D in FME and then back again to 2D in my application, I do not see another solution.
Is there another way to work around this?
I'm using FME FME(R) 2020.1.0.1 (20200710 - Build 20596 - WIN64)
Thanks,