| | |
| | | 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; |