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
175
votes
7answers
192k views

Installing File Geodatabase (*.gdb) support in QGIS?

I have spent around 2 days to find the way to open GDB (Esri geodatabase) in QGIS (or any other open source software) but still without success. I have downloaded the newest OSGeo4W installer and ...
42
votes
2answers
53k views

How do I check which version of GDAL I have and how many?

I have installed in my computer the following software: PosgresSQL 9.3.2.3 PostGIS 2.1.1.1 QGIS 2.0.1 Dufour (this one installed through the OSGeo4w package) QGIS 1.7.0 Wroclaw As far as I know all ...
36
votes
9answers
31k 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\...
27
votes
2answers
27k views

What is OSGeo4W?

I have been using GIS for a few years now (ArcGIS and MapInfo). But only when I have started using QGIS I come across OSGeo4W, as there is an option to download it on the QGIS website. I have tried ...
22
votes
3answers
13k views

OSGeo4W shell with python3

I would like to use OSGeo4W shell with Python3 but when typing python3 I get the following error: Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\OSGEO4~1\apps\...
16
votes
5answers
31k views

No module named 'osgeo'

I have installed GDAL and checked on the command line, it is working and when I run the gdal2tiles.py on the command line it works but when I run the same file gdal2tiles.py with python IDLE, I get "...
12
votes
2answers
990 views

Can ArcGIS and OSGeo4W share the same python install? [duplicate]

I don't like unnecessary duplication. Is it possible to install python only once and have both ArcGIS and OSGeo4W using it?
11
votes
2answers
17k views

Merging all tiles from one directory using GDAL

I would like to use GDAL (under Windows; OSGeo4W Shell) to merge all GeoTIFFs from one directory into a new GeoTIFF. I have tried to address them by writing c:\data\....\*.tif which however does not ...
9
votes
1answer
520 views

QGIS Server sending UPDATE… WHERE NULL to postgis in a WFS layer

I am running a Windows Server 2012 server. PostgreSQL 9.3.5, 64-bit POSTGIS 2.1.3 QGIS Server 2.6.1-2 QGIS Desktop 2.8.3 and 2.12 I am using a Microsoft Surface Pro 4 tablet using QGIS Desktop 2....
7
votes
4answers
3k views

ogr2ogr bringing up “memory allocation error”

I've got a shapefile which contains, at the moment, roughly 1500 polygons. The polygons all display fine using whatever GIS I throw it in (ArcGIS, QGIS). However, I'm trying to use ogr2ogr to convert ...
7
votes
2answers
3k views

QGIS 2.16 - Installation problem under Windows 10

I installed twice Qgis 2.16 using OSGeo 4w install. First I uninstalled all the previuos version and installed 2.16. Everything worked fine but when I open Qgis I have a warning message: Couldn't ...
6
votes
1answer
1k views

Downgrade to long term release QGIS with OSGeo4W?

QGIS this year split into two branches: Latest release (now 2.10.2) Long term release (now 2.8.2) I am not sure how is it normally in larger companies but I think having (hard)core GIS employees ...
6
votes
1answer
6k views

Can ogr2ogr write data to a file geodatabase feature dataset?

I am dumping postgis tables into a file geodatabase and it works great--the result is a file geodatabase full of featureclasses. But is it possible to write these featureclasses into feature ...
6
votes
1answer
2k views

gdalbuildvrt vs gdal_merge on overlapping images

I once have used gdalbuildvrt on georeferenced images. That was okay when images did not overlap, It was also time efficient compared to gdal_merge or gdal_warp. Now I have overlapping images and ...
5
votes
5answers
10k views

How to install Fiona to read Shapefile attributes with OSGeo4W?

I´m developing a plugin in Python and I need to read the shapefile attributes, so I found the Fiona API and dbfpy also but I don't understand how to install these packages because I install the QGIS ...
5
votes
2answers
3k views

Convert raster to a CSV values and lat long based on raster value in QGIS

I am looking to convert a raster into a csv file (or tab delimited) based on values in the raster (Value > 0). The csv would have three values, latitude of center of cell, longitude of center of cell,...
5
votes
1answer
2k views

User Interface file compilation using OSGeo4W shell during qgis plugin creation

I am trying to build a plugin in Qgis2.6 using plugin builder. And as a part of the same, I tried compiling the .ui and .qrc file using OSGeo4W shell. It is showing an error during compilation in ...
5
votes
2answers
1k views

OSGeo4W does not add bin directory to Windows PATH

I am trying to run the following shp2pgsql cmd using the OSGeo4W shell: shp2pgsql -s 4269 -g geom_4269 -I -W "latin1" "tl_2012_states" staging.tl_2012_states | psql -h localhost -p 5432 -d dvdtwo -U ...
5
votes
3answers
4k views

No Module named qgis

I installed QGIS through OSGeo4W, and I am trying to write a standalone PyQGIS script, however, I am unable to import the qgis, qgis.core, processing ect… modules, as shown in the picture, I get the ‘...
5
votes
2answers
4k views

Grass tools not working in QGIS 2.14.3-ESSEN, OSGEO4W [duplicate]

Windows 10 QGIS 2.14.3-ESSEN OSGEO4W install (current) 64-bit Processing toolbox. Grass tools do not work Neither 6 nor 7. 6 makes sense as I do not see OSGEO4W installing it but 7 tools are ...
5
votes
1answer
971 views

command r.stream.order not found in grass 7.0.3 how to install r.stream module?

I have installed QGIS 2.14.1 and GrassGIS 7.0.3 I found in OSGEO Grass wiki page a command that calculate Strahler's and Horton's stream order Hack's main streams and Shreeve's stream magnitude from ...
5
votes
2answers
4k views

How to correctly configure OSGeo4W64 for Windows 7 64-bit?

I have successfully installed OSGeo4W64 on numerous new systems (actually EC2 instances) and had no issues. But I've run into an issue with it on a Windows 7 workstation that has a lot of JREs on it....
5
votes
1answer
794 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 ...
5
votes
1answer
2k views

QGIS 2.16 - Couldn't load QGIS utils. Python support will be disabled

I use Windows 10 OS and not good at coding. I have been using QGIS standalone installer for a long time (from 1.8 actually), but recently tried installing the OSGEO4W 32 bit version which had the ...
5
votes
1answer
3k views

Grass processing not configured in OSGEO4w QGIS 2.14.1

I get the below error when I try to use grass processing from within QGIS. The error is given on all commands and I have got this error on 2 machines. I am using windows. "This algorithm cannot be ...
5
votes
1answer
787 views

gdal_calc works but I get a Python error at the end of each process?

I have a problem while using gdal_calc by a .bat file. Here is the code : call "C:\OSGeo4w64\bin\o4w_env.bat" gdal_calc -A"D:\tuilage_script_1\tuilage\ndvi\4_810000_6370000_820000_6360000_ndvi....
5
votes
0answers
748 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 ...
5
votes
0answers
1k 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 ...
4
votes
2answers
167 views

Reading various (non-.shp) vector types using ogrinfo

I am using the OSGeo4W shell to call ogrinfo on a directory (geodata) to see what vector files it includes: As you see, it lists two shapefiles and it tells me that it is using the shapefile driver; ...
4
votes
2answers
2k views

How to install OSGeo4W libraries in older version of QGIS (2.16)?

I am trying to install older version of QGIS (2.16) with OSGeo4W. But from the latest OSGeo4W Setup i can choose only 2.18 or 2.14 version. I want to install few libraries that are provided by OSGeo4W ...
4
votes
1answer
462 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 ...
4
votes
1answer
574 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 ...
4
votes
3answers
2k views

Installing qgis-ltr or qgis-ltr-full with OSGeo4W or both?

I need some help with the installation of QGIS using OSGeo4W. I am using windows 7 and I want to install a 64 bit ltr release with all relevant dependencies and plugins. I choose to install qgis with ...
4
votes
1answer
68 views

QGIS - Python Action Error

I am using QGIS 3.18.1-Zürich and I am trying to create a Python action. Although I have installed the required packages, I get an error as shown below. Traceback (most recent call last):   File "...
4
votes
1answer
835 views

Loading WMS with PyQGIS

I have installed QGIS server on Ubuntu 14.04 which serves WMS. Connection uses https and basic auth. URL is https://my.awesome.url:8090/cgi-bin/project1/qgis_mapserv.fcgi I can connect with QGIS and ...
4
votes
4answers
1k views

GRASS 6.4.3 Crashes on Startup; libintl-8.dll cited

I recently installed QGIS 2. I used the advanced OSGeo4W installer that I downloaded from the QGIS download page. GRASS is included in the stack. When I attempt to open GRASS, I receive the following ...
4
votes
3answers
23k views

Installing Python-GDAL with OSGEO?

I have been trying to install python gdal with OSGEO for some time now with no success. I have removed. I have tried with "Express and Advance" as suggested by OSGEO4W site. The error is always "No ...
4
votes
2answers
3k views

GDAL_CALC works but I get a python error at the end of each process that prevents automation

Python 3.4.1, GDAL 1.11.0, OSGEO4W, Windows 7, OSGEO4W Windows Shell All 64-bit (ArcGIS is installed as well 10.2 with Python 2.7) So gdal_translate works fine. gdal_calc provides perfect ...
4
votes
3answers
3k views

OSGeo4W and QGIS 2.0

I just ran the OSGeo4W installer to update my previous installation and I noticed that it was updating my QGIS installation from 1.8 to 2.0. I haven't been able to find any information on the web ...
4
votes
1answer
781 views

Create Virtual Raster from a large number of Tiffs using OSGeo4W Shell

I am hoping to find a relatively straightforward way to create a virtual raster for a large set of rasters (c. 15,000 TIF files from the TQ 100K Square of OS 1-10K). I cannot do this in QGIS. I get ...
4
votes
2answers
770 views

OSGeo4W (gdal 2.1.0) and gdal2tiles

I've tried the x86 and x64 versions of OSGeo4W, but gdal2tiles is missing. Has gdal2tiles been removed from OSGeo4W? -={ OSGeo4W Shell Commands }=- bmp2tiff msencrypt ...
4
votes
1answer
86 views

How to split every arc in a shapefile exactly in half?

I have a line shapefile containing several thousand arcs of varying length, representing a road system. I need to split each arc exactly in half along it's length. The resulting output would thus ...
4
votes
1answer
2k views

Does ogr2ogr Convert from PostGIS to File Geodatabase (FGDB_BULK_LOAD YES) work?

I am trying to export a lot of data from a PostGIS database to a File Geodatabase. The command I used to use was ogr2ogr -progress -append -f "FileGDB" -gt 66536 -sql "SELECT * FROM line" C:\Temp\...
4
votes
1answer
147 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 ...
4
votes
2answers
2k 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 ...
4
votes
1answer
420 views

How to resolve error when launching OSeo4W Shell: Windows cannot find .bat file?

I downloaded and installed OSGeo4W to use ogr2ogr, but the the program OSGeo4W will not run. On launching the shell, I receive an error stating the .bat file cannot be found in specified directory (...
4
votes
1answer
4k views

Importing Orfeo ToolBox into Python

I have Python 2.7 (installed together with ArcGIS 10.1). Via OSGeo4W I have installed QGIS and Orfeo ToolBox (OTB) applications. I was able to connect QGIS and OTB and it's working fine. Through OSGeo ...
4
votes
1answer
101 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 ...
4
votes
0answers
292 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 ...
4
votes
0answers
260 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 ...

1
2 3 4 5