12 2022 档案

GeoServer 发布PostGIS数据库中的栅格数据
摘要:1.导入栅格数据 进入PostgreSQL\bin目录,利用raster2pgsql工具导入栅格数据,具体命令如下所示: <!-- 分块,切片存储到PostGIS数据库中 --> raster2pgsql -s 4326 -I -C -M E:/personalfile/cs1/alt.tif -F 阅读全文

posted @ 2022-12-15 13:14 闹不机米 阅读(1550) 评论(0) 推荐(0) 编辑

raster2pgsql 执行命令
摘要:raster2pgsql -s 4326 -I -C -M /home/radar_202210251000.tif public.radar_data_xx | psql -h 120.46.210.160 -p 8431 -U nb_db -d nb_db -W回车后输入数据库密码 -h ip地 阅读全文

posted @ 2022-12-15 11:35 闹不机米 阅读(447) 评论(0) 推荐(0) 编辑

rt_raster_to_gdal: Could not load the output GDAL driver
摘要:问题记录:postgis 安装后不能执行以下语句,查询入库的 tif 文件 SELECT ST_AsGDALRaster(rast, 'GTiff') As rastjpg FROM radar_data_xx WHERE rid=1; 解决办法: 1. 确认是否安装 GDAL ,否则安装GDAL 阅读全文

posted @ 2022-12-15 11:27 闹不机米 阅读(289) 评论(0) 推荐(0) 编辑

ubuntu 下如何设置环境变量
摘要:一、设置环境变量的三种方法 1.1 临时设置 export PATH=/home/yan/share/usr/local/arm/3.4.1/bin:$PATH 1.2 当前用户的全局设置 打开~/.bashrc,添加行: export PATH=/home/yan/share/usr/local/ 阅读全文

posted @ 2022-12-14 14:03 闹不机米 阅读(2089) 评论(0) 推荐(0) 编辑

GDAL 安装
摘要:命令总和 add-apt-repository ppa:ubuntugis/ppa apt-get update apt-get install gdal-bin apt-get install libgdal-dev export CPLUS_INCLUDE_PATH=/usr/include/g 阅读全文

posted @ 2022-12-14 10:12 闹不机米 阅读(1037) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示