如何解决Column has Z dimension but geometry does not

-- 修改列,去掉Z
ALTER TABLE guidao_station
  ALTER COLUMN geom TYPE geometry('POINT')
    USING public.st_force2d(geom);

你可能感兴趣的:(java,数据库)