From c0222139729eb9b133f77581a429b9b56323e74f Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期二, 14 六月 2022 17:00:24 +0800 Subject: [PATCH] 设备支持设置地理坐标系,并将级联输出坐标系统一为wgs84 --- sql/update.sql | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/sql/update.sql b/sql/update.sql index 0abc544..f78744d 100644 --- a/sql/update.sql +++ b/sql/update.sql @@ -1,4 +1,16 @@ alter table stream_push add serverId varchar(50) not null; +alter table device + add geoCoordSys varchar(50) not null; +update device set device.geoCoordSys='WGS84'; +alter table device_channel + add longitudeGcj02 double default null; +alter table device_channel + add latitudeGcj02 double default null; +alter table device_channel + add longitudeWgs84 double default null; +alter table device_channel + add latitudeWgs84 double default null; + -- Gitblit v1.8.0