Hot answers tagged

35

NEW UPDATE QGIS3 can now be installed from osgeo's homebrew tap, which saves mucking about with python symlinks... i.e. brew tap osgeo/osgeo4mac brew install qgis Then type qgis in the terminal to launch, then pin the dock menu icon to simplify launching in future. Note that the installation console logs will also provide an example for how to symlink ...


28

If you have installed Python3 with Homebrew, you can use symlinks to comply with the installer needs (as suggested by @shongololo). It seems, the installer needs Python3 installed at (thanks @shongololo): /Library/Frameworks/Python.framework/Versions/3.6/bin/python3. (Install python3 using Homebrew to follow this part) Find the Cellar directory on your ...


21

I have the same (OS X 10.11, Qgis 3.2.2). What I'm doing is opening a new map window (View / New Map View), anchoring it to the top or side edge, resizing it and closing it again. This causes the original window to return to its normal size. Works for me.


14

So far brew install gdal --HEAD resulted in $ ogr2ogr --version GDAL 2.1.0dev, released 2015/99/99


12

You should verify that you can connect using psql. Try psql -U username -h localhost dbname. It should prompt for a password then connect. Run SELECT postgis_version(); to verify that PostGIS is active in the database. If you can connect but SELECT postgis_version() reports an error, PostGIS isn't installed in the database: ERROR: function ...


12

This is not necessarily specific to QGIS but is a question I often get with QGIS users needing to reference two projects at the same time. open a terminal window and type: open -n /Applications/QGIS.app Or for QGIS3, open a terminal window and type: open -n /Applications/QGIS3.app this format will work with any application: open -n /Applications/...


12

This is a bug. Install an earlier version or wait for it to be fixed. Update: This Mac-specific bug brought attention to the fact that the QGIS has not been as well supported as for Windows as for MacOS. There is now a MacOS specific bug fixing campaign.


11

No, the GPX driver of GDAL which is used by Qgis for Save As does not know how to handle polygon geometries, and throws an error. But you can convert the polygon into a line geometry using Vector->Geometry-Tools->Polygon to line, and export the resulting new shapefile to GPX. Most probably you want to add FORCE_GPX_TRACK=YES in the layer creation ...


11

You are trying to mix different things: 1) You want to use the Homebrew version of QGIS: Everything must be installed by Homebrew as binaries and libraries in /usr/local/Cellar with symbolic links in /usr/local/bin, GDAL/OGR, QGIS, .... the Homebrew QGIS version uses the Homebrew Python version with modules in /usr/local/lib/python2.7/site-packages All ...


11

If you want to export to PDF then you will need to create a composer window first. 'File'-> 'New Print Composer'. Once you have done this and have a new print composer then you can add a map. The final step is to export the composer to PDF 'File'-> 'Export to PDF'. The print composer is where you can add your map legend, north arrow, scale, title, etc. You ...


10

No problem, you only need to download QGIS 2.4 and install it. the application (QGIS.app) is placed in /Applications/ the frameworks are in /Library/Frameworks/ (/Library/Frameworks/GDAL.framework for example) the extensions are in /Users/you/.qgis2/python/plugins (hidden folder, /Users/me/.qgis2/python/plugins/tablemanager for example) the Python ...


9

QGIS Browser.app is located in QGIS.app/Contents/MacOS/bin. For ease of launching, make a symlink or Finder alias to it. from https://github.com/qgis/Quantum-GIS/pull/197


9

Get the ECW-Plugin from here: KyngChaos (scroll to the middle of the page)


9

I had the same problem of QGIS reading a CSV file (saved from MS Excel 2011 on my Mac) as a single row. So, I re-saved the Excel worksheet as "Windows Comma Separated (.csv)" and QGIS was able to read it just fine.


9

It it is one of the solutions, that of KyngChaos (William Kyngsburie), but there are others (remember that Mac OS X is an Unix system). I shall try to be as as complete as possible. The KyngChaos solution (the most popular and the solution proposed by Joseph) It uses Frameworks and the Apple Python pre-installed (2.7.x, symbolic link in /usr/bin). ...


8

A CSVT file is just a plain text file that you create with the extension .csvt. The file has a single line with the types for each column: "Integer","Real","String" Make sure there are no spaces between each , or type.


8

You will need to do some formatting of your data to make them into polygons. Merely labeling a field as WKT will not help. If you have a lot of files (which it sounds like you do), the most effective way will be to automate your solution by writing a script. I was going to explain how when I decided that the simplest way would be to write an example script ...


8

The information you are looking for is hidden in a panel that is collapsed/minimized on the right-hand side of the dialog. Here's how you can access it:


8

The .tar.bz2 files are basically the source code for QGIS. You only really need to download these if you want to build QGIS yourself. If you want to download an older version of QGIS for Mac, try the following link and scroll down until you find the QGIS archive: http://www.kyngchaos.com/software/archive


8

I had a similar issue on Centos 7 with PG 11 and Postgis 2.5 while dump/updating the database. In my case 'yum remove geos36' solved it. Hope this helps or at least give you an in sight! M.


7

Well, self, I'm glad you asked (hopefully you won't have to spend a whole day figuring this out next time). Steps Download the ESRI File Geodatabase API Library (requires account) Move the resultant FileGDB_API folder to /usr/local/ Copy all the files from (or symlink for cleaner in/uninstall) /usr/local/FileGDB_API/include/ ---> /usr/local/include /usr/...


7

Use gdal_translate. Here are some instructions on its use: http://www.gdal.org/gdal_translate.html Here is the download page including some information about setting it up in Mountain Lion: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries http://www.kyngchaos.com/software:frameworks If you want to build it yourself: http://trac.osgeo.org/gdal/wiki/...


6

To use the split tool, you want to left click at least twice to create the line that will split your existing line, then after the 2nd left click you right click to finish the process. I was kind of able to duplicate the behavior you're seeing when I left clicked to start the split line, then right clicked at it's end point. The green X would appear, and ...


6

QGIS and the server behind Overpass API are not able to handle large area requests. If you need that amount of data, think about downloading pbf extracts from Geofabrik filter the data for the items you really want with direct Overpass API calls set up a local postgis database for your area of interest with a suitable Geofabrik extract


6

It's the plugin processing. QGIS 2.14 comes with a mechanism that deactivates plugins if they did not successfully load on QGIS startup. This points out a potential problem in the plugin. Save your work and try to re-enable the plugin and if it fails to load again, file an issue (for the plugin, not for QGIS). In its first version (2.14.0) there is a ...


6

I have figured this out and thought it best to post the answer for future users. Firstly, I right clicked on my QGIS application and selected 'Show Package' to show the subfolders within the application (apologies if this is obvious to most users but it wasn't to me!) In doing this I managed to locate the exact path of my GRASS installation, which is /...


6

ArcPy is a site package bound to a release of Python associated with ArcGIS Desktop (Windows -- 32-bit or 64-bit, with Background Geoprocessing installed) or ArcGIS Server (Windows and Linux -- 64-bit). One of these packages must be installed to import arcpy (and only from the version of Python installed by ArcGIS). There is no MacOS-compatible version of ...


6

Your main problem is that the SAGA version you have installed (5.0.0) as shown in your screen shot, is not supported. As of (I think) QGIS 2.18, only the SAGA Long Term Release (currently 2.3.2) is supported. I am assuming this is why it is no longer possible to set or change the path to the SAGA folder (since external SAGA installations are not supported). ...


6

From the Settings Menu, User Profiles, select "Open active profile folder". You'll be taken straight there.


6

According to the changelog, the TIN interpolation plugin has been removed, as it is now part or QGIS core. To find it in Qgis 3.0, open the processing toolbox and search for Interpolation -> TIN interpolation.


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