Version 2.0 of QGIS (previously Quantum GIS)

learn more… | top users | synonyms

2
votes
1answer
37 views

Get the same coordinates for points after downloading a .osm file

I downloaded a .kml file that contains bike stations which I know the coordinates (latitude and longitude). So I got a layer that contains points corresponding to the stations. Then I downloaded the ...
3
votes
0answers
42 views

Postgis sequence in QGIS not working

I have a Multipolygon-Layer stored in a Postgis-database. The primary key field 'gid' is SERIAL. When trying to add a new polygon in QGis (LYON 2.12.1 on OSX El Capitan), the attributes form shows me: ...
1
vote
0answers
16 views

Colliding labels for point features in QGIS

I have a layer (point features) containing various points of interest (POIs), some of them have the exact same location. I would like to map these POIs and add a label showing their names. However, ...
2
votes
1answer
38 views

Creating polygon regions with latitude and longitude values in qgis?

I've a set of places with their latitudes and longitudes, I've plotted them on QGIS but what I want is to create polygon from these points so that each point refers to a particular region around it. ...
3
votes
1answer
29 views

Convert 0's to NoData in QGIS Raster Calculator [duplicate]

What is the easiest way to convert cells with a value of 0 to NoData in QGIS Raster Calculator?
4
votes
1answer
64 views

QGIS Finding valves to turn off for water lines

I am wondering if there is a tool for QGIS that can do what I am about to describe. It might be in network analysis but I am not sure. I have used water gems but it does not do what I want it to do. ...
1
vote
3answers
61 views

Area units for output polygon in WGS 84 UTM Zone 32N using QGIS

I am calculating the area of my polygon and I have used WGS 84 UTM zone 32N to calculate the area (using geometry on the field calculator) of my polygon, and I obtained 745461 (without units). How ...
1
vote
1answer
16 views

Is there more than one option to change QGIS' temporary folder?

I have tried changing the TEMP folder of QGIS following this post,and although it wasnt required, I restarted the system after making the change, but still got no result (printscreen below). Is there ...
2
votes
1answer
59 views

QGIS processing toolbox: fieldcalculator - update only selected features is not possible

I am working on a model where I need some calculations on only some selected features. In the normal fieldcalculator you can check 'only update ... selected features'. When using the fieldcalculator ...
3
votes
1answer
44 views

Rotate symbols perpendicular to line angle (QGIS)

I have lines representing curving streams and want to angle symbols at various points on the streams so that they are perpendicular to the angle in their particular locations. What QGIS seems to do ...
4
votes
2answers
82 views

Easier calculation of a surface using QGIS

I'm looking for an easier way to calculate the surface on QGIS: My project CRS is in Lambert93. Currently, when I'm calculating a surface using QGIS, when the surface seems wrong, I always have to: ...
3
votes
2answers
67 views

Is it possible to style the QGIS Message Bar using QSS?

I'm developing a GUI theme for QGIS 2.12 using QSS (QSS is very similar to CSS, but for styling Qt widgets). This is new functionality introduced in 2.12 Pisa. So far, results have been encouraging! ...
4
votes
1answer
31 views

Trouble saving graduated color style in Spatialite db in QGIS

When I attempt to save a style with graduated colors for a vector layer in a Spatialite db, I receive the following error: Error looking for style. The query was logged I had success saving ...
1
vote
0answers
42 views

How can i set layer polygon in center in QGIS using python?

I am trying to set a fixed zoom level whenever I layer is shifting on different polygon. I have coordinates for all the polygons , I need each polygon to be on center with certain zoom level so that ...
1
vote
0answers
35 views

Label layout on python in QGIS

Now the only issue is that in image I am not getting the labels, I have on polygon. Please help in that too Please see above attached screenshots here I need labels – I have updated QGIS it's version ...
3
votes
0answers
33 views

Raster calculators in SAGA return incorrect results

Here's a sample of my dataset (one cell) with 28 different raster values, representing 28 individual Float32 rasters with identical parameters. 0.0000264434, 0.0049953502, 0.0007529828, ...
2
votes
1answer
53 views

Conditional statement in gdal_calc with result as float, not boolean

Many examples on gis.se that refer to gdal_calc give a boolean example. example 1 example 2 If I need to calculate a conditional statement on a float: If Raster_Value >= 1024, then 1024; else ...
4
votes
0answers
26 views

Perform QGIS modeler multiple raster calculations with data from external CSV

I need to perform multiple calculations on a set of rasters based on values in a CSV metadata file. I'm using the QGIS graphical modeler and can call a specific field in a CSV with the Table and ...
1
vote
0answers
23 views

netCDF import problem in QGIS (XY issue)

I working with a netCDF file related to precipitation over time in QGIS. When I import the file, QGIS reads the data indicating y-coordinate, instead of timestep, as the dynamic dimension to associate ...
1
vote
1answer
29 views

How to change and display the plugins icon in the menu in QGIS

I want to add multiple icons in the same file to display the plugins icons in the menu. def initGui(self): action = self.add_action( ':/plugins/Example/icons\icon1.png', ...
1
vote
2answers
49 views

Convert Points to Polygons in QGIS

Is it possible to convert Points into Polygons in QGIS 2.10 Pisa? I just want to create a 1x1m Polygon based on the centroid of each Point. I tried Vector > Geometry Tools > Voronoi Polygons but that ...
1
vote
1answer
46 views

Loading and rendering shapefile in PyQGIS?

I wanted to know how qgis reads shapefile. Like i have choose any shapefile from qgis dialog then what are the steps that qgis take to read and render this shapefile data. Wrather it reads full ...
0
votes
0answers
32 views

CMYK colors in QGIS [duplicate]

Is it possible to deal with CMYK colors in QGIS (or in a QGIS plugin) ? It would be a good thing to choose directly the colors in CMYK and generate PDF with CMYK colors for the publishing compagnies. ...
1
vote
1answer
30 views

QGIS points filter

I'd like to use the points filter tool in the QGIS processing toolbox to remove errant gps points from data i'm looking at. I've had limited success playing with it and I was hoping someone who is ...
1
vote
1answer
36 views

Editing values in attribute table column

I have an attribute table with 5,000 records in QGIS. From this I have selected a subsection of 200 records whose attributes I need to modify. In the column called 'NAME' I would like to replace the ...
0
votes
1answer
34 views

QgisMap renderer Design Methodology

I wanted to know what drawing methodology is used by qgis renderer like gdi,gdi++ or opengl. I have searched its documentation http://qgis.org/api/classQgsMapRendererJob.html ...
0
votes
1answer
21 views

Converting between CRS in degrees to meters in Qgis 2.10.1

I am trying to get the area of my region in in square meters. I am actually on WGS 84 EPSG:4326 and when I switch the CRS, I can only find WGS 84/UTM which returns the same answer. Is my answer ...
0
votes
0answers
19 views

How to Query the WFS layer with points(coordinates from mouse click) to get the xml data in QGIS using python

I am using the following syntax to load the WFS layer: uri = "link to download the WFS layer" layer = QgsVectorLayer(uri, "WFS_Layer", "WFS") QgsMapLayerRegistry.instance().addMapLayer(layer) But i ...
3
votes
1answer
35 views

Initialising QgsFeature with predefined field names using PyQGIS?

I need to create function that assembles QgsFeature from scratch: takes id, dictionary of attributes, and geometry as input. The issue is that feature that is being created doesn't belong to any layer ...
1
vote
0answers
24 views

Store .shp to MySQL database with QGIS

I'm using QGIS 2.10 (Pisa) and I can´t store spatial information on my MySQL database (.shp or geojson). In previous versions that was allowed. It's not supported anymore or there are any plugins or ...
1
vote
1answer
69 views

Workarounds for heatmap plugin in QGIS?

In QGIS 2.8, the heatmap plugin got CRS broken. I updated to 2.10, now in the plugin the dialog is broken: it does not let you choose the format. I render layers for atlases with heatmap style. But I ...
0
votes
0answers
22 views

Cannot change an SRTM raster rendering with single band pseudocolour [duplicate]

I'm trying to colorize a SRTM raster in QGIS 2.10 following a tutorial found on the Ireland QGIS User Group Blog. My problem is that when I try to set the render type as single band pseudocolour in ...
1
vote
0answers
21 views

Export 3D data dxf file problems with elevation value

I have the problem that i can´t export a shp file into DXF and include the eleveation value I make all the procedure explane on "export 3D data dxf file 4" but each time I have the folow error: ...
1
vote
1answer
28 views

QGIS Labeling OSM items depending on scale

I'm working with OSM data in QGIS 2.10 (Ubuntu). I'd like to label items depending on scale. What I mean to do is to have only labels of "primary" roads from a scale of 1:80.000 down to 1:50:000 all ...
2
votes
0answers
34 views

How can I see the 'Custom Options' metadata following Save As in QGIS?

In QGIS 2.10 Pisa, I've right-clicked a layer in the TOC and used Saved As ... to save a shapefile with a new name. During this process, I used the Custom Options (Data Source and Layer) to include ...
1
vote
0answers
32 views

How can I get OSM data in QGIS in a way that shows the nodes of roads intersecting as it would in JOSM?

By using OSM data in QGIS, how can I show the nodes that are at the intersection of two roads? This is useful, because how will I know by just looking at the downloaded data from OSM into QGIS that ...
2
votes
1answer
77 views

How can a get OSM data in QGIS in a way that shows the direction of a road as it would in JOSM?

I am trying to download OSM data into QGIS in a way that is as close as possible to what it looks like in JOSM. I am doing a visual comparison between OSM data and satellite images. One of the things ...
0
votes
0answers
17 views

How to convert a .style arcgis file to use it in Qgis? [duplicate]

I have a .style file in Arcgis i want to change it to a file to use it in Qgis how to do that ?
1
vote
1answer
56 views

How to update the attribute table in layer from dictionaries using python

I have dictionary with the values: dict = {0L: {'val1': 60, 'val2': 199, 'val3': 7.719},1L: {'val1': 60, 'val2': 199, 'val3': 7.719}} I want to update these values in the attribute table of a ...
2
votes
0answers
46 views

How to copy elements and attributes?

I need to copy many elements (and their attributes) from a shape file and paste to another one. If I use copy/paste functions it paste only the polygons but not the attributes, How can I solve it?
1
vote
1answer
39 views

No export dialog on QGIS 2.8 and 2.10 with Mac OS X Yosemite?

I'm trying to work out the map making tutorial here: http://www.qgistutorials.com/en/docs/making_a_map.html When I try to export an image or pdf or even print the map I built in the composer, I ...
1
vote
0answers
57 views

How to refresh or update a vrt layer in Qgis?

When using the QGIS SpreadSheet Layers plugin, how do I update the SQLite query without closing and reopening QGIS? I cannot see a "watch file" equivalent. The plugin creates and uses a *.vrt file ...
2
votes
1answer
149 views

Remove inner rings from QgsGeometry polygon in QGIS Python

I am a QGIS python user. I want to iterate over the rings of a polygon to remove holes in the polygon, so: I need to iterate over the rings in a QgsGeometry polygon I need to detect the main ring ...
5
votes
2answers
296 views

QGIS Filtering Multiple Values using Query Builder

I am a complete beginner in QGIS, so I'm sorry if I don't use the right terminology. In the "Query Builder" I can currently filter on value from the "Values List", but I'd like to be able to filter ...
0
votes
1answer
75 views

How to do segmentation of full raster image using OrfeoToolBox

I want to do segmentation of raster image using OTB segmentation(mean-shift). But it is generating the ouput for only selected region or part of the raster image. So if i want to do the segmentation ...
2
votes
1answer
52 views

Reducing data on vector layer in QGIS

I use QGIS for GIS. Lately I had just too many points appearing on my vector layer and I will want to reduce them (100 for a given scale : min-1 and max 9000). With labels it works quite well but how ...
1
vote
2answers
145 views

Project file read error: Unexpected end of file at line 9957 column 1

On reading the answers from a similar question earlier i still cannot retrieve my project. I last used this project in June and obviously something went wrong when saving or creating the new layer ...
0
votes
0answers
44 views

GIS route creation from street names

I have a list of streets comprising 300+ routes. Each route (in text) lists 4-5 street names where the route should take place. I would like to create each route, that is, plot the street names and ...
3
votes
2answers
132 views

QGIS: Creating Circles Around Points Imported from a Excel File (Lat, Long)

I am new to the QGIS platform and have been experimenting with the tool. I currently have a Basemap layer and a Shapefile layer on top of it. Now, I want to import a .csv file containing (lat, ...
2
votes
1answer
68 views

How to get the polygon vs. Polygon Intersection Coordinates using python

I want to find the intersection coordinates between two polygons. aLayer = canvas.currentLayer() selection = aLayer.selectedFeatures() for geom1,geom2 in itertools.permutations(selection,r=2): ...