Hot answers tagged

27

Short answer Yes 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) ...


23

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.


23

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, ...


23

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 ...


20

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!


20

Probably your QGIS is trying to import your widget from .h file like in c++. Please open your .ui file and find lines: <customwidget> <class>QgsProjectionSelectionWidget</class> <extends>QWidget</extends> <header>qgsprojectionselectionwidget.h</header> </customwidget> Then in your header tag ...


20

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')) world.plot() import matplotlib.pyplot as plt plt.show()


17

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 ...


16

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 ...


15

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 ...


14

Just use OSGeo4W and install the gdal-filegdb package. I compiled and uploaded the binaries to include them as part of the distribution. File Geodatabase (*.gdb) support in QGIS? has a step by step recipe.


13

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 ...


12

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 Shell. 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 ...


11

One workaround is just to go for the raw data, since this is a very simple file format. Not for everyone, but it can be illuminating to see what is happening. ## all these details are in the .HDR file NROWS <- 6000 NCOLS <- 4800 At this point you can try the different options for integer sign and endianness directly, and reading this ...


11

Here is another tutorial which explains very simple and easy way of installing GDAL v1.8 with Python v2.7 on a Windows XP/7 system. http://cartometric.com/blog/2011/10/17/install-gdal-on-windows/


11

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


10

In Portugal, the citizen card which offers an authentication and digital signature service that works via browsers puts older qt dll's in windows\system32. Renaming these stops these services from running... You can copy QGIS Qtcore4.dll and QtGui4.dll to the folder where qgis.exe is placed. This works without renaming the older dll's. The reason this works ...


10

Here are some general notes for un-installing the two types of installs: OSGeo Network 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 ...


9

If you are still open for other suggestions, I'd recommend osm2po instead of osm2pgrouting because in my experience it works without size limitations. It's also very easy to install. I've written a short how-to part 1 & part2 a while ago. I've also written a guide on installing pgRouting on Windows which should help you install the binaries you ...


9

Celenius, If you don't use the -t option with size dimensions, then your raster file will come in as a single record. I just noticed an error in the docs which is probably what's confusing you. I'll fix that. The -t should always be followed by a widthxheight. If you want it to be chunked say in 100x100 pixel width height -- as Mapperz says -- use the -...


9

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: http://www.gisinternals.com/release.php Now ...


9

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 ...


9

Add an empty argument in the first approach (because gdal_merge.py parses arguments starting from 1 and not 0): import sys sys.path.append('C:\\OSGeo4W64\\bin') 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:\\','...


8

The solution, translated below, is given on http://osgeo-org.1560.n6.nabble.com/Entry-Point-Not-Found-td3732316.html On OSGeo4W installing version: 1. Find path: C:\OSGeo4W\bin 2. Copy all files to location: C:\OSGeo4W\apps\qgis\bin\ On Standalone installing version 1. Find path: C:\programs (or program files) \Quantum GIS Wroclaw\bin\ 2. Copy all files ...


8

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 ...


8

There are comprehensive uninstall programs available which do thorough searches and removal for all leftover files and registry values which should solve the problem. An example is Revo Uninstaller.


8

The two main alternatives for installing GDAL on Windows are to use OSGeo4W installer or to use binary packages from GISInternals.com. 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 ...


8

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 Enjoy!


7

Most of that information is stored in the good ol' windows registry. Check under: HKEY_CURRENT_USER\Software\QuantumGIS I think you can just nuke that whole entry and QGIS will just recreate it when it runs again.


7

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 ...


Only top voted, non community-wiki answers of a minimum length are eligible