package com.xiaopeng.map.service;
|
|
import com.xiaopeng.map.dto.AreaInput;
|
|
import java.util.List;
|
|
/**
|
* ADC OSS 处理服务,根据坐标点生成 RTree fbs 并上传至 OSS。
|
*/
|
public interface AdcOssHandleService {
|
|
/**
|
* 根据多区域坐标点生成 RTree fbs 并上传至 OSS
|
*
|
* @param areas 区域列表,每个 AreaInput 含 points、areaId、isBlacklist
|
* @param vin 车辆 VIN 码
|
* @param version 版本号(与围栏表 xpu_version 一致)
|
* @return 上传后的 objectKey,失败抛异常
|
*/
|
String uploadOddLayerFile(List<AreaInput> areas, String vin, long version);
|
|
/**
|
* 围栏失效时上传空 RTree FBS(无任何区域节点),表示该围栏已无有效数据
|
*
|
* @param vin 车辆 VIN 码
|
* @param version 版本号(与围栏表 xpu_version 一致)
|
* @return 上传后的 objectKey,失败抛异常
|
*/
|
String uploadEmptyFence(String vin, long version);
|
|
}
|