吉安感知网项目-后端
linwei
2026-06-03 30dc5b1fa3bb545cb1c2f2445f26cb033d8295b9
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/service/impl/GdManageDeviceServiceImpl.java
@@ -93,6 +93,7 @@
      // 获取设备位置 生成缓冲区
      if (gdManageDeviceEntity.getLongitude() != null && gdManageDeviceEntity.getLatitude() != null) {
         String bufferAroundPointAsString = GeomUtils.getBufferAroundPointAsString(gdManageDeviceEntity.getLongitude(), gdManageDeviceEntity.getLatitude(), 5 * 1000);
         log.info("saveOrUpdateDevice {}", bufferAroundPointAsString);
         gdManageDeviceEntity.setGeom(bufferAroundPointAsString);
         String location = GdGeoAddressUtil.getFormattedAddress(gdManageDeviceEntity.getLongitude(), gdManageDeviceEntity.getLatitude());
         gdManageDeviceEntity.setLocation(location);