摘要: import requests import json # 设置缓存时间 data = json.dumps({ "coverage": { "metadata": { "entry": [ { "@key": "cacheAgeMax", "$": "1800" }, { "@key": "cac 阅读全文
posted @ 2023-11-28 22:36 槑孒 阅读(311) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/Mr-Kahn/p/12850742.html https://www.osgeo.cn/geoserver-user-manual/rest/index.html#rest python示例 # xml方式 auth = ('admin', 'geo 阅读全文
posted @ 2023-11-28 17:26 槑孒 阅读(159) 评论(0) 推荐(0)
摘要: 解决方案代码如下: const debounce = (fn, delay) => { let timer = null; return function () { let context = this; let args = arguments; clearTimeout(timer); time 阅读全文
posted @ 2023-11-28 17:12 槑孒 阅读(226) 评论(0) 推荐(1)
摘要: import paramiko import os # SSH 连接信息 hostname = "your_remote_host" port = 22 username = "your_username" password = "your_password" # 远程目录路径 remote_dir 阅读全文
posted @ 2023-11-28 15:39 槑孒 阅读(270) 评论(0) 推荐(0)
摘要: from geoserver.catalog import Catalog cat = Catalog("http://localhost:8080/geoserver/rest/", username="admin", password="geoserver") data_url = "D:/GI 阅读全文
posted @ 2023-11-28 00:08 槑孒 阅读(736) 评论(0) 推荐(0)