I forgot to mention :
On *my* WIndows pc the situation is as described in my previous post.
However my windows PC is a steaming pile of s... installation wise, so YMMV
--
Med venlig hilsen / Kind regards
Bo Victor Thomsen
Den 07-01-2020 kl. 10:08 skrev Luigi Pirelli:
do you have python_gdal installed and/or check that gdal_polygonize.py
is available... a osgeo4w packaging problem can result in
associate gdal_polygonize.py to a interpreter. In this case, just link
or copy/remane gdal_polygonize.py as gdal_polygonize
Luigi Pirelli
**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Book: Mastering QGIS3 - 3rd Edition
<https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
* Hire a team: http://www.qcooperative.net
**************************************************************************************************
On Sun, 5 Jan 2020 at 21:43, Lene Fischer <[email protected]
<mailto:[email protected]>> wrote:
Hi
I´m trying to run Vector to raster (polygonize)
Suspect it´s the path to GDAL.
I get this error message
QGIS version: 3.10.1-A Coruña
QGIS code revision: ef24c526da
Qt version: 5.11.2
GDAL version: 3.0.2
GEOS version: 3.8.0-CAPI-1.13.1
PROJ version: Rel. 6.2.1, November 1st, 2019
Processing algorithm…
Algorithm 'Polygonize (raster to vector)' starting…
Input parameters:
{ 'BAND' : 1, 'EIGHT_CONNECTEDNESS' : False, 'EXTRA' : '', 'FIELD'
: 'DN', 'INPUT' : 'C:/gis/nysted_raster/1_7m.tif', 'OUTPUT' :
'TEMPORARY_OUTPUT' }
GDAL command:
python3 -m gdal_polygonize C:\gis\nysted_raster\1_7m.tif
C:/gis/temp/processing_dc13c7a2a0cf4d22aef37dcd462534db/e5db8073dc414a989e176ea591f28c1c/OUTPUT.gpkg
-b 1 -f "GPKG" OUTPUT DN
GDAL command output:
'\\a00143.science.domain\dlt265\Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
C:\PROGRA~1\QGIS3~1.10\bin\python3.exe: No module named
gdal_polygonize
Execution completed in 0.33 seconds
Results:
{'OUTPUT':
'C:/gis/temp/processing_dc13c7a2a0cf4d22aef37dcd462534db/e5db8073dc414a989e176ea591f28c1c/OUTPUT.gpkg'}
Loading resulting layers
The following layers were not correctly
generated.<ul><li>C:/gis/temp/processing_dc13c7a2a0cf4d22aef37dcd462534db/e5db8073dc414a989e176ea591f28c1c/OUTPUT.gpkg</li></ul>You
can check the 'Log Messages Panel' in QGIS main window to find
more information about the execution of the algorithm.
Regards
Lene Fischer
Associate Professor
University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark
MOB +45 40115084
[email protected] <mailto:[email protected]>
_______________________________________________
Qgis-user mailing list
[email protected] <mailto:[email protected]>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
--
Med venlig hilsen / Kind regards
Bo Victor Thomsen
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user