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.


18

OSGeo4W is, well, OSGeo "for Windows", so it is not what you are looking for. I have not done it myself, but other people have, so I know it works. I would recommend you get the KyngChaos binaries for QGIS compile the OGR FileGDB driver (which will produce a "dylib" file on the Mac) drop the dylib on the plugins directory of GDAL on the Mac. I believe ...


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

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


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

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


10

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


10

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


9

If you want to run ArcGIS on a Mac (as I do at home), there are two routes you can take. The first is to buy virtualization software -- Parallels or VMWare Fusion are probably the best options for that. These allow you to run Windows within OS X, and for each "virtual machine" you can allocate a specific amount of your system's total resources (RAM, CPU ...


9

I still have to resort to ArcGIS in a virtual machine from time to time on my Macbook, and have experimented with performance issues over the years. As @Chad Cooper mentions, XP will feel very snappy indeed ... so does Win7 but it's worth taking the time to tweak it (get rid of Aero, replace the default 'find' with 'everything' app, etc; lots of advice about ...


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

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

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

You have a few options: PostGIS 2 has support for TIN and some other 3D objects. GRASS has support via an add-on. See this how-to document. QGIS has an Interpolation plugin (see here) Roll-your-own by importing the GDAL libraries into a 3D modelling package such as Blender (I do it this way a lot because I want interactive 3D model rather than for ...


8

How is the file system handled when defining layers in ArcMap, when on a Mac? eg, is there a concept of the C: drive? Is the Windows file system handled by Parallels (with Windows 7 installed)? When you use a virtualization platform like Parallels, your computer is effectively divided into a host and a guest OS. In your case, OS X is the host OS whereas ...


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

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


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

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.


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


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