| | |
| | | select * from lf.sys_layer order by id desc; |
| | | select * from lf.sys_fme_log order by id desc; |
| | | |
| | | select top, bottom, top -(bottom - top) from public.coal2000 order by gid limit 100; |
| | | update public.coal2000 set bottom = top -(bottom - top); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | ---------------------------------------------------------------------------------------------- |
| | | -- update lf.sys_publish a set geom = ST_GeomFromText('POINT Z (31.231025 113.223529 12)') where id = 1; |
| | | select id from lf.sys_layer where cn_name = '三维地质模型' and pid = (select id from lf.sys_layer where cn_name = '勘察' order by pid limit 1); |
| | | select id from lf.sys_layer where cn_name = '单体模型' and pid = (select id from lf.sys_layer where cn_name = '测绘' order by pid limit 1); |
| | | select id from lf.sys_layer where cn_name = '数字正射影像图' and pid = (select id from lf.sys_layer where cn_name = '测绘' order by pid limit 1); |
| | |
| | | ); |
| | | -- drop index if exists public.idx_coal2000_geom; |
| | | create index idx_coal2000_geom on public.coal2000 using gist (geom); |
| | | create index idx_coal2000_top on public.coal2000 (top); |
| | | create index idx_coal2000_bottom on public.coal2000 (bottom); |
| | | comment on table public.coal2000 is '煤层2000表'; |
| | | comment on column public.coal2000.gid is '主键ID'; |
| | | comment on column public.coal2000.top is '上顶高度'; |