吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
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
32
33
34
35
36
37
38
39
package org.sxkj.odm.feign;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
@FeignClient(
    value = "drone-odm",
    fallback = IDrawPixelBoxClientFallback.class
)
/**
 * 绘制像素框
 */
public interface IDrawPixelBoxClient {
 
    String API_PREFIX = "/client";
 
    String DRAW_IMAGE_PIXEL_BOX = API_PREFIX + "/draw-image-pixel-box";
 
    /**
     * 绘制像素框
     *
     * @param type        0tif 1图片
     * @param tifFilePath tif文件路径
     * @param filePath    文件路径
     * @param outPath     输出路径
     * @param points      像素坐标点集合
     * @param geom   地理面
     * @return 绘制结果
     */
    @GetMapping(DRAW_IMAGE_PIXEL_BOX)
    Boolean drawImagePixelBox(@RequestParam("type") int type,
                              @RequestParam("tifFilePath") String tifFilePath,
                              @RequestParam("filePath") String filePath,
                              @RequestParam("outPath") String outPath,
                              @RequestParam("points") String points,
                              @RequestParam("geom") String geom);
 
}