The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [osgeo4w]

OSGeo4W is a binary distribution of a broad set of open source geospatial software for Win32 environments (Windows XP, Vista, etc).

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

OSGeo4W updating is failing - OpenCL.dll was not found

Windows 10. I've not used my 3 installations of QGIS for 6 weeks maybe. I updated them via OSGeo4w but I get the error "The code execution cannot proceed because OpenCL.dll was not found. Reinstalling ...
2
votes
1answer
62 views

QGIS processing.run() standalone script does not write .prj and .cpg output files of shapefile?

I've created a python standalone script to clip two shapefiles with qgis. I've installed qgis3 with OSgeo4W. The logic is as follows: import qgis from qgis.core import * from qgis.core import ...
0
votes
0answers
27 views

Osgeo4w Libraries downlaod

I recently tried to update my QGIS version with the installation of Osgeo4w libraries. I was told that the installation was supposed to take something like 20 gb space on my computer. While ...
0
votes
0answers
201 views

QGIS 3.8 could not start ''Qgis_app.dll is missing'' check runtime environment check C:\OSGEO4W64\bin\qgis-dev-bin-g.exe

I had Qgis 3.4 running well on my PC Windows 10, 64 bit. I tried to upgrade to Qgis 3.8 Zanzibar and I had the error message: ''Qgis_app.dll is missing check runtime environment check C:\OSGEO4W64\bin\...
0
votes
0answers
24 views

OSGeo4w installer fails: unable to extract /appa/qt5/bin/qt5webenginecored.pdb

I am trying to install OSGeo4w. I have plenty of RAM and disk space, running Server 2016 standard. Installation fails with the following log: 2019/07/08 09:13:30 Menu name: OSGeo4W 2019/07/08 09:13:...
3
votes
1answer
108 views

GRASS not working with QGIS 3.7

Like the author of GRASS not working with QGIS 3.6, I am unable to use Grass plugins, with the error: This algorithm cannot be run :-( The specified GRASS 7 folder "C:\OSGEO4~1\bin\bin" does not ...
4
votes
1answer
160 views

Why is osgeo4w (w QGIS 3.6.2) asking for admin rights?

On my work computer, I get prompted for an elevated login when I try to run osgeo4w-setup-x86_64.exe on Windows 7 Sounds like I should be able to install without admin rights. As of 5/8/19 are they ...
1
vote
2answers
61 views

cannot find py3_env.bat in OSGeo4W installation

I am trying to install Trajectools in QGIS according to the following tutorial https://anitagraser.com/2019/02/02/movement-data-in-gis-20-trajectools-v1-released/ but I have the following problem, I ...
0
votes
0answers
35 views

gdalinfo --formats return different values in python3 than in OSGeo4W

I am working whit geopdf to obtain the layers. When I use driver = ogr.GetDriverByName('PDF') it return None, and obviously I can't open it. I have checked with the command gdalinfo --formats and it ...
1
vote
1answer
53 views

GDAL C# Bindings for VRT don't write a VRT file

I have previously asked this question on stack overflow, and am now asking this more specialized audience. I'm wondering why the GDAL C# library (v2.3.3) call to Gdal.wrapper_GDALBuildVRT_names(...) ...
1
vote
1answer
53 views

QGIS- Try writing plugin - neither 'make' nor 'pyrcc4' is known command

I want to write a python plugin for QGIS 3.6. Following the Guide I've installed the mentioned software Qt Creator and the OSGeo4W . There is written, that in the OSGeo4W Shell It would be possible ...
1
vote
1answer
181 views

Converting large raster to vector?

I have a shapefile which contains 10.000 polygons and I want to know how many of them falls on a specific land use. Unfortunately, the land use map that I have to use is a raster map and not a vector ...
1
vote
1answer
63 views

Where to find out about QGIS new versions?

What's the right way to find out about new current QGIS version releases? I'm on Win64 and use OSGeo4W. The roadmap gives dates for new releases, confirmed by the main web site header which lists ...
1
vote
0answers
199 views

How to properly uninstall OSGeo4W+GRASS+QGIS on Windows7 64bit

Over the years I have tried QGIS and other mapping systems. Lately I wanted to make a go at using the newer versions of QGIS but wanted the ability to run the new one, 3.4 or 3.6 and to keep the old ...
12
votes
4answers
6k views

GRASS not working with QGIS 3.6

I updated QGIS to version 3.6 using OSGEO4w When I try to run any GRASS script, I get the following error message : This algorithm cannot be run :-( The specified GRASS 7 folder "C:\OSGEO4~1\...
2
votes
1answer
1k views

Fixing “The resource compiler pyrcc5 was not found”

I was trying to use Plugin Builder to create custom tool. When I set up parameters for plugin and press "generate", an error appear. Same situation in QGIS that was downloaded with OSGEO4W64. I ...
0
votes
0answers
178 views

Using Compressed Data Files (.cdf) from a Geodatabase in QGIS?

I am using QGIS3 for a file geodatabase that was created on ArcMap. I can only access a few of the layers in the QGIS browser because most of them are stored using a compressed data file (.cdf). When ...
1
vote
1answer
60 views

ETOPO1 upsampling issue

I am using the OSGeo4W Shell with the ETOPO1, 1 arc-minute global bathymetric data (etopo1_ice_g_f4.flt). I am cutting 256x256 pixel slippy map tiles, and am having a problem with getting smooth-...
1
vote
0answers
192 views

No icons when installing QGIS 3.4.4

I've been trying to install QGIS 3.4.4 Madeira on Windows 10 x64. I've tried the network installer and the standalone version, both of which say they installed successfully but no desktop or start ...
1
vote
1answer
75 views

Add FID to attribute table using ogrinfo

I want to add the fid to the attribute table using ogrinfo in OSGeo4W Shell. Here is my code: ogrinfo layer.shp -sql "ALTER TABLE layer ADD COLUMN ID integer" ogrinfo layer.shp -dialect SQLite -...
0
votes
0answers
83 views

Create/Fill Feature Dataset in QGIS

With the FileGDB-Driver of an OSGeo4W installation it is possible to read/edit/create Feature Classes of FileGDB in QGIS. Is it possible to create ESRI's Feature Datasets in QGIS to group Feature ...
3
votes
0answers
74 views

Using a Python IDE with OSGeo

I have the latest version of OSGeo4W64 installed on my Windows machine. I find it very convenient to have all the Python modules for QGIS, GDAL and GRASS all in one place. I would like to set up an ...
0
votes
0answers
73 views

Geoserver+GDAL+OSGEO4W ECW support

I am trying to install the GDAL plugin for Geoserver on machines which have windows 7 and 10. both machines had a previously installed version of OSGeo4W. I followed all the instructions in the ...
1
vote
1answer
566 views

NumPy array to Raster file (GeoTIFF)

I converted a raster file (one band grey scale) to an numpy array and set a range to it. I Did like that: import gdal import numpy ds = gdal.Open('H:/GDAL_docs/a.tif') myarray = numpy.array(ds....
1
vote
1answer
275 views

OSGEO4W Checking GDAL version with `gdalinfo --version` returns nothing

I am using OSGEO4W 32-bit on Windows 10. I am trying to check the version of GDAL. Following the instructions here, when I input gdalinfo --version in the OSGEO4W shell, I get just a blank line. ...
0
votes
0answers
16 views

GeoPHP geosInstalled returns false

I have installed OSGeo4W on my 64-bit windows. I am trying to use GEOS functions in GeoPHP, but when I call geoPHP::geosInstalled, it returns me false. This is how I included the libraries: <?php ...
1
vote
1answer
454 views

Clean install of QGIS version 2.18.27 from OSGEO4W Network Installer fails

I simply cannot get a clean install of QGIS version 2.18.27. I seem unable to access any working SAGA tools. I used to have access to these tools in version 2.18.23, Standalone Installer The Log ...
-1
votes
2answers
285 views

Using pip in OSGeo4W64

I Successfully installed pip but when I ran pip it gave me the following error: C:\PYQGIS\DOCS>pip File "C:\OSGEO4~1\apps\Python37\lib\site.py", line 177 file=sys.stderr) ^ ...
0
votes
0answers
21 views

How can I get an HTML output on GRASS GIS?

I'm using GRASS GIS to create a simple map with some text (d.text) and vector maps (d.vect) and I can have a .png output with the PNG Display Driver (which I looked it up on https://grass.osgeo.org/...
1
vote
0answers
116 views

Numpy import error in OSGeo4W Shell

I and my colleagues are running into a very frustrating Python import error while using the OSGeo4W Shell. Any time we attempt to use gdal_calc in a Python script, we get the following error message: ...
0
votes
2answers
445 views

Do not have pip for my QGIS Python.

I want to install gsutil onto my QGIS's version of python. Most tutorials say I should be able use the pip/pip3 command. When I run OSGeo4WShell, it does not have the pip command available. How can ...
5
votes
1answer
351 views

Unattended QGIS updates with OSGeo4W

I would like to do an unattended update of my QGIS install every night using windows task scheduler. Is it possible to automatically update all installed packages with the OSGeo4W-Installer without ...
3
votes
1answer
128 views

Can't open Qt Designer with qgis-designer.bat

I'm trying to open Qt Designer using the qgis-designer.bat file, but I'm receiving the following error message Windows cannot find 'designer.exe'. Make sure you've typed the name correctly, then ...
0
votes
0answers
162 views

Issue with installing libraries for HotSpot Analysis with QGIS 3.4.

I am looking to use the Hotspot Analysis Plugin in QGIS 3.4. I have QGIS 3.4 installed and understand that in order for the plugin to work some dependencies are needed which can be installed through ...
1
vote
0answers
38 views

QGIS OSGEO4W Setup error [duplicate]

I uninstalled QGIS by deleting OSGEO4W folder. Then when I try to install it again using osgeo4w setup, I get this "zip.dll was not found" error message. Does anyone have the same issue?
0
votes
1answer
69 views

MbTiles is not shown at a specific scale in QGIS 3.2

I've created MbTiles with gdal_translate in the OSGeo4W Shell. The workflow was at follows: convert jp2 files to geotiff with gdal_translate create a Virtual Raster for all raster files (about 1000)...
1
vote
2answers
1k views

'pyrcc4' is not recognized as an internal or external command?

C:\Users\Department\.qgis2\python\plugins\np>pyrcc4 -py2 resources.qrc -o resources.py 'pyrcc4' is not recognized as an internal or external command, operable program or batch file. How do ...
1
vote
3answers
1k views

How to setup Visual Studio Code (Windows) for PyQGIS 2 or 3?

I'm trying to use Visual Studio Code (VSC) as IDE for my QGIS plugins with the Python extension, but something doesn't work as expected. I've been reading about the PyCharm config from Gary S. but I ...
1
vote
1answer
170 views

PDAL works in Windows command but not in OSGeo4WShell?

I want to import a pointcloud into a PostGIS database. AFAIK you accomplish this with PDAL which comes with OSGeo4W. I was following this tutorial: OSGeo4W LiDAR tutorial and also this tutorial PDAL....
0
votes
0answers
836 views

Using qgis.core in Pycharm

I set up a batch file to launch pycharm on Windows in accordance with https://qtibia.ro/2016/06/09/how-to-setup-pycharm-for-qgis-development-under-linux-and-windows/ @echo off SET OSGEO4W_ROOT=C:\...
1
vote
1answer
231 views

Converting multiple geometry KML to Shapefile

I have a KML file with multiple geometry, points and polygons. I want to convert it to a point Shapefile and a polygon Shapefile. Using OSGeo4W Shell I tried this : ogr2ogr -where "OGR_GEOMETRY='...
1
vote
0answers
205 views

use python3 with osgeo4w shell and missing py3_env [duplicate]

I'm trying to migrate my qgis plugin from qgis 2.18 to 3.2. I try to use qgis2to3 for the migration but I'm having some problems. First qgis2to3 require python 3.3 and my osgeo4w shell install is ...
4
votes
0answers
551 views

Getting Spyder IDE to work with QGIS?

I was hoping someone could help me get Spyder working with QGIS. I am finding the python editor limiting within QGIS as I would like to debug my code, use the variable explorer, and be able to run ...
1
vote
0answers
307 views

Installing OSGeo4W on Windows, changed python version, “Import Error: No Module named site”

I've really been trying to install Proj4 on my windows 10 laptop, and make it accessbile via my git bash command. According to Proj4's documentation, using OS4GeoW is the easiest way to install the ...
2
votes
1answer
2k views

How to set up GDAL Java Bindings for Windows with OSGeo4w?

I've been searching for ways to use java bindings for GDAL and installed the OSGeo4W packages QGIS, GDAL, and GrassGIS using the "Express Desktop Install" method. After installing and confirming the ...
2
votes
1answer
114 views

ogr2ogr issues in clipping tab to shp where tab has points and lines together

I am running a simple script to clip and convert all tab files in a directory via osgeo shell for %f in (*.TAB) do ogr2ogr "%~dpnf_Clip.shp" -clipsrc "clipped\AOI.TAB" "%f" -f "ESRI Shapefile" It ...
1
vote
0answers
301 views

crssync.exe error while installing QGIS 3.0 under Windows 7

I want to use QGIS 3.0 under Windows 7. Using the OSGeo4W installer I get the following error message: The program can't be started because api-ms-crt-runtime-I1-1-0.dll is missing. Can I use this ...
4
votes
3answers
864 views

Installing scikit-learn python package for QGIS on Win

I want to install scikit-learn package to be executed in Python-QGIS. I've tried to use OSGeo4W Shell to install with pip. But I got this error. I've tried to run osgeo4w-setup-x86_64.exe and install ...
2
votes
1answer
30 views

Why does the SRID of an ogr2ogr-imported MSSQLSpatial table change when using UID/PWD vs. trusted_connection?

I'm using python to run ogr2ogr commands to load SHP to MSSQLSpatial. The command works fine when using trusted_connection, but when I use UID and PWD, the SRID is randomly changed to SRID:846 (while ...
4
votes
0answers
239 views

Installing third party python library in QGIS 2.18.x Windows

We are running into a strange behaviour while trying to use pyoidc with QGIS 2.18.x windows standalone version. Due to pip/pipy no longer working with QGIS 2.18 (see this post), we installed the ...