Questions tagged [qgis]

QGIS is an open source program used to process and visualize geospatial data. It is available for most desktop and mobile operating systems.

QGIS (formerly Quantum GIS) is a user-friendly, cross-platform Geographic Information System (GIS) application with support for Linux, Unix, MacOS X and Windows. News updates are available from the QGIS blog.

QGIS supports numerous vector, raster, and database formats and provides numerous features for exploring, creating, analyzing, converting and exporting geospatial data. The core functions can also be extended through external plugins written in .

QGIS is an official project of the Open Source Geospatial Foundation (OSGeo) and is licensed under the GNU General Public License.

The gis.stackexchange.com site covers QGIS use cases in detail.

1691 questions
272
votes
15 answers

Allow docker container to connect to a local/host postgres database

I've recently been playing around with Docker and QGIS and have installed a container following the instructions in this tutorial. Everything works great, although I am unable to connect to a localhost postgres database that contains all my GIS…
marty_c
  • 5,779
  • 5
  • 24
  • 27
15
votes
2 answers

Order of coordinates in geojson

I was testing rendering of data via GitHub in geojson format, because I wanted to use it for INSPIRE data. INSPIRE data are in GML 3.2.1 format. I've downloaded one of datasets from http://services.cuzk.cz/gml/inspire/cp/epsg-4258/ (which is in…
Meďák
  • 361
  • 1
  • 5
  • 12
10
votes
7 answers

Join multiple line segments into one line - GIS

I have a map that I have digitised and converted to a vector layer (the rivers only). The problem is that the vectorisation has produced a large number of segments for each river, that show up as different features (each may have multiple straight…
LittleFish
  • 789
  • 3
  • 10
  • 15
10
votes
2 answers

QGis: How to import svg or raster images into Quantum GIS?

these vector or raster files being classic files without geocoordinates. They are lat/long projection, I want to import them into QGIS, scale them up/down, place them to their right place, and they become reusable shp or raster geocoordinated…
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
9
votes
5 answers

Has anyone got QGIS to install on Ubuntu 16.04 LTS

Following the directions provided at this page and am getting the following errors. The following packages have unmet dependencies: python-qgis : Depends: python-qgis-common (= 1:2.8.8+20trusty) but it is not going to be installed ....... E:…
Christopher Law
  • 189
  • 1
  • 1
  • 7
8
votes
0 answers

Adding support for retina displays (HiDPI) to an existing Qt4 application

What do I need to do to upgrade an existing Qt4 application to work with retina displays on OS X? The Qt blog says that Qt 4.8 "has good support, and backports of some of the Qt 5 patches are…
Snorfalorpagus
  • 3,348
  • 2
  • 29
  • 51
7
votes
1 answer

Error :No module named qgis

I am working on Python26,pyqt4 designer and QGIS. My code file (.py file)contains this: import sys from PyQt4 import QtGui, QtCore from qgis.core import * from qgis.gui import * but when i try to run it it gives error saying: Traceback…
poonam
  • 748
  • 4
  • 19
  • 40
7
votes
4 answers

using qgis and shaply error: GEOSGeom_createLinearRing_r returned a NULL pointer

I tried to create a polygon shapefile in QGIS and read it in python by shapely. An example code looks like this: import fiona from shapely.geometry import shape multipolys = fiona.open(somepath) multi = multipolys[0] coord =…
jjk
  • 71
  • 1
  • 3
7
votes
1 answer

Installing Python 3.6 on MacOS Mojave for QGIS

I'm trying to install QGIS 3.4.1 on Mac OS Mojave. QGIS install comes as a pkg file, specifically requires python 3.6 (will not work with 3.7), Mac ships with 2.7, and homebrew installs python3 with 3.7.1. To the Python devs out there - what's the…
kozyr
  • 1,334
  • 1
  • 20
  • 30
7
votes
2 answers

Can pyenv coexist with standard Python 3 install?

I use pyenv to manage Python versions in Mac OSX High Sierra, works fine. A new version of an important piece of software for me, QGIS v3, requires that Python 3.6 exist on the system but looks for it only in /Library/Frameworks, which pyenv doesn't…
kgeo
  • 412
  • 5
  • 19
7
votes
2 answers

How to cache QGIS Server WMS?

It seems like raster tiles have started to go out of fashion, but still, I need a solution to do it somehow for my QGIS Server's WMS. Up to this point I have tried TileCache, but I couldn't make it to work in OL3, and it also seems to be a little…
Benedek Simo
  • 504
  • 5
  • 15
7
votes
2 answers

Shape_area and ALAND AWATER in Tiger census data

What does Shape_area mean? I noticed that it is not the sum of Aland and Awater. What are the units of these three?
daydayup
  • 2,049
  • 5
  • 22
  • 47
7
votes
3 answers

How to get shapefile geometry type in PyQGIS?

I'm writing a script that is dependent on knowing the geometry type of the loaded shapefile. but I've looked in the pyqgis cookbook and API and can't figure out how to call it. infact, I have trouble interpreting the API, so any light shed on that…
Steven Lutz
  • 467
  • 1
  • 6
  • 16
7
votes
3 answers

Easy methods of installing and having access to the GDAL library?

The GDAL library homepage implies that people who arrive there already know what they are doing. I work with ArcGIS, and am unfamiliar with intricate setups with library dependencies as GDAL suggests. Is there an easy "package" i can download? I…
em kay
  • 71
  • 1
  • 2
7
votes
1 answer

How to add feature in shape file with pyqgis?

I am now have a shape file and I want to add value to fill it with color but now I have a problem http://www.qgis.org/pyqgis-cookbook/vector.html#add-features feat = QgsFeature() feat.addAttribute(0,"hello") …
blueman010112
  • 456
  • 1
  • 7
  • 19
1
2 3
99 100