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

learn more… | top users | synonyms

1
vote
0answers
68 views

QGIS dissolve by attribute and retain primary polygon attributes

I have a parcel shapefile. Many of the parcels have been combined over time, but the shapefile still represents the original parcel boundaries. The attribute table has a field for the original parcel ...
1
vote
1answer
358 views

Loading GeoServer WMS raster layer in QGIS Python console

I am using the following snippet to load a raster layer deployed under wms service using geoserver, in qgis python console. I am getting False output. Any idea? registry = QgsMapLayerRegistry....
1
vote
0answers
242 views

PyQGIS Standalone Crashes python.exe when zooming out too far / Process finished with exit code -1073741819 (0xC0000005)

I have the following PyQGIS Standalone App which is working fine so far. One little problem is that if I zoom out to the MaxExtent(by scrolling the mousewheel) the app crashes python.exe so that the ...
2
votes
1answer
151 views

Error: Algorithm not found (QGIS)

I wrote the following code using QGIS'API. import os from qgis.core import * import qgis.utils prefix_path = os.environ['QGIS_PREFIX_PATH'] QgsApplication.setPrefixPath(prefix_path, True) ...
2
votes
2answers
512 views

Easy Custom Labeling tool: How do I remove label arrows?

I am labeling a lot of features and the Easy Custom Labeling tool is helping me to move every label to the desired position. I also like that the tool adds arrows for labels that I moved but sometimes ...
2
votes
0answers
51 views

Can you load WFS uncached in QGIS

I think this might be a bug, but we've just installed QGIS 2.10 and the WFS seems to be working strangely. When you load a WFS which is not cached the system loads all the visible features as expected....
1
vote
1answer
44 views

gsb projection file for qgis under MAC OSX

I'm trying to create a new projection inside wgis. The projection includes a gsb file. With the Windows OS is easy to implemnet that: you just need to place the gsb file inside the C:\Programs\Qgis[...
2
votes
1answer
76 views

How to add a message bar to custom canvas?

There is a simple code to add message bar to main window in QGIS: iface.messageBar().pushMessage("Hello","World") My question is how to add bar to my custom canvas canvas = QgsMapCanvas() in ...
2
votes
0answers
52 views

Remove multiple fields from multiple shapefiles using a python script [duplicate]

I'm using the python console of QGIS 2.8.1-Wien. I have a shapefile with many fields in the table that I want to remove them. I tried to use this geoalgoritm as: processing.runalg('qgis:deletecolumn',...
1
vote
0answers
505 views

import qgis.core problem with QgsFeature and QgsGeometry ImportError: DLL load failed: The specified procedure could not be found

I've tried several previous answers to similar questions - no luck. I've tried everything, nothing seems to work. This is the error I'm getting Traceback (most recent call last): File "D:\Projects\...
1
vote
0answers
41 views

Qgis Time manager raster error

I would like to give a shot to the Time manager in Qgis with some raster datasets. I load 2 rasters (both single band, 32bit float). I add the first one in the Time Manager window with the start ...
1
vote
1answer
130 views

How to measure the distance between multiple points and multiple polygons?

I'm trying to find a quick and accuarate way to measure the distance between 3 survey sites and all the designated sites within 10km. The survey sites are on a point vector layer and the designated ...
2
votes
1answer
44 views

QGIS Heatmap values change when imported into ArcMap?

I am creating a heatmap layer from QGIS and importing the TIFF into ArcMap. When I import the file into ArcMap I notice that values are different. For example the max value in QGIS is 8.92454, but ...
0
votes
1answer
175 views

Semi Automated Classification plugin (QGIS) error when trying to create ROI

When I try to create a new ROI through Semi-Automated Classification plugin (SCP) for QGIS, I keep getting a message saying: "It appears that SciPy is not correctly installed. Please, see this page ...
2
votes
1answer
139 views

How to remove las2dem streaks from raster DEM?

I've created a series of DEM files using the las2dem tool from LAStools; however since I don't have a licensed version they have black streaks running across them. Does anyone know a good method for ...
-1
votes
1answer
55 views

Update Column in QGIS

I would like to update columns in QGIS something like making MAPINFO . Contains , is Within, intersects ) and get values ​​such as sum, avg, propsum , count Is it possible to do this with any tool in ...
1
vote
1answer
92 views

Normalized Difference Built Up Indice with a threshold value in QGIS modeler

I want to use the modeler in QGIS, model the NDBI with a threshold value in order to produce a binary image. positive values = 1 and negative values = 0 my question is about which tool I can use in ...
3
votes
1answer
186 views

Overlay Analysis in QGIS (or Preferably Python)

I would like to perform an overlay analysis in Python or QGIS to output a list of each shapefile that falls within certain boundaries. I have unsuccessfully tried to use the Spatial Join, Intersect, ...
1
vote
1answer
64 views

Interpolation extent

the following pics will hopefully explain my problem. After interpolation an clipping the grid I get the result you can see on the pic. Next to the boundaries there are a lot of gaps caused by the ...
1
vote
1answer
121 views

How to merge two lines of polygons?

In QGIS 2.6.1, I have merged two polygon shapefiles. After the merge I am facing a problem at boundaries. So I thought of changing Polygon -> lines, manually deleting one of the lines at the ...
1
vote
1answer
33 views

How to show objects inside an area?

I have two different shape: point shape file with many elements area shape file with many regions I need to create a rule where I need to colur differently the points in some areas, but the areas ...
1
vote
1answer
432 views

Is there a way to set the character encoding for all layers at once?

I have to set the character encoding forall layers from system to UTF-8. Is there a way to change this in all loaded layers at once? I'm using QGIS 2.8.1 on Windows 7.
2
votes
2answers
73 views

Problem when opening a raster layer

I am a news user with QGIS API C++. In order to feel good with it I try some little program to explore class. I have download the tutorial 4 of the QGIS and adapted it to the 2.8 version but when I ...
1
vote
2answers
121 views

How to use r.mapcalculator to change values within a raster cost map to negative

I have created a cost map in r.cost module in GRASS (through QGIS). This is actually a distance map from a protected area and distance from protected area has been calculated in both directions. How I ...
1
vote
1answer
466 views

How can i fix the dock widget to the the Qgis window using python

I am creating a dock widget for my plugin and i want my widget to be fixed to the Qgis window. How can i do that using python programming?
2
votes
1answer
166 views

How to get programmatically selected layers from the QGIS legend?

My QGIS plugin exports all layers from QGIS to KML format. Now I'd like to export only selected layers. However, I can't find any hints in QGIS API. Is it possible to iterate over selected layers in ...
0
votes
0answers
15 views

How to import or reproject SRTM 30 sec DEM [duplicate]

I downloaded the global SRTM DEM from here. When I add the DEM as a raster layer (in my case topo30.grs file) the left/western edge of the file is at Greenwich and the right/eastern edge is at +360 ...
2
votes
1answer
406 views

PyQGIS standalone script does not work. Error “QGraphicsScene::addItem: item has already been added to this scene”

I try to test a PyQGIS standalone script which should just show one Shapefile. Sounds pretty simple but does not work. Here is my script: from PyQt4 import * from PyQt4 import * from PyQt4.QtCore ...
1
vote
2answers
608 views

QGIS2Leaf help when trying to export

So when I try to export to leaflet I get this Error and I dont know how to fix it....I went in to QGIS2LEAF export and imorted all my layers and selected OSM basemap and clicked Full screen, selected ...
1
vote
0answers
93 views

Loading .shp file into QGIS gives error message

When I add vector layer I select the .shp file and nothing happens When I add vector layer and I select the folder it gives error message "not a valid or recognized data source" The pop up box queries ...
3
votes
1answer
402 views

Put png map image as a background to draw upon

I have an image of a fiber optics network map: I want to turn this map image (without any actual GIS data) into a vector map where each point is defined by lat, long. To do this, I'm trying to ...
1
vote
0answers
49 views

Lines > Polygon artifacts

I am trying to make polygons from a set of boundaries from an SVG file with closed polylines I downloaded off wikipedia. 1) convert SVG to DXF via Inkscape 2) import into QGIS (shows polyline data) ...
0
votes
0answers
103 views

NDVI from raster to vector isnt working

I have question...can I make from raster img. vector file via qgis? Because Ive tried it on NDVI image and Ive only got one file with atribut table full of #null. Image is from landsat7... float(...
2
votes
1answer
139 views

“Browse” button returns python error in QGIS

I use the latest version of QGIS (2.8.2) in MAC and have se the default Python version 2.7. Moreover, I have installed all the required python modules and GDAL. It was working before, but now, when I ...
1
vote
2answers
93 views

Is it possible to export layers scale-based visibility to a webmap?

Is it possible to make or convert a QGIS map into an interactive webpage map? For example, I have layers that appear at certain zoom levels, is there a way to have that interaction on the map for HTML/...
2
votes
0answers
73 views

Placing road labels only at map edges and road intersections in QGIS

I want to place road labels only near the map edges, and where roads intersect - as depicted by the red X's in the image. Background: I've seen the military do that in their topo maps, and I think ...
2
votes
0answers
24 views

Help Needed with QGIS Vector->Geoprocessing Tools->Difference [duplicate]

I'm trying to use the Vector Geo processing Difference Tool in QGIS to "take a bite" out of one polygon using another in another layer. The tool menu Difference icon is exactly what I'm trying to do - ...
0
votes
1answer
69 views

Create ID for each string attribute in QGIS

I'm trying to rasterize a vector layer by using an attribute filed stored as string, I got the confirmation through the GDAL mailinglist serv that gdal_rasterize does not work with string field. So my ...
2
votes
2answers
100 views

Where to get QGIS toolbar icons?

Does anybody know where to download the QGIS toolbar icons?
1
vote
1answer
70 views

How can I overlay city and borough names in QGIS with political boundaries?

This post is related to this one. The following images are from @Weinfried's answer. I was able to get the ITA_adm0.kmz, ITA_adm1.kmz, ITA_adm2.kmz, but not ITA_adm3.kmz, which for some reason does ...
1
vote
1answer
34 views

QGIS Coverage help

I am using QGIS 2.8.2 and everytime I try to load in a coverage type Shapefile, like forest density or population density it all comes up as the same color, but has the sections marked for the density/...
0
votes
1answer
143 views

Generating elevation 'database' from NED IMG data

I'm starting to work with the NED 1/3 and 1/9 arc-second data. I've been using gdal in Python and QGIS to do some basic conversions of the raw .IMG data from USGS. My goal is to get elevation data of ...
1
vote
0answers
68 views

How can I render heatmap contours from QGIS into tiles?

I have a heatmap and contours in QGIS, and I want to export these heatmaps as tiles. This works well with tiff, but I want to include contours into images, to make them look better. In QGIS, I can ...
1
vote
0answers
24 views

Loading Batch Parameters in QGIS [closed]

I usually work my batches in Excel and then copy/paste it into ArcGIS batch UI. Is it possible to do the same in QGIS? The tutorials I've seen show how to fill the interface line by line, only. I'm ...
1
vote
1answer
114 views

Adding the map canvas center to a composer label in QGIS

I am able to access the map canvas center in the python console in QGIS using qgis.utils.iface.mapCanvas().center() What I would like to do is get this into a map composer label. Is this possible?...
1
vote
1answer
527 views

Calculating Area of Intersecting Polygons and Buffers

SO, in QGIS I have several points with 1km buffers around them; some of the buffers overlap. Within the buffers are a number of ponds, which I have a shapefile for. I want to calculate the area of ...
4
votes
2answers
211 views

QGIS create a line graph with attributes value on a section through the map

I wonder if I can make cross sections of GIS data (other than height). An example: I have a shapefile of a city with building plots and attribute values of the plot size. I want to choose a random ...
1
vote
0answers
26 views

Shifted point in pdf export on QGIS [duplicate]

When I print as PDF a work done with a shape point and OpenLayer plugin I notice that the point are shifted In the dual screen image you can see the pdf exported image (left) and the QGIS woriking ...
1
vote
0answers
82 views

cannot load moule sip qgis 2.8.2

i have an error when i launch the qgis 2.8.2 it says that the module sip cannot be load python 2.7 has been installed i am under ubuntu 14 please if you have any idea here is the message (in french ...
3
votes
1answer
58 views

PostGIS - interfacing with CADCORP 7.1 and QGIS - user 'postgres' can import, but no other roles can

I'm new to PostGIS (reasonably) - but I'm plagued with one on-going problem: I'm able to access PostGIS from various GIS systems using the main 'postgres' user. Using a newly created user 'gis_viewer'...