当将GeoTIFF文件加载到MapBox Studio时,它显示为黑色,边界扩展如下所示,文件表示FAA分段图
。
。
通过在线搜索,所有引用都指出,没有数据的像素在jpg文件中显示为黑色,不支持透明性。
我尝试了几种方法,如下所示,它们都没有解决这个问题;
1. (https://www.mapbox.com/help/troubleshoot-raster-transparency-issues/)
The first command failed with Index out of bound
2. gdal_translate -of GTiff -co PROF
早上好,集体情报局。
最近,我不得不重新启用PostgreSQL9.1数据库,将原始数据目录文件插入到新安装中。我所有的数据都完好无损,除了我不能打开我的PostGIS空间数据。
我能够在新的数据库中启用空间数据:
CREATE extension postgis;
但是,试图访问恢复的空间数据库中的数据会导致错误。
例如,
SELECT PostGIS_full_version();
抛出错误:
ERROR: could not access file "$libdir/postgis-2.0": No such file or directory
SQL state: 58
我想这是一个已知的问题,但是由于我使用了一个删除postgresql-9.4-postgis-2.1的脚本,我现在无法消除Debian下的这个SQL错误。
无法访问文件$libdir/postgis-2.1没有这样的文件或目录
我做了以下工作:
- Remove new unwanted postgresql-9.5-postgis-2.2 package installed
- Reinstalling postgresql-9.4-postgis-2.1, postgresql-9.4-postgis-scripts and postgis
- Using SQL: ALTER E