This commit is contained in:
yooooger 2025-07-10 10:10:57 +08:00
parent 0f13afcbb5
commit 8adada2f76
3 changed files with 0 additions and 27 deletions

View File

@ -7,7 +7,6 @@ import logging
import uuid
import os
import asyncio
from minio import Minio
from ai_image import process_images # 你实现的图片处理函数
from queue import Queue
import gdal2tiles as gdal2tiles
@ -79,21 +78,6 @@ app.config.update({
map_tile_blueprint = Blueprint('map', url_prefix='/map/')
app.blueprint(map_tile_blueprint)
# # 切割地图API
# @map_tile_blueprint.post("/tile")
# async def map_tile_api(request):
# try:
# # 解析必要字段
# tile_data = request.json
# tif_url = tile_data.get("tif_url")
# prj_url = tile_data.get("prj_url")
# zoom_levels = tile_data.get("zoom_levels", "1-18")
# result = asyncio.run(process_tiling(tif_url, prj_url, zoom_levels))
# return json_response(result)
# except Exception as e:
# logger.error(f"Error occurred while parsing request: {str(e)}", exc_info=True)
# return json_response({f"{str(e)}"})
#语义识别
@map_tile_blueprint.post("/uav")
async def process_handler(request):

View File

@ -1,6 +0,0 @@
sql:
host: '47.108.71.9'
port: 5432
dbname: 'postgres'
user: 'postgres'
password: 'root'

View File

@ -1,5 +0,0 @@
minio:
endpoint: "222.212.85.86:9000"
access_key: "adminjdskfj"
secret_key: "123456ksldjfal@Y"
secure: false