def get_mbtiles(id):
return send_from_directory(
IMAGERY_PATH,
os.path.join(id, 'index.mbtiles'),
as_attachment=True,
attachment_filename='{}.mbtiles'.format(id),
conditional=True
)
# TODO allow bounding boxes + zoom ranges to be provided
评论列表
文章目录