<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>The problem is that the <b>stand-alone</b> installation of QGS
      3.10 (64 bit at least) doesn't set the PYTHONPATH environment
      variable, so the python interpreter can't find the module.
      However, the "<b>network installation</b>" of the same QGIS
      version do set the variable. And that version works without a
      hitch</p>
    <p>If you add a custom variable <b>PYTHONPATH</b> with value <b>C:\PROGRA~1\QGIS3~1.10\apps\Python37;C:\PROGRA~1\QGIS3~1.10\apps\Python37\Scripts
      </b>to the stand-alone  version of QGIS 3.10 (and restart the
      program) the "polygonize (raster to vector)" works in this version
      too.</p>
    <p>So I suspect we might have a packaging problem with with the
      stand-alone installation</p>
    <p> </p>
    <pre class="moz-signature" cols="72">-- 
Med venlig hilsen / Kind regards

Bo Victor Thomsen</pre>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Den 07-01-2020 kl. 10:08 skrev Luigi
      Pirelli:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFO80_qN5wG=oiUJrE=++hUuUexT+_fW-8hzHaW_w3x0N1G46g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">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<br
            clear="all">
          <div>
            <div dir="ltr" class="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div><br>
                            </div>
                            <div>Luigi Pirelli<br>
                              <br>
**************************************************************************************************<br>
                              * LinkedIn: <a
                                href="https://www.linkedin.com/in/luigipirelli"
                                target="_blank" moz-do-not-send="true">https://www.linkedin.com/in/luigipirelli</a><br>
                              * Stackexchange: <a
                                href="http://gis.stackexchange.com/users/19667/luigi-pirelli"
                                target="_blank" moz-do-not-send="true">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>
                              * GitHub: <a
                                href="https://github.com/luipir"
                                target="_blank" moz-do-not-send="true">https://github.com/luipir</a><br>
                              * Book: <a
href="https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition"
                                target="_blank" moz-do-not-send="true">Mastering
                                QGIS3 - 3rd Edition</a></div>
                            <div>* Hire a team: <a
                                href="http://www.qcooperative.net"
                                target="_blank" moz-do-not-send="true">http://www.qcooperative.net</a><br>
**************************************************************************************************</div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, 5 Jan 2020 at 21:43,
          Lene Fischer <<a href="mailto:lfi@ign.ku.dk"
            moz-do-not-send="true">lfi@ign.ku.dk</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
          I´m trying to run Vector to raster (polygonize)<br>
          <br>
          Suspect it´s the path to GDAL.<br>
           I get this error message<br>
          <br>
          QGIS version: 3.10.1-A Coruña<br>
          QGIS code revision: ef24c526da<br>
          Qt version: 5.11.2<br>
          GDAL version: 3.0.2<br>
          GEOS version: 3.8.0-CAPI-1.13.1 <br>
          PROJ version: Rel. 6.2.1, November 1st, 2019<br>
          Processing algorithm…<br>
          Algorithm 'Polygonize (raster to vector)' starting…<br>
          Input parameters:<br>
          { 'BAND' : 1, 'EIGHT_CONNECTEDNESS' : False, 'EXTRA' : '',
          'FIELD' : 'DN', 'INPUT' : 'C:/gis/nysted_raster/1_7m.tif',
          'OUTPUT' : 'TEMPORARY_OUTPUT' }<br>
          <br>
          GDAL command:<br>
          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<br>
          GDAL command output:<br>
          '\\a00143.science.domain\dlt265\Documents'<br>
          <br>
          CMD.EXE was started with the above path as the current
          directory.<br>
          <br>
          UNC paths are not supported. Defaulting to Windows directory.<br>
          <br>
          C:\PROGRA~1\QGIS3~1.10\bin\python3.exe: No module named
          gdal_polygonize<br>
          <br>
          Execution completed in 0.33 seconds<br>
          Results:<br>
          {'OUTPUT':
'C:/gis/temp/processing_dc13c7a2a0cf4d22aef37dcd462534db/e5db8073dc414a989e176ea591f28c1c/OUTPUT.gpkg'}<br>
          <br>
          Loading resulting layers<br>
          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.<br>
          <br>
          Regards<br>
          <br>
          <br>
          <br>
          Lene Fischer<br>
          Associate Professor<br>
          <br>
          University of Copenhagen<br>
          Department of Geoscience and Natural Resource Management<br>
          Forest and Landscape College<br>
          Nødebovej 77a<br>
          3480 Fredensborg<br>
          Denmark<br>
          <br>
          <br>
          MOB +45 40115084<br>
          <a href="mailto:lfi@ign.ku.dk" target="_blank"
            moz-do-not-send="true">lfi@ign.ku.dk</a><br>
          <br>
          <br>
            <br>
          <br>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          Qgis-user mailing list<br>
          <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank"
            moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          Unsubscribe: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>