我是qgis的新手,尝试对向量中的栅格图层进行多边形处理时出现错误。我不明白-为什么它不起作用。 来自photoshop的2种颜色的图像-黑色和透明。 有人可以帮我吗? 谢谢!
QGIS version: 3.8.2-Zanzibar
QGIS code revision: 4470baa1a3
Qt version: 5.11.2
GDAL version: 2.4.1
GEOS version: 3.7.2-CAPI-1.11.0 b55d2125
PROJ version: Rel. 5.2.0, September 15th, 2018
Processing algorithm…
Algorithm 'Polygonize (raster to vector)' starting…
Input parameters:
{ 'BAND' : 1, 'EIGHT_CONNECTEDNESS' : False, 'FIELD' : 'DN', 'INPUT' : 'C:/Users/Ya/Desktop/youdrive_countur_modified.tif', 'OUTPUT' : 'TEMPORARY_OUTPUT' }
GDAL command:
python3 -m gdal_polygonize C:/Users/Ya/Desktop/youdrive_countur_modified.tif C:/Users/Ya/AppData/Local/Temp/processing_10b1eb77e9d647d793fbad6baec49774/30543f2183314e709d1b01c30ffa56ab/OUTPUT.shp -b 1 -f "ESRI Shapefile" OUTPUT DN
GDAL command output:
0...10...20...30...40...50...60...70...80...90...Creating output C:/Users/Ya/AppData/Local/Temp/processing_10b1eb77e9d647d793fbad6baec49774/30543f2183314e709d1b01c30ffa56ab/OUTPUT.shp of format ESRI Shapefile.
100 - done.
Execution completed in 6.84 seconds
Results:
{'OUTPUT': 'C:/Users/Ya/AppData/Local/Temp/processing_10b1eb77e9d647d793fbad6baec49774/30543f2183314e709d1b01c30ffa56ab/OUTPUT.shp'}
Loading resulting layers
The following layers were not correctly generated.<ul><li>C:/Users/Ya/AppData/Local/Temp/processing_10b1eb77e9d647d793fbad6baec49774/30543f2183314e709d1b01c30ffa56ab/OUTPUT.shp</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
答案 0 :(得分:0)
我不知道为什么,但是重新安装qgis之后一切正常。在我使用qgis 3.8之前。现在安装3.4,一切正常。系统赢10。 ...