QGIS is a cross-platform GIS application licensed under the GNU General Public License.

learn more… | top users | synonyms

1
vote
0answers
43 views

labels showing up as doubles

I have a problem in Qgis where all my labels are doubled on every single item (see image). I have checked the attributes list and everything seems normal. How do I show the labels properly?
2
votes
1answer
109 views

Qgis 2.7 (Dev) feature rotation?

Curious if the following code has a blatant error that has been overlooked with respect to rotating a single polygon feature. The *.geometry().rotate(...) returns a '0', indicating it was successful ...
2
votes
1answer
109 views

How does QGIS know there is a plugin update?

I've created a plugin and hosting the installation zip and xml file on a local network repository (for company use). Everything works fine but every time a user opens QGIS, it shows that the plugin ...
1
vote
1answer
21 views

How to add terrain information to an existing project in QGis 2.6? [closed]

I have created contour lines and a hillshade layers and saved it as a vector and as a GeoTiff file respectively. However, when I try to add these layers to an existing project, nothing shows up. Where ...
2
votes
1answer
168 views

Getting values from Qt widgets and using them for a buffer

I am writing a simple plugin that finds buffer. My gui has 2 combo box and 1 Line edit. The first combo box will have a drop down of values from column 'States' and 2nd combo will have a drop down of ...
1
vote
0answers
15 views

Creat clusters using long and lat

I have about 4000 stores all across the country. Based upon the long/lat distance and business level, I wish to create about 200 clusters who can manage 15-25 stores each. I wish to find out how to go ...
3
votes
1answer
708 views

GRASS GIS 7 in QGIS 2.6.1, Windows 7 64bit - Missing dependency

I am using QGIS Brighton 2.6.1. Today I have installed Grass GIS 7.0.0 RC2 to try its topology functions in QGIS. I have activated the provider, set the paths, but everytime I try to use any Grass ...
18
votes
1answer
298 views

Is it possible to generate a boustrophedon pattern which fill a vector Region with GRASS?

Is it possible to generate a boustrophedon pattern which fill a vector Region with GRASS? I have a vector region in GRASS. And I would like to generate a vector (a polyline) being the bostrophedon ...
2
votes
1answer
467 views

How to move layers in the QGIS Table of Contents via PyQGIS?

I have loaded two layers in canvas and would like to move the layers using the following code in TOC, but it is not moving the layers to the position based on the index given. from PyQt4.QtCore ...
1
vote
1answer
51 views

if condition is false but output is true . what is the exact expression of greater than to bands value ('mjune@1'> 99.6:)

from qgis.core import * from qgis.gui import * from qgis.analysis import QgsRasterCalculator, QgsRasterCalculatorEntry from math import * from PyQt4.QtCore import QFileInfo import os from osgeo ...
1
vote
2answers
111 views

Copy a Group Layer QGIS

How would I copy a group layer in QGIS? I see that you can duplicate layers but copying a layer group is much quicker. What am I missing, is there a standard way, plugin, or python code to do this?
2
votes
0answers
196 views

How do I install a external package in QGIS?

Is it possible to install an external package in QGIS? For example: Can I install ReportLab in order to create a plugin to make pdf reports? Or Pandas. How can I install Pandas in QGIS Python ...
2
votes
2answers
107 views

Geoserver WMS defaults to Mollweide projection in QGIS

We have a WMS on Geoserver (version 2.6.1) which we are using to view in QGIS. For some reason when importing to QGIS it defaults to World Mollweide (EPSG:54009). The process is as follows: Add ...
2
votes
1answer
457 views

How to apply a filter to multiple vector layers in QGIS?

I am trying to apply an attribute filter to multiple layers in QGIS at once. The filter is to be applied to .osm data brought in through PostGIS to QGIS. I have tried selecting multiple layers -> ...
1
vote
0answers
30 views

In QGIS, how do I limit decimal places in data I imported as .CSV and joined to a shapefile? [duplicate]

I am importing a csv into QGIS 2.4 with a csvt file that specifies for percent columns Real(2.1) to limit it to 1 decimal place. It imports fine. When I join it to a shapefile, it looks fine. But when ...
4
votes
1answer
103 views

How to create non-overlapping intervals in the legend?

So I am trying to create a legend where the entries are, for example, like this: 1.1 - 2.0 2.1 - 3.0 3.1 - 4.0 as opposed to like this: 1.1 - 2.1 2.1 - 3.1 3.1 - 4.1 I essentially don't want ...
3
votes
0answers
29 views

Creating a distance overlay that is computed by the distance of points/lines and recalculated on zooming

I created a fictional map and visualized it with d3. Now I would like to show a scale/rule so that the user can see which distance (kilometers,meters) he is currently using. I was thinking about ...
1
vote
0answers
127 views

Embedding python to select feature in QGIS action

I am working from QGIS actions with python and want go to select the current feature that I've identified using the identify tool. (Key point is that there is a difference between identify and ...
1
vote
3answers
101 views

clipping an area out of multiple satellite images in QGIS

How can I clip the exact same area out of multiple satellite images ( multiple bands)? I am working on a remote sensing project and only need a certain island but the images show much more.
2
votes
2answers
597 views

focal mechanism(beach balls) for many Earthquakes

Is there a good way to automatically generate focal mechanism (beach balls) for a shapefile with about 30.000 earthquakes and store them ideally in the attribute table. It would be the best if I ...
4
votes
1answer
401 views

Edit existing polygons to include several new nodes

I want to define catchments which are quite large from vector contour data. I normally start zoomed out to define the catchment generally as it is easier to see. I then zoom in and refine the ...
1
vote
2answers
138 views

Shapefile created in QGIS will not display properly in ArcGIS

I was asked to created a point shapefile of a cemetery. The points display correctly in QGIS but not in ArcGIS. I think the issue is with the coordinate system I created it in (WGS 84 / UTM zone 17N). ...
1
vote
1answer
88 views

How to combine depth and topography .asc file?

I have a .asc file produced from a hydraulic model. The .asc file contains depth data of flood inundation. I want to superpose the depth asc file with my topography .asc file so I can identify where ...
1
vote
1answer
56 views

Is there any statistical measure/tool that compares two different sets of location configurations in R or ArcGIS/QGIS?

Here is what I'd intend to do; I have a given set of facility locations as shown below; And based on a predefined one optimization criterion, I obtained the following configuration (and there are ...
1
vote
1answer
359 views

Adding field values to a QComboBox in PyQGIS

I have a layer say 'Cities'. There is a column called 'NAME_1' in the layer. My GUI has a QComboBox in which i want the values of column 'NAME_1' alone to be displayed in the drop down of the combo ...
1
vote
1answer
80 views

Buffering in km in NAD83 QGIS

I need to create a 32.1869 km (20 miles) buffer around my attributes, but the problem is the CRS needs to stay in NAD83. Is there a work around so I will be able to create buffers in km but still have ...
0
votes
1answer
99 views

Draw lake isobaths having depth points and coast line

For some lakes, I have a line shapefile representing the coast line and some points with many information, among which depth (in meters). Is there a way to draw an isobath linking every point with the ...
2
votes
1answer
80 views

Loading multiple SpatiaLite layers into a single database

I have many SpatiaLite layers, each in a separate database. I want to load all these SpatiaLite layers into a single database. How can this be done?
2
votes
0answers
156 views

QGIS buffer polygon with different widths on each side

I create maps for wildfire risk assessments and am constantly asked to plot "defendable space" buffer zones around building envelopes that are different distances on different sides of the buildings. ...
2
votes
2answers
114 views

In QGIS how do I edit/save data which has no geometries?

In QGIS I can import data tables (CSV in particular) which have no inherent geometry (and no lat/lon columns) into QGIS. There doesn't seem to be any obvious way to manipulate that data (edit/save). ...
0
votes
0answers
33 views

Spatially joining 2 point layers i.e. pole and customer points using spatial join of PostGIS/PostgreSQL Without intersection and buffer technic

Intersecting customer points with pole feature with 20m buffer SELECT distinct h.gid, d.polecode as gid FROM customer as h LEFT JOIN pole_20 as d on ST_Intersects(d.the_geom, h.the_geom); ...
3
votes
1answer
166 views

Show “Raise Notice” and “Raise Warning” in QGIS

Is there a way to catch "Raise Warning" and "Raise Notice" (while editing PostGIS-Layers) from a PostgreSQL/PostGIS-Trigger-Function within QGIS? One example: I have a trigger that reacts to insert or ...
2
votes
3answers
99 views

Making empty parts of aerial imagery transparent

I have a raster file (ECW format) that covers a very large area, however the contents comprise a thin strip of aerial imagery (100m strip centered over the rail line). The bounding box for the image ...
1
vote
1answer
144 views

How do I properly import python sklearn to QGIS PyQt plugin?

A bit of background: I'm somewhat new to python and QGIS plugin development. I've created a plugin structure for QGIS using the Plugin Builder on QGIS and I've added some controls to the gui and ...
2
votes
2answers
264 views

How do you change the scale bar units to feet?

I'm trying to change the default QGIS scale bar from meters to feet. From the API documentation it looks like I should be able to use the QgsComposerScaleBar.applyDefaultSize() function. I thought ...
2
votes
2answers
186 views

How do I count the matching 'many' entries in a one-to-many relationship?

I have a simple SHP line file - where each line has a unique reference. I have a related text csv file using the same reference, in a one-to-many situation. I need a map with the lines (in the 'one' ...
2
votes
1answer
530 views

How to find chainage of points using LRS

I have a Shapefile of road that I have converted from a KML file (created on Google Earth) and a txt file containing lat long (from GPS) of points with some attributes. The points are not exactly on ...
2
votes
2answers
51 views

How to label values every 5th number

I have a string of values(over 10,000) I want to label them but I dont want to label ever single one. I need to label ever fifth number. Any help is greatly appreciated.
1
vote
1answer
265 views

saga_gui.exe identified as malware by antivirus when downloaded from OSGeo4W [closed]

I downloaded QGIS 2.6.1-2 (Brighton) yesterday from OSGeo4W-setup-x86.exe using the advanced installation option on a machine running on windows 7 professional. The download worked Ok except for saga ...
1
vote
1answer
216 views

Remove white background in Raster in QGIS

I'm sure this is a very simple task, I have a black and white basemap and i would like to remove the white from it in the latest version QGIS. There are setting in layer properties and bands etc, ...
1
vote
0answers
50 views

Detecting geometry change between two line layers in QGIS

Looking to find a method of simply detecting if the geometry between two layers (line) has been altered. I have two layers of the exact same features but I suspect there is a difference in some of ...
5
votes
1answer
690 views

Calculate population within radius

I have population data matched with polygons and a set of points that I have drawn buffers around. Assuming that the population within each geographical area, i.e. the polygons, is evenly distributed, ...
2
votes
0answers
57 views

QGIS one-to-many labels

The one-to-many relations in QGIS is OK with forms, works great. But how to labels or chart data with this one-to-many relations? Martin
2
votes
1answer
263 views

How to enable the snapping options for vector layer using the python programming?

I want to enable the snapping options for the the existing layers using python programming. How can I do this?
0
votes
1answer
537 views

How to position the Qwidget form/QDialogBox in the left corner using python programming

1) I am creating a Qwidget Form or QDialogBox using QT Designer. I am using the following code to move the form: sDialog.move(50,450) But i want to fit the dialogBox to fit in the left corner.How ...
1
vote
1answer
224 views

Topographic correction (for landuse analysis) with ArcMap 10 or QGIS

I've been searching a tutorial to do topographic correction using ArcMap 10.2 or QGIS for days, unfortunately I can't find a good one that can explain the work (like which toolbox should I use). so ...
2
votes
1answer
151 views

How to measure an irregular road line in QGIS?

I'm trying to measure the distance between some coordinate points along a road line from an OpenStreetMap source map, I am using QGIS 2.4.0. My problem is to find a way to measure these distances ...
0
votes
1answer
45 views

How to join two plugins in QGIS?

I have created two different plugins in QGIS using python. I would like to combine both in one plugin. How can I do that?
4
votes
2answers
590 views

Adding a vector layer at QGIS start

I have added a shape file in QGIS using Python plugin. I want to add this shape file when QGIS is loading so i have to add code in the initgui() method. I have used following code in the initgui() ...
2
votes
1answer
263 views

map flood inundation risk QGIS

I am using RADAR data to create a map of biomass estimates. I want to mask out all land susceptible to flooding because water-logged soils affect the backscatter ...and will have an impact on ...