摘要: hp2xx - 转换为某些矢量和光栅格式的 HPGL 转换器 下载安装 https://www.gnu.org/software/hp2xx/ https://gnuwin32.sourceforge.net/packages/hp2xx.htm 用法 https://www.math.utah.e 阅读全文
posted @ 2023-10-25 23:05 槑孒 阅读(93) 评论(0) 推荐(0)
摘要: Docker 换源 在 Docker 中,我们可以通过修改 /etc/apt/sources.list 文件来更换软件源。以下是一个示例 Dockerfile 文件,展示了如何在构建镜像时更换软件源: FROM ubuntu:latest # 使用 sed 命令替换默认的软件源为阿里云镜像源 RUN 阅读全文
posted @ 2023-10-25 15:59 槑孒 阅读(2234) 评论(0) 推荐(0)
摘要: 在Geoserver中发布WMS服务时,可以通过以下步骤设置缓存: 打开Geoserver的管理界面,并进入“图层”页面。 点击发布标签,就可以看到Caching Settings 设置完成后,点击“保存”按钮保存更改即可生效。 通过以上步骤,就可以在Geoserver中为WMS服务设置缓存了。 阅读全文
posted @ 2023-10-25 15:04 槑孒 阅读(454) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import arcpy import os def NcToRaster(ncFile, workspace=None): if workspace is None: workspace = os.path.dirname(ncFile) arcpy 阅读全文
posted @ 2023-10-25 00:59 槑孒 阅读(72) 评论(0) 推荐(0)
摘要: 要使用arcpy删除栅格图层,可以使用Delete_management()函数。 import arcpy # 设置工作空间 arcpy.env.workspace = "D:/data" # 定义要删除的栅格图层名称 raster_layer = "example_raster.tif" # 删 阅读全文
posted @ 2023-10-25 00:47 槑孒 阅读(120) 评论(0) 推荐(0)