shench3
2026-03-03 c90dd2da4cfa60c06099c4e66fba6b203bf90b59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xiaopeng.map.service;
 
import com.xiaopeng.map.utils.XngpAreaRTreeFbsUtil;
 
import java.util.List;
 
/**
 * ADC OSS 处理服务,根据坐标点生成 RTree fbs 并上传至 OSS。
 */
public interface AdcOssHandleService {
 
    /**
     * 根据坐标点生成 RTree fbs 并上传至 OSS
     *
     * @param points   多边形顶点(使用 XngpAreaRTreeFbsUtil.LonLat)
     * @param areaId   区域 areaId
     * @param vin      车辆 VIN 码
     * @param areaCode 区域编码
     * @return 上传后的 objectKey,失败抛异常
     */
    String uploadOddLayerFile(List<XngpAreaRTreeFbsUtil.LonLat> points, int areaId, String vin, String areaCode);
 
    /**
     * 删除指定车辆在指定区域下的 ODD 图层文件
     *
     * @param vin      车辆 VIN 码
     * @param areaCode 区域编码
     * @return 成功删除的 objectKey 列表
     */
    List<String> deleteOddLayerFiles(String vin, String areaCode);
}