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

learn more… | top users | synonyms (1)

2
votes
1answer
76 views

How to set QGIS options in standalone pyqgis application

I have a standalone application which uses the QGS api to view and query map layers. One layer is a WMS-C layer which automatically caches tiles which is great. I want to also activate a setting which ...
3
votes
0answers
63 views

access point layer representation in qgis with pyqgis

I am exporting the style of a categorized point layer with qgis: unfortunately my code only extract the size of the symbol in the definition of the properties of the layer but not the ...
4
votes
3answers
3k views

How to export polygon coordinates to CSV (not WKT)?

I am new to QGIS, and I am now trying to export polygon coordinates from a shape file to a csv file, but so far all my attempts have failed. I have found numerous questions and answers about this, but ...
3
votes
0answers
231 views

How to export data from sql server into shapefile in the decimal format in QGIS 2.4?

The last couple of days, I have been working on exporting data from SQL to a shapefile in QGIS 2.4. While converting into a shapefile, the data type changes automatically from Float to Integer in the ...
3
votes
1answer
300 views

How can units be defined in QGIS for the Rasterize tool?

I am using QGIS 2.4 (Chugiak) via the kyngchaos build for OS-X. My question is--when using the Rasterize tool to convert a point vector layer to a raster and using the "Raster resolution in map units ...
2
votes
1answer
120 views

How to add dashed line in QGIS print composer

I want to display two maps in the print composer: a main one, and another showing a zoomed in section of the main map. I've drawn a rectangle over the original region and want to add two dashed lines ...
3
votes
1answer
112 views

How to find and replace a singe word in a string?

How do i find and replace a single word of a string? e.g. Calle Iparraguirre to Iparraguirre I've tried: replace( 'Calle\\s', 'Calle\\s', '') replace( "name",'calle','') and all combinations ...
1
vote
1answer
123 views

Coordinate System changes after reprojection

I have changed the projections of some Natural Earth Shapefile to "WGS 84/Pseduo Mercator", that works fine (after cutting out the artic), but now the co ordinates of the shapefile are all out of ...
1
vote
0answers
60 views

How to set a defined distance between nodes to digitize in qgis?

Using QGIS (by now I have the 2.4 version) I would like to set some parameter (I don't know if such exists) that would impose a definite or maximal distance between nodes when digitizing a polyline or ...
1
vote
1answer
158 views

PyQgis Message Bar Woes [closed]

Having a bit of trouble with the basics of getting the (awesomely discreet) new user prompt/warning to properly display. Here is the (troubled) code I am using: self.iface ... ...
1
vote
1answer
336 views

“Data source not valid” problems with QGIS processing

I'm having a lot of problems with QGIS processor. Most of the algorithms show me this QGIS log error: La fuente de datos no es válida. (Data source not valid) This happens with SAGA and GRASS ...
1
vote
1answer
352 views

PyQGis - Working with Spatialite

I wrote a Vector layer to a spatialite file/db using the dedicated API tool, using valid driver names supported formats by OGR. When connecting to that db, I can't retrieve properly the geometry ...
2
votes
0answers
36 views

Is it possible to drag&drop line precisely 6 meters to right or left?

I use Quantum GIS 2.2.0 Valmiera I have a polyline layer. I can drag&drop polyline nodes by using "Node Tool". Is it possible to drag&drop line precisely 6 meters to right or left?
0
votes
0answers
35 views

Adding attributes to a hexagonal grid generated with MMQGIS

I generated a hexagonal grid with MMQGIS, and I need to add some attributes to each hexagon. Is there a convenient way to do this or I have to work with the dbf file? In that case, what is the meanign ...
2
votes
1answer
89 views

A way to transform by special epsg-code

In my country, we have a special epsg-code for transformation (#4649). In the definition ...
1
vote
1answer
103 views

Shapefile not projecting correctly [duplicate]

I am still new to this, so I apologise if I don't make a lot of sense! I am using QGIS 2.4.0 Chugiak. I am working on a project set to the GDA94/MGA Zone 50 coordinate system with 'on the fly ...
3
votes
1answer
185 views

Where can I find information about the development history of QGIS?

I know very little about early versions of QGIS (far far away from now..) and i'm feeling curious :-) I am looking for various information about the past of QGIS, including: Do you know in what ...
1
vote
0answers
170 views

Way to split and create buffer space between polygons in QGIS or ArcMap

After performing a feature extraction of rooftops, some of my buildings have been joined together as one polygon. I want to split these large polygons so that each new division is only covering one ...
3
votes
0answers
45 views

Looking for a QGIS solution to make aerial imagery ArcSDE compatiable

Would like to avoid having to use 3d Analyst and use free raster tools in QGIS or elsewhere to make aerial rasters ArcSDE compatible. This 18 page work flow is what I am trying to use. Any suggestions ...
1
vote
0answers
33 views

Vector Layer Symbol (ism) properties?

I would like to streamline the render of a polygon grid vector layer as a simple line (no fill) via Python coding. I am I bit confused by the implementation referenced by the API. Is it possible to ...
1
vote
1answer
56 views

How to test for multiple map items in Composer using python?

I am building a QGIS plugin and I need to check for multiple maps items in Composer that works on all platforms. Currently I am getting the first map in the composition using the code below, but ...
3
votes
1answer
330 views

Benchmarking QGIS and ArcGIS for Desktop speed for “significant buffer on very large shapefiles”?

I am a newcomer to the world of GIS. I realized that QGIS was relatively similar to ArcGIS for Desktop. I would like to know if the two programs are comparable in terms of computational speed. For ...
5
votes
1answer
180 views

QGIS 2.2 - possible to do a JOINS from the Action list?

I have a set of layers that need to be joined (Layer Properties > Joins) to one specific layer. The reason for this is that I will be updating and adding new layers into my project and would like a ...
4
votes
2answers
148 views

Is it possible to decrease detail level (decrease file size) in Spatialite OSM export?

I currently use Spatialite exports from OSM data (together with Google maps like styles by Underdark) which are very useful for me as the files are easily portable with the project and I do not need ...
3
votes
2answers
738 views

How to set the Identify Feature tool in QGIS 2.4?

The Identify Results window does not appear when using the identify feature tool in QGIS 2.4. I guess there's a check box somewhere I need to check/uncheck, but the settings of the tool changed ...
1
vote
0answers
140 views

How to export data from sql database in the decimal format in QGIS?

Currently I am working with QGIS and fetching data from SQL server and export it in the format of shapefile in QGIS. While importing the data from sql server attribute table showing data with ...
1
vote
0answers
52 views

Compiling QGIS for Slackware (Slak 14)?

I use a Slak 14 box and tried to install QGIS on it. the compile process goes on for 30 minutes or so (dual Xeon 3.2 ghz) and then I get the errors below. Says the compiler doesn't work. Have had no ...
1
vote
0answers
142 views

How to make crs transformation of a QgsVectorLayer?

I need to transform QgsVectorLayers in python from one crs into another crs. By googling I found the following solution ...
4
votes
3answers
155 views

How to count polygons in multipart features?

I'm trying to count the number of polygons in a multipart feature. My aim is to have a 'count' attribute to quantify fragmentation of multipart land parcels. I've looked at the field calculator and ...
1
vote
1answer
70 views

How to automatically connect point [closed]

I have to draw all the rows connecting the 2 edges with a line. It's not so hard to it manually, but it takes a lot of time. Is there a way to connect the two edges of the rows automatically? For ...
3
votes
1answer
51 views

Why is the SelectionChanged signal triggered every time i click on the layer?

i'm making some experiments with the SelectionChanged signal of a QgsVectorLayer. i try this piece of code : curLayer.selectionChanged.connect(self.test) and "test" print a warning message. The ...
1
vote
0answers
57 views

How to programmatically interrupt QGIS initialization and startup

I'm wondering how to interrupt the initialization of QGIS 2.0 on Windows XP before start up. I've put a dialog in one of my plugins that shows up on start up. However, I'd like to make a quit button ...
2
votes
0answers
113 views

Saving/Loading QGIS style .qml and avoid specified symbology

Is it possible to save QGIS styles without the symbology style? This may seem like a strange question, but I am trying to automatically set the ValueMap widget under layer properties via a plugin for ...
1
vote
2answers
65 views

How to calculate regrowth area?

Thanks to Best Landsat-5 TM band combination for detecting fire scars I am able to calculate burnt area in an absolute way (Normalized Burn Ratio). Does a ratio or delta operation exist to calculate ...
1
vote
0answers
107 views

How to compute the ls factor equation for USLE model in qgis grass r.mapcalc

To compute the LS factor for the USLE model, the following equation easily works in ArcGIS. How can I perform the same in QGIS under GRASS r.mapcalc? LSfator = Power (("flowaccNW") * ...
2
votes
1answer
115 views

Add XY Column in QGIS [duplicate]

Following on from a previous question of mine, where I was given coords in degree-mins, I have successfully converted them to decimal degrees, thanks for the help. I have created a CSV file from ...
1
vote
1answer
192 views

Does the experimental QGIS2leaf plugin not work on mac OS?

I am trying to get the experimental QGIS2leaf (Leaflet web maps) plugin to work on my macbook air (2012, Mavericks OS), but when I open the outputted index.html file, no interactive image shows up in ...
3
votes
2answers
252 views

How to delete column/field in PyQGIS?

How to remove or delete column fields in a shape file using python?
4
votes
1answer
165 views

Pulling CSV file directly from website into QGIS?

I want to be able to automatically update my csv files in a QGIS project. My organization has an online database that can easily export csv files. These csv files are constantly updated with new ...
0
votes
1answer
177 views

How to perform an attribute-weighted sum of multiple polyline features from a single vector layer?

I have a shapefile of ~8000 polyline vector features representing traffic journeys on road routes. Each has an attribute representing volume of traffic for that journey. The routes are all generated ...
1
vote
1answer
92 views

QGIS Filters and Queries

In QGIS is there a way to filter a layer using the Query Builder to show all values which include a particular phrase. For example I have a list of organisations and I want to filter all those which ...
2
votes
0answers
68 views

Lat Long to Useable values in QGIS

I am using both QGIS 1.8 and 2.0. So either is helpful. A client has given me locations of trial pits but i cannot load them into QGIS no matter how hard i try. For example, 50°24.711 North ...
1
vote
1answer
106 views

Apply new style to selected features in QGis

Let's assume that I have selected some features in QGis. Now all the features in that vector layer already has some style applied to it. Now, I want to apply some new style to the selected features. ...
3
votes
1answer
42 views

How to select more than one feature using values?

What should I do if I want to select more than one feature using values ? For selecting a single feature, I enter an expression like this which works: "LINK" = 28 Assume LINK as a field in the ...
1
vote
1answer
152 views

How to increase the resolution of a 3D image in QGIS GRASS NVIZ

I'm trying to display 3D data in NVIZ within QGIS, but the result appears very low resolution in comparison to the same data in ArcScene. Any ideas as to how to improve the quality would be greatly ...
0
votes
0answers
243 views

How to convert data type from float to integer in QGIS?

Currently I am working on importing data from MSSQL to Qgis 2.4. In imported database table attributes are shown in the format of integer ( in attribute table it showing like 48.23 and 16.20 in ...
2
votes
0answers
125 views

Is it possible to change the default raster style of newly created rasters in QGIS?

If I do calculations on rasters with the raster calculator or other tools, the resulting rasters displayed in my canvas are always in the same default style (singleband gray, black to white...) so ...
1
vote
1answer
70 views

PyQGIS: feature added signal throws an error message

For my PyQGIS plugin 2.2, I try to: def logFeatureAdded(self,layerId,addfeatures): message = str(layerId) + " has features added: " for feature in addedFeatures: message += str( ...
2
votes
0answers
65 views

How to add a TIF raster layer programmatically?

This is my code whenever i try to load .tif image it shows layer is not valid,QgsRasterLayer always return invalid layer (I am using linux 12.04). QString myFileName = ...
2
votes
0answers
130 views

How to group a multiple rasters in MapServer?

I had a map files for each state (raster file) of India. Now I want group all mapfiles to show a single raster or single map file? How I can do in using qgis or any platform?.