QGIS Installation with OSGeo4W: Difference between revisions
Content deleted Content added
Ellis Symons (talk | contribs) No edit summary |
m Emilie Nielsen moved page QGIS Intallation with OSGeo4W to QGIS Installation with OSGeo4W: typo in title |
||
| (13 intermediate revisions by 3 users not shown) | |||
Line 2:
<ol>
<li> Download OSGeo4W setup installer
:
: [[File:Osgeo4w
<li> Run the downloaded EXE
<li> Select '''Advanced Install'''
Line 17:
<li> Select a download site. It is recommended to use with one with an SSL certificate (i.e. starts with https://)
: [[File: osgeo4w_installation_6.PNG]]
<li> Use the search bar to search for "QGIS". Expand the '''Desktop''' dropdown and find "qgis: QGIS Desktop" under the '''package''' column. Left-click the "skip" text and the text will change to the latest version number. Once the
: [[File: osgeo4w_installation_7.PNG]]
<li> The installation also requires manually choosing several Python libraries. Use the search bar again and search for "scipy". Expand the '''Libs''' dropdown and find "python3-scipy". Left-click the "skip" text once to choose the latest scipy library version.
: [[File: osgeo4w_installation_8.PNG]]
<li> The following python libraries should be added:
* scipy
* matplotlib
* netcdf4
* pandas
* pyarrow
* fiona
* geopandas
* rtree
* shapely
<li> Click '''Next'''
<li> Continue to work through the steps of the installation process - the installer will ask you to also install a number of dependencies (make sure to click yes to these) and prompt for license agreements
Line 34 ⟶ 40:
<ol>
<li> As part of the installation, OSGeo4W should install a program called "setup" which you can search in the Windows start bar. You can also run the downloaded OSGeo4W installer again (they are the same).
<li> Once running the setup, simply continue clicking '''Next'''. The setup should remember all your previous settings and automatically choose the latest version of the installed libraries at the '''Packages Selection''' stage of the installation
</ol>
<Br>
==Upgrading Silently==
It's possible to upgrade silently from the
<Br>
===From CMD===
Line 45 ⟶ 51:
<li> Type the following command and press enter
<pre>setup -q -g</pre>
: <tt>"-q"</tt> :
: <tt>"-g"</tt> :
</ol>
<Br>
===From BAT===
<ol>
<li> In the OSGeo4W installation folder under the "bin" folder find the following batch file "o4w_env.bat" (e.g. "C:\OSGeo4W\bin\o4w_env.bat").
<li> In your batch file call the "o4w_env.bat" file
<li> On the next line, type "setup -q -g"
: <tt>"-q"</tt> : quiet installation flag
: <tt>"-g"</tt> : upgrade installed packages flag
<li> Your final batch file should look like the below with the path to "o4w_env.bat" customised to match your installation
<pre>
call C:\OSGeo4W\bin\o4w_env.bat
setup -q -g
</pre>
<li> Run the batch file
</ol>
<br>
<br>
{{Tips Navigation
|uplink=[[QGIS_Tips| Back to QGIS Tips page]]
}}
| |||