Hot answers tagged

42

Unless you have good reasons not to, I'd definitely recommend starting with the OSGeo4W installer, which can install multiple different versions of GDAL and their relevant Python bindings. It works great and dramatically simplifies the Windows deployment story. Specifically, you'll want to install pkg-gdal-python, which is within 'Libs' in the installer tree....


33

You can GDAL from Christoph Gohlke's Unofficial Windows Binaries for Python Extension Packages. It can be installed from cmd.exe using something like: c:\Python27\Scripts\pip.exe install GDAL-X.Y.Z-cp27-none-win_XYZ.whl (You should install NumPy from the same place using a similar command) While the package is not built by OSGeo or GDAL developers, it ...


20

Sure, just go to the options dialog: Préférences->Options->Langue (Settings->Options->Locale) Check Forcer la nationalité du système (Override system locale) and set you language in there.


17

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.


12

Just use OSGeo4W and install the gdal-filegdb package. I compiled and uploaded the binaries to include them as part of the distribution. How to get ".GDB" (Esri File Geodatabase) support in Quantum GIS (osgeo4w - qgis) has a step by step recipe.


11

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


10

That's a classic DLL conflict. To resolve it, search for duplicates of the DLL in Windows system folders and rename them to e.g. QtCore4.dll.bak.


10

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


10

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


9

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


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


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


8

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


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

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!


7

GDAL runs on most platforms, including Windows, so I'm not sure where you get the idea it only runs on Macs! The easiest way of getting installed on your machine is to download OSGeo4W, which is an installer for all manner of desktop GIS goodness, from which you can just choose GDAL/OGR. Once you've done that, you can use the command line tool gdalwarp to ...


7

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


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


7

Condensed procedure outlined in http://cartometric.com/blog/2011/10/17/install-gdal-on-windows/ for Windows 7, 32 Bits, to install GDAL PYTHON: 1) Install Python. I installed Python 2.7.9 from https://www.python.org/ 2) Install the GDAL binaries published by Tamas Szekeres. First, I launched IDLE (Python GUI) noting the following values: "MSC v.1500" and ...


7

All Windows operating systems (32-bit/64-bit) are supported by Quantum GIS. I could install QGIS on latest Windows 8.1 Preview too.


7

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


7

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


7

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


6

The issue seems to be caused by a problem recognising the fact that the data is in signed 2 byte integer format. It is wrongly interpreted as unsigned 2 byte integer format. Therefore your nodata value of -9999 becomes: 2bytes=256*256 -9999 = 55537 What I find strange is that min value : -9999 and max value : 5483 are the same for both windows and mac. ...


6

There are some issues with this file or with GDAL. I am using windows 7 R version 2.13.1 (2011-07-08) Platform: x86_64-pc-mingw32/x64 (64-bit) and > getGDALVersionInfo() [1] "GDAL 1.7.2, released 2010/04/23" > GDALinfo('E020N90.DEM') rows 6000 columns 4800 bands 1 origin.x 20 origin.y 40 res.x 0....


6

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. HDF4 support is compiled in the OSGeo4W GDAL binaries. You can test if you have HDF4 support with the gdalinfo command: gdalinfo --format hdf4 You can also batch the MRT from within your ...


6

The Ubuntu/Debian packages for 2.10.0 are already listed at http://qgis.org/debian/dists/vivid/main/binary-amd64/Packages but not yet announced. Apart from that, you can already compile from source: http://qgis.org/downloads/qgis-2.10.0.tar.bz2 UPDATE 22-07-2015 QGIS 2.10.1 is now available for most platforms from https://www.qgis.org/en/site/forusers/...


5

Using ArcCatalog (or the ArcCatalog toolbox from ArcMap), create a new shapefile and check 'Coordinates will contain Z values.'. Set the spatial reference, including the vertical SR. In ArcMap, start an edit session, create a feature (doesn't matter if its point/line/polygon). Once the feature is created, select it (still in an edit session) and click '...


5

Try using the SetWindowPos winapi call with the hWnd of the dockable window control (or maybe it's parent or grandparent container control) with the HWND_TOP flag.



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