Slightly longer answer
The two applications save all their settings in different places and when they use different versions of the same library, these library versions can safely be installed side-by-side.
It is encouraged and recommended to test QGIS 3.x (either current LTR or current release) (2.99 while there is no official release) ...
It sounds as if your administrator has installed the database successfully and provided you with the details you will need. They may have also configured PostGIS during the install as well, but if not, you can check that as you go through these steps.
First ask your administrator to install pgAdmin this will allow you to access your PostgreSQL database with ...
You don't have to worry about any of those prerequisites when installing PostGIS on Windows. You just need to install the Postgresql installer for your platform. You can then launch the Application Stack Builder to install PostGIS.
You can find more detailed installation instructions at the Boston GIS web site.
QGIS, as distributed by OSGeo4W, usually comes with its own Python installation and its own packages that are independent of your "regular" Python installation.
The easiest way to install a Python package into the OSGeo4W distribution is to open the OSGeo4W Shell and use pip from there. This will install the package into the Python distribution QGIS uses, ...
Probably your QGIS is trying to import your widget from .h file like in c++.
Please open your .ui file and find lines:
Then in your header tag ...
In QGIS you can use the Affine functions for scaling vector features. In the Vector menu:
And the dialog looks like this:
If you enter 1.3 in both the "Scale X" and "Scale Y" boxes, then the layer (or just the selected feature(s) will be scaled up by 130%. This operation will scale the features proportionally, but be aware that depending on the coordinate ...
You can make sure all folders in your hard drive and your .qgis2 folder (C:/Users/You/.qgis2) are deleted. You could also delete the Registry entries for QGIS by running the regedit program and searching for QGIS:
Hopefully when you restart your computer, you will be able to reinstall QGIS again.
Hope this helps!
The examples provided are for executing the scripts in a Jupyter/IPython notebooks environment.
In a normal Python environment, you need to import matplotlib to show the image
import geopandas as gpd
world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
import matplotlib.pyplot as plt
I use the following settings to "Start a program" in the task scheduler. I find it best to use the full path to the Python executable to be safe.
Program/script: Full path to Python.exe, C:\Python27\ArcGIS10.2\python.exe
Arguments: Name of script, script.py
Start in: Location of script.py, something like C:\path\to\script
Also, if you pass in arguments ...
Another option is to install the Anaconda Python distribution which has packages for GDAL. If you are going to be doing a lot of work using GDAL with other Python packages (scipy, pandas, scikit-learn etc.,) this might be a better option than OSGeo4W. On the other hand if you want to use Python in combination with a number of open source remote sensing and ...
Numpy is installed by default in QGIS (Standalone version, OSGeo4W version).
For rasterio, there are many problems. I know that rasterio is powerful and easy to use (I use it) but why rasterio in a QGIS plugin while you have all the functions of PyQGIS ? (it was designed for the Python shell or for scripts, not to be used with QGIS/PyQGIS, as Fiona for the ...
I find OSGEO4W a poor solution because it creates a whole parallel universe, almost like a virtual machine. I was able to install GDAL and use it in python following the steps outlined here (this is the link provided by @sys49152).
It sends you to gisinternals.com. Take the link to "stable releases" to get to:
If you have installed QGIS via OSGeo4W, I suggest you to follow this work flow (I've just tested it on Windows 7):
Open the OSGeo4W Shell. Start->All programs->OSGeo4W->OSGeo4W
Set environment variables. My preferred way is to execute this bat file (updated 2016.11.03: this bat file) from the OSGeo4W Shell. As you can see, the file sets ...
Add an empty argument in the first approach (because gdal_merge.py parses arguments starting from 1 and not 0):
import gdal_merge as gm
gm.main(['', '-o', 'merged.tif', 'N00W078.tif', 'N00W079.tif'])
Join the path of gdal_merge.py in the second approach:
import os, subprocess
gm = os.path.join('C:\\','...
In Settings -> Options -> System of QGIS, you will be able to see the read only current environment variables of your system; precisely the folder where your temporary data are being written (see next image).
You can edit the path of these folders by using the Control Panel of Windows (filtering by env at the browser); see next image.
You could try merging the rasters into one:
From the toolbar:
Raster > Miscellaneous> Merge
From the Processing Toolbox:
GDAL/OGR > Miscellaneous > Merge
From the GDAL console:
gdal_merge.py -o merged.tif input1.tif input2.tif
Or build a virtual raster:
Raster > Miscellaneous> Build Virtual Raster
Here are some general notes for un-installing the two types of installs:
OSGeo Network version, this version may not be un-installed from Control Panel>Programs and Features option. To un-install
Run osgeo4w-setup-x86.exe (same .exe you ran to install the app),
choose Advanced Install option
take all defaults under Select Packages under ...
I suspect you are running the latest PostgreSQL Patch released yesterday. I have confirmed an incompatiblity issue with latest release OpenSSL and the libcurl we ship - detailed here - http://www.postgresonline.com/journal/archives/364-PostGIS-2.2-Windows-users-hold-off-on-installing-latest-PostgreSQL-patch-release.html
We have compiled a new version of ...
Basically pick a computer as a server, install the OS and database software, open the firewall for port 5432, modify the postgresql.conf and pg_hba.conf files to allow external access, and serve the data to the other computers. These are the same instructions for setting up a server on either Windows or Linux, except one OS is free. Most folks would pick ...
The two main alternatives for installing GDAL on Windows are to use OSGeo4W installer or to use binary packages from
Installation with the packages from GIS Internals is perhaps a little easier than with OSGeo4W. The site offers MSI installers but also zipped packages which can just be unzipped to disk and run even without administrator ...
Open the Windows Settings menu by pressing the Windows Key and “I”
Click on "System" (Display, notifications, apps, power)
Click “Notifications & Actions” menu
Wait a few seconds until Windows finds and lists all apps which uses "Notifications"
Scroll down list of apps and find QGIS
Turn it off
Most of the GIS packages I have used have excellent mapping tools. I can produce very good maps with QGIS for instance. So that's an option, if you can't run to the cost of ArcGIS. Yes it is a little more fiddly to get the exact result you want but excellent maps are perfectly possible. I am able to produce large maps with QGIS - but you have to ...
HDF4 support is not available in GDAL by default. If you're using the GDAL binaries and python libraries from GISInternals, these do not have HDF4 support compiled in (at the time this answer was originally posted in July 2013, however HDF4 support was added to the GISInternal GDAL build in Nov. 2013). HDF4 support is compiled in the OSGeo4W GDAL binaries.
In a command window, type set > set.txt to get a list of all environment variables you have set. Your python installation may have set some values that QGIS does not like.
The PATH variable is save, because qgis.bat sets its own path variable, but PYTHONPATH or something else may be harmful.
Once you found a link to C:\Python27, go to the system ...
This page, which lists general command-line options, says there's an "--optfile" argument:
Read the named file and substitute the contents into the command line options list. Lines beginning with # will be ignored. Multi-word arguments may be kept together with double quotes.
Putting your GCPs arguments in a text file might let you work around the ...
You downloaded the source code, not a prebuilt binary.
If you read the PDAL download page you linked to you will see:
Windows builds are available via Conda Forge (64-bit only).
Install Conda (or Miniconda), run a Conda shell, install PDAL with
conda install -c conda-forge pdal
and you should be good to go. See the Conda instructions ...