Skip to main content
  • 7,200 Posts
  • 26,492 Replies
7200 Posts
PostGIS writer: converts 3D geometry to 2D on existing table

When attempting to use an existing table in a PostGIS database, the PostGIS writer is coercing my 3D geometry objects into 2D. I have not seen this issue with a PostGIS writer that uses automatic table creation and the data type for the geom column is defined as GEOMETRY in both cases.I have seen 2 different warnings regarding this:POSTGIS Writer: PostGIS existing table has a 2D constraint, changing input data into 2D datacoerced to 2D in table 'cad.cad_geom'Why are the objects being coerced?Are there writer settings to prevent this from happening?Here is the table definition:CREATE TABLE IF NOT EXISTS cad.cad_geom( id                      BIGSERIAL    PRIMARY KEY, created                 TIMESTAMPTZ  DEFAULT CURRENT_TIMESTAMP, updated                 TIMESTAMPTZ  DEFAULT CURRENT_TIMESTAMP, xchg_ts                 TIMESTAMPTZ  DEFAULT NULL, _refid                  BIGINT

Badge Winners

  • Spanish Speaker
    godoorlyhas earned the badge Spanish Speaker
  • English Speaker
    godoorlyhas earned the badge English Speaker
  • Online Training
    andreafortisbhas earned the badge Online Training
  • Student (Grey)
    crbhas earned the badge Student (Grey)
  • Webinar Watcher (Grey)
    ewoonkhas earned the badge Webinar Watcher (Grey)
Show all badges

Community Stats

32,413
Posts
122,925
Replies
40,131
Members

Latest FME