Questions tagged [osgeo4w]

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

73 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
0 answers
2k 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 ...
owl7's user avatar
  • 181
6 votes
0 answers
1k 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 ...
Theo F's user avatar
  • 1,829
5 votes
0 answers
414 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 ...
obedel's user avatar
  • 51
4 votes
0 answers
380 views

Forcing gdal_retile to produce full tiles when original file's size is incompatible?

I have a set of large geotiff (DEM + orthoimagery) that I need to generate image pyramids from. So far gdal_retile from osgeo4w is working very well for my use case with one exception: I need all my ...
Alterscape's user avatar
4 votes
0 answers
277 views

SAGA Tool in QGIS Error: Load table: Proj.4-WKT Dictionary... failed

I have some problems with running SAGA tools in QGIS. I've downloaded and installed the software via the OSGeo4W Installer. It downloaded QGIS 2.12 and Saga 2.1.2. I wanted to use the Tool "Shapes To ...
sirklotz's user avatar
3 votes
0 answers
278 views

Downloading dev-full

I have downloaded OSGeo4W 64-bit from https://qgis.org/en/site/forusers/download.html and would like to do a 'bleeding edge development build" on my Windows 10. So I select clicked Run and selected ...
Regulus's user avatar
  • 113
3 votes
0 answers
857 views

Is Orfeo Toolbox OTB no longer available through OSGeo4W?

When I run the current OSGeo4W installer on Windows 10, 64 bit, no OTB packages are available: The OTB binary package status page still lists OSGeo4W as a source for OTB. ~~Does anyone know what is ...
j08lue's user avatar
  • 289
3 votes
0 answers
666 views

How to get an equivalent to stand-alone installation of QGIS using OSGEO4W?

What should be downloaded / set (beyond the obvious) when installing QGIS using the OSGEO4W package manager - in order to end up with an equivalent setup to that which would result from using the QGIS ...
Rostranimin's user avatar
  • 2,980
3 votes
0 answers
276 views

Can't import liblas into OSGeo4w Python on Windows machine

I installed the 32-bit version of OSGeo4w with the liblas-python packages on my Windows machine. When I try to import liblas into python, I get an error that no 'liblas' module can be found, even ...
user55622's user avatar
2 votes
0 answers
130 views

No module name qgis in QGIS 3.22

I recently upgraded to QGIS 3.22 For plugin development I am using PyCharm. after upgrading QGIS to this version PyCharm is not able to read the pyqt, QGIS modules. I am running PyCharm with the ...
Velugoti Venkateswarlu's user avatar
2 votes
0 answers
491 views

for loop for merging multiple *.gpkg files in OSGeo4W Shell

I´d like to merge multiple files (geopackages) saved in a Windows folder to one *.gpkg using OSGeo4W Shell: for %f in (\*.gpkg) do (ogr2ogr 'gpkg' -update -append merged.gpkg %f -nln merged.gpkg) ...
Mapos's user avatar
  • 567
2 votes
1 answer
909 views

SSL module is missing when installing Python packages in QGIS with the new osgeo4w installer

I'm trying to install a third party python package in a QGIS plugin with the following code: import sys import platform import subprocess try: import matplotlib except ModuleNotFoundError: ...
axel_ande's user avatar
  • 2,024
2 votes
0 answers
458 views

OSGeo Network Installer Download Error

I am having issue with completing download of components using the OSGeo4w 64bit installer. What could be causing this issue and how can I fix it. I am testing this in Windows 10 20H2 64bit machine, ...
jkariukidev's user avatar
2 votes
0 answers
384 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 +...
adlzanchetta's user avatar
2 votes
0 answers
776 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 ...
Georgianna Silveira's user avatar
2 votes
0 answers
768 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 ...
Byron Biney's user avatar
2 votes
0 answers
506 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 ...
Larissa's user avatar
  • 21
2 votes
0 answers
130 views

Qgis instalation by OSGEO

I've tried install Qgis 3.0 (and 2.18) using OSGEO. I'm using windows 10. I've followed the steps I found in youtube (https://www.youtube.com/watch?v=G1WyUGYHC0I and https://www.youtube.com/watch?v=...
THIAGO CARLOS LOPES RIBEIRO's user avatar
2 votes
0 answers
150 views

Python within OSGeo4W installation gives "AttributeError: '_NamespacePath' object has no attribute 'sort'"

I have Python 2.7 and Python 3.6 installed via OSGeo4W64 on a Windows 10 x64 machine. I don't have a standalone installation of Python, but I did previously, which may have something to do with the ...
Gareth Jones's user avatar
2 votes
1 answer
937 views

OGR shapefile output fails - Error 1 in psSHP->sHooks.fSeek()

When trying to use ogr2ogr to convert to ESRI Shapefile format, I get the following error consistently across different files: ERROR 1: Error in psSHP->sHooks.FSeek() while writing object to .shp ...
Jan Šimbera's user avatar
  • 1,314
2 votes
0 answers
392 views

QGIS 2.14.5.LTR Gdal-Tools execution problem

I have installed QGIS 2.14.5.LTR via the OSGeo4W installer on Windows2008R2. No raster tools are available. After activating Gdal-Tools plugin, the raster tools are available, but cannot executed (...
Jochen Schwarze's user avatar
2 votes
0 answers
1k views

Installing cartopy on OSGeo4W

I am trying to install cartopy on OSGeo4W. Even though all required packages already downloaded and updated, the installer won't recognize them. I keep getting the following error: setup.py:168: ...
mquackenbush's user avatar
2 votes
0 answers
1k views

Use Anaconda's Python distribution within OSGeo4W

I want to use a Python script that executes Grass commands via os.system(). This of course, has to be executed from a running Grass session. However, when I use the OSGeo4W Grass, it does not find all ...
countryman's user avatar
2 votes
0 answers
338 views

Command Line alternative to using QGIS GUI to save a Raster as a Rendered Image

I have a raster image in PNG format which I can open in QGIS but not in Windows Picture Viewer. To do that i figured out that I have to save my raster as a 'Rendered Image' from the 'Save As' (option ...
abhinavgoyal02's user avatar
1 vote
0 answers
143 views

Safely uninstall only one instance of QGIS in W10, leaving the other one fully operational

I've got QGIS 3.16.11 and 3.28.6 installed on my job's W10 laptop and on a few PCs across the organization. About to install 3.28 on a few more with 3.16 already installed, too. I'm not really using ...
user99006's user avatar
  • 189
1 vote
0 answers
412 views

.grd file to GeoTIFF file

I am trying to transform some data that I have that are in a .grd format and calculate something and then save again as a .grd or as a GeoTIFF. The problem is the projection, I cannot find the ...
TheGame's user avatar
  • 47
1 vote
0 answers
2k views

How to merge all raster files in a folder using gdal_merge?

I have DEMs in a folder like this If I run gdal_merge -o out.tif *.hgt, it says ERROR 4: `/*.hgt' does not exist in the file system, and is not recognized as a supported dataset name. A similar ...
BallpenMan's user avatar
  • 1,217
1 vote
0 answers
656 views

Setup QGIS to use in C++ Qt Application

I have been working on a Qt5 Widgets based application. I'm required to display maps (vector charts) in my application on a widget and for that purpose I've decided to use the QGIS library in my ...
Fuzail's user avatar
  • 133
1 vote
0 answers
541 views

Summing raster files through GDAL

I have a folder with over 500 raster (.tif) files. I want to produce an output raster file that is the sum of all the raster files in my folder. I am trying to use gdal and sepcifically the gdal_calc ...
LostinSpatialAnalysis's user avatar
1 vote
1 answer
690 views

GDAL version different if called from Windows Powershell and shows "ERROR 1: Can't load requested DLL 193: %1 is not a valid Win32 application."

I have two GDAL installation, one from the OSGEO4W installer and one from Tamas Szekeres’ Windows binaries. I set the necessary variables according to the article. I open Powershell and ran gdalinfo --...
BallpenMan's user avatar
  • 1,217
1 vote
0 answers
508 views

Unable to add geopackage to PostGIS database using OGR2OGR

I am using the following command to upload a geopackage into a POSTGIS database using the OSGeo4W shell that comes with QGIS. ogr2ogr -f “PostgreSQL” PG:”host=<hostname> dbname=<dbname> ...
stixcraven's user avatar
1 vote
0 answers
62 views

HIFLD Railroads DB contains coordinates that don't make sense

I downloaded the HIFLD Railroads DB and imported it into MySQL with OSGeo4W. I then do this query and the coordinates I get just don't make sense: SELECT ST_AsGeoJson(SHAPE) FROM railroads WHERE ...
neubert's user avatar
  • 360
1 vote
0 answers
953 views

How to use Python implemented GDAL utilities via OSGeo4W Shell?

Following installation of QGIS v 3.10.1 on a W10 machine, I am automatically hooked up with OSGeo4W Shell. From there, I can directly invoke gdal utilities such as gdalinfo and gdal_translate. However,...
Hans Roelofsen's user avatar
1 vote
0 answers
183 views

Install the 5.11.2 version of PyQt5 using OSGeo4W setup

How can I install the 5.11.2 version of PyQt5 using the OSGeo4W setup in Windows10? The default version of PyQt5 installed from OSGeo4W is 5.11.3 which is different from the QGIS compilation version, ...
Francisco Camello's user avatar
1 vote
0 answers
1k views

Missing processing toolbox in QGIS 3.10

I no longer see the plugins, the processing toolbox and all the scripts in QGIS 3.10 LTR. They're not even in the "Processing" Menu. I tried looking to activate it from the menu bar but it's not the ...
Ahmed Walid Moulahoum's user avatar
1 vote
0 answers
6k 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 ...
BallpenMan's user avatar
  • 1,217
1 vote
0 answers
466 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 ...
geogrow's user avatar
  • 1,683
1 vote
0 answers
106 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 ...
CarmelGeo's user avatar
  • 184
1 vote
1 answer
371 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(...) ...
OrangeWombat's user avatar
1 vote
0 answers
3k 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 ...
Jim Garner's user avatar
1 vote
0 answers
448 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: ...
KMatGIS's user avatar
  • 43
1 vote
0 answers
2k 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:\...
hdi's user avatar
  • 173
1 vote
0 answers
680 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='...
Ayogo's user avatar
  • 221
1 vote
0 answers
627 views

GPU access via QGIS python plugin?

My Setup Windows 10 (with latest updates) QGIS 3.0.0-Girona (QGIS code revision 001c80b0c3) QGIS Python plugin: sys.version gives '3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 ...
abc def's user avatar
  • 41
1 vote
0 answers
344 views

OSGeo4W Network Installer for several version of QGIS

I want install several versions of QGIS with OSGeo4W Network Installer (2.18, 3.0 and master). Will it be good if I install it in one root direction or should I create separate folders?
Jadwiga Trojak's user avatar
1 vote
0 answers
607 views

Getting gdal_translate 0ERROR 1, but the raster has a data table

I'm trying to get a large number of GeoTiff files into a geopackage for a project we'll be using QField for. Ideally, I'd like to batch the process, but in testing small samples out I'm running into ...
rwjd's user avatar
  • 126
1 vote
0 answers
150 views

Eclipse and PyDev using python from OSGeo4W

I'm trying to setup a PyDev Python Interpreter from OSGeo4W in Eclipse (neon 3 and java 8 on Windows 7 x64). I have installed the latest python 2.7.5 and python 3.6.? from OSGeo4W. I would like to ...
Chau's user avatar
  • 4,480
1 vote
0 answers
102 views

Grass 6 tools missing in Processing tool box

I have installed QGIS via osgeo4w-setup (64Bit). I cannot find grass 6 tools in the toolbox. I also have the dev version of QGIS on my notebook and there I can see and work with the grass 6 tools. Do ...
Pimpel's user avatar
  • 2,353
1 vote
0 answers
219 views

Problem importing qgis.core inside docker container

I'm trying to use QGIS libraries in docker container. When I try import qgis.core I get this error, really I can't figure out what is the cause. Traceback (most recent call last): File "<stdin&...
kgkg's user avatar
  • 171
1 vote
0 answers
271 views

QGIS LYON desktop cannot be opened on windows 7

I have installed QGIS lyon from http://qgis.org/downloads/QGIS-OSGeo4W-2.12.3-1-Setup-x86_64.exe on win7. I did not install the default data set. On my desktop, there are some icons of QGIS. ...
user3601704's user avatar