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
1
vote
0answers
25 views

OGR2OGR failed to connect error

Uploading GML files to PostgreSQL via OSGeo4W Shell using OGR2OGR I receive an odd sequence of failed to connect errors. Using OSGeo4W Shell I run the following: ogr2ogr -a_srs "EPSG:27700" -f "...
0
votes
0answers
42 views

Setting up PyQGIS 3 (QGIS 3.12) interpreter in PyCharm 2018.3.7

I cannot set up the correct interpreter for PyQGIS 3 in PyCharm 2018.3.7. Using: QGIS 3.12.0, OSGeo4W64, Python 3.7 (part of the OSGeo4W64 folder), PyCharm 2018.3.7. My .cmd files in OSGeo4W64 look ...
0
votes
1answer
25 views

OSGeo4W Shell set proxy

Where would I set a proxy server for OSGeo4W Shell? In OSGeo4Winstaller I use the IE Setting and in QGIS the "system default". I can't establish connection to a WMS service. In my opinion there ...
0
votes
0answers
143 views

Installing GDAL for Python 3.8 IDLE

I'm using IDLE. GDAL command works in QGIS' Python console but not Python 2.7 (ArcMap) and 3.8 (separate install) IDLEs. So far, I have tried Downloading this (GDAL/OGR IN PYTHON) and following the ...
1
vote
1answer
88 views

'gdal_merge' is not recognized as an internal or external command, operable program or batch file in OSGeo4w Shell

I am trying to batch mosaic a set of rasters using gdal in OSGeo4w shell command line. When I try to use gdal_merge I am getting error as below. run o-help for a list of available commands ...
0
votes
1answer
37 views

PyQGIS Script failing to project layer to EPSG:54002

I'm trying to write a Python script to convert a vector layer using 4326 to EPSG:54002 World Equidistant Cylindrical for road distance calculations, but the script fails to do the conversion, I've ...
4
votes
1answer
66 views

Referenced table not found in standalone Python script

I'm trying to run a Python script from OSGeo4W Shell. Im doing this by typing "python-qgis C:\path\test.py" Everything seems to go fine until the script launches the processing module. After that ...
1
vote
1answer
32 views

Creating shapefile layer with OSGeo4W shell

I want to create an new empty shapefile with OSGeo4W shell. Is there a command line like: gdal_create -f "ESRI Shapefile" -wkt "point" -srs "EPSG:31256" -o output.shp
0
votes
0answers
21 views

QGIS 3.10.1 and 3.6 don't pull to front when clicked on taskbar? [duplicate]

There's a similar question already (QGIS 3.4 won't come to the foreground), but it's been left unanswered and I don't have enough reputation to add a bounty, so please don't yell at me. Like ...
2
votes
0answers
186 views

Compatibilty issue of pyexiv2 and ctypes module in QGIS 3.10

Trying to instal a python module called pyexiv2 onto QGIS 3.10, I've noticed this module doesn't work. Although the module's instal seems to process well python -m install pyexiv2 and I get confirm ...
4
votes
0answers
175 views

Exporting QGIS Atlas using PyQGIS (qgis.core)

Windows 10, PyCharm, QGIS 3.10 installed via osgeo4w (64bit). I set up a simple QGIS composer layout with a vector layer and a WMS base map on the map layout. The vector layer contains about 10 ...
2
votes
0answers
34 views

Why QGIS cannot georeference a Grib2 file with CRS (PROJ.4 and OGC WKT2)?

Situation: I have some .grib2 files that I downloaded from a (supposed to be) reliable source. When I do $ gdalsrsinfo file.grib2 I get: PROJ.4 : +proj=lcc +lat_0=38.5 +lon_0=262.5 +lat_1=38.5 +...
4
votes
1answer
145 views

ogr2ogr commands with cmd

I'm trying to run a ogr2ogr command with cmd. When I run the cmd the Osgeow command prompt just flashes and nothing happens. When I enter my ogr2ogr script directly to the Command Prompt everythinh ...
0
votes
0answers
45 views

Sql query with ogr2ogr for clipping polygons

I'm trying to build a query with ogr2ogr to clip intersecting polygons. I know how to do this with QGIS database manager sql but I can't get it to work with ogr2ogr. With information I've gathered ...
2
votes
1answer
113 views

QGIS/proj errors with EPSG:2951

I've built various QGIS projects that use Canadian UTM and MTM CRS. They worked just fine in QGIS versions through 3.8 (based on proj4 and ?proj5). In QGIS windows version 3.10.0-3, things got borked ...
0
votes
0answers
37 views

Can I use ogr from OSGeo4W in python env?

I use QGIS and therefore also OSGeo4W. At the moment I am writing a script that use ogr in python. I need a virtual environment for because it is going to be deployed on a server (which also has ...
1
vote
1answer
189 views

QGIS-3.10 raster calculator crashing on Windows

Trying to add several rasters, all multiplied by certain factors (like (A@1*.8)+(B@1*.003)+(C@1*.2)...) in raster calculator in QGIS 3.10 the program crashes on Windows (that doesn't happen on Linux, ...
3
votes
1answer
131 views

Unable to read TIFF file with raster2pgsql

I am having some trouble with the raster2pgsql function (on a Windows 7 in the OSGeo4W shell). I am receiving the error "Unable to read raster file". I can import shapefiles, ok using org2org so I ...
0
votes
0answers
145 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 ...
3
votes
1answer
86 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 ...
1
vote
0answers
33 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
1answer
597 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
45 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
312 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
287 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
99 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
41 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
75 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
85 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
461 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
73 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
422 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 ...
20
votes
7answers
12k 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
2k 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
239 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
107 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-...
0
votes
0answers
323 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 ...
2
votes
1answer
179 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 -...
3
votes
0answers
100 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
102 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 ...
0
votes
1answer
1k 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
463 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. ...
1
vote
1answer
561 views

Clean install of QGIS version 2.18.27 from OSGEO4W Network Installer fails [closed]

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
436 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) ^ ...
1
vote
0answers
169 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
929 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
439 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
228 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 ...
1
vote
0answers
47 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
89 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
2 3 4 5