| | |
| | | comment on column nsl.simu.bak is '备注'; |
| | | comment on column nsl.simu.geom is '空间位置'; |
| | | |
| | | select * from nsl.simu; |
| | | -- insert into nsl.simu (name, service_name, type, area_type, status, geom) values ('预测模拟-0416', '20250416100000', 1, 1, 0, ST_GeomFromText('MULTIPOLYGON(((116.666748 39.639859,116.659403 39.626287,116.665956 39.654698,116.666748 39.639859)))')); |
| | | |
| | | select *, st_astext(geom) geom from nsl.simu; |
| | | ---------------------------------------------- 2.推演区域 |
| | | -- drop table if exists nsl.region; |
| | | create table nsl.region ( |
| | |
| | | comment on column nsl.region.type is '类别:1-行政区划,2-重点区域,3-重点沟'; |
| | | comment on column nsl.region.geom is '空间位置'; |
| | | |
| | | select * from nsl.region; |
| | | -- insert into nsl.region (name, type, geom) values ('大兴', 1, ST_GeomFromText('MULTIPOLYGON(((116.666748 39.639859,116.659403 39.626287,116.665956 39.654698,116.666748 39.639859)))')); |
| | | |
| | | select id, name, type, st_astext(geom) from nsl.region order by id; |
| | | ---------------------------------------------- 3.雨量计 * |
| | | -- drop table if exists nsl.udometer; |
| | | create table nsl.udometer ( |