管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-11-20 d7e3011a44a85f32aaab975f603f17a9bec198c5
data/db_tab.sql
@@ -970,10 +970,17 @@
  create_user integer,
  create_time timestamp(6) without time zone default now(),
  update_user integer,
  update_time timestamp(6) without time zone
  update_time timestamp(6) without time zone,
  geom geometry(Point, 4490)
);
create index if not exists md_zxcg_geom_idx on md.md_zxcg using gist (geom);
drop index if exists md_zxcg_geom_idx cascade;
comment on table md.md_zxcg is '中线成果表';
vacuum analyze md.md_zxcg;
insert into md.md_zxcg (zh, geom) values ('A01', ST_GeomFromText('POINT(95.80461853400004 34.13862467200005)'));
insert into md.md_zxcg (zh, geom) values ('A02', ST_GeomFromText('POINT(119.873000 39.392000)'));
select gid,zh,ST_ASText(geom) from md.md_zxcg;
select * from md.md_zxcg;
-- drop table if exists md.md_gdcg;