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

learn more… | top users | synonyms (1)

1
vote
1answer
346 views

How to handle “illegal data type (Float64)” error when trying to convert .tif to .bil?

Each time I try to convert (in QGIS 2.2) an elevation model from .tif to .bil format a get this error: ERROR 1: Attempt to create ESRI .hdr labelled dataset with an illegal data type (Float64). ...
0
votes
1answer
245 views

Issue using Matplotlib in QGIS

I am developing a QGIS-plugin and for graphing I want to use matplotlib, like many other QGIS -plugins. This worked fine under linux, but under windows with QGIS2.4 I am experiencing problems. I ...
0
votes
0answers
45 views

QGIS + python, Attribute index 0 out of bounds [0;0] when adding a feature to a PostGIS layer (view)

I have a plugin which adds features to a particular PostGIS vector layer using the code below feat = QgsFeature() feat.setGeometry(qgsgeometry) layer.dataProvider().addFeatures([feat]) For one user ...
0
votes
1answer
179 views

Point cloud LiDAR

I have been trying to grid a point cloud, version1.2, LiDAR datasets which are intended to be used for hydraulic simulation of flood propagation. Already, I have used Arc* to work on the traditional ...
0
votes
1answer
328 views

Raster and vector layer in the same CRS don't match

While adding multiple raster and vector layers (and setting them all in CRS WGS84) in QGIS 2.2, they don't seem to overlap. Interestingly enough, only raster files overlap between each other, the same ...
1
vote
1answer
175 views

Raster map calculation

I figured out a way to filter a raster by using the r.mapcalculator or the raster calculator. The problem is that I have to use Qgis 2.2 because some of my models doesn't work with 2.4. In 2.2 the ...
0
votes
2answers
255 views

How to update postgis layer from shapefile in QGIS?

My usual workflow with updating layer from shapefile was to: Open DB Manager; Load SHP files into QGIS; Open DB Manager; Import file (with drop option). Now my problem is that I have created ...
1
vote
2answers
329 views

Creating a DEM from CAD contour polylines

Is it at all possible generate a digital elevation model raster from CAD contour polylines with elevations? I am using straight AutoCAD 2014, not Map3D or Civil3D. I was able to bring the dxf of ...
0
votes
1answer
88 views

QGIS to solve projection mystery in Postgresql

I downloaded some data from local agency. Per QGIS 2.2, I defined the projection to 'EPSG:3587 - NAD83(NSRS2007) / Michigan Central' in postgresql (maybe ArcMap). Data is in Postgresql 9.3. I am ...
4
votes
1answer
3k views

Cut polygon shapefile by line shapefile

I have two shapefiles, a polygon shapefile (lake) and a line shapefile (boudary) I want to create a new shapefile "polygon to the north of the boundary" What tool can I use in QGIS or other free ...
2
votes
1answer
84 views

Programmatically setting ui for QGIS via setEditForm()

I've been following this thread in attempts to configure my ui preferences programmatically. I've had no issues with loading styles (which subsequently sets the custom ui if I saved it this way), but ...
0
votes
0answers
86 views

QGIS Reshape Tool

I just downloaded Quantum GIS and have been playing around with the editing features. For some reason, the Reshape Tool is not working for me. The manual said that at the end, you right-click and it ...
0
votes
1answer
205 views

distance difference in Google Earth with exported GPX or KML compared to source shapefile

I've converted a shapefile (points) to KML with QGIS. Points in the shapefile are within 100m distance from each other. When I measure it in Google Earth, the distance changes to 80m. The same ...
3
votes
2answers
230 views

How to bulk print maps using ArcGIS or QGIS?

I have a polygon layer that I would like to print images or PDFs from in bulk as there are a large number of them. Rather than having to manually scroll and print each individual'site' in the print ...
1
vote
1answer
254 views

Translate coordinates in GeoJSON export

I am wondering if there is a way to apply a translation in coordinates for a GeoJSON export. Currently, there are negative coordinate values in my export, which I cannot have. I am trying to use ...
0
votes
0answers
9 views

How to debug a QGis C++ plugin with Visual Studio 2008 [duplicate]

I have a plugin for QGIS 2.2 in C++ (legacy). I dont find how debugging this plugin, with Visual Studio 2008 (for evolution, etc.) Sorry for my bad english. Thanks you ! Paho
2
votes
2answers
414 views

How to set NULL as default value for a date field in QGIS 2.4?

In QGIS 2.4, i am unable to set the default value as NULL if i have not updated any value on date fields. Its automatically taking the current system date. I am expecting to set the default ...
1
vote
1answer
89 views

Help choosing an appropriate GIS solution for the following question [closed]

I am currently researching for an appropriate GIS solution. My requirements are pretty simple: Ability to create circles, symbols or diagrams with transparancy tied to their geographical location ...
1
vote
1answer
94 views

Adding shapefile elevation data to dted

I am a newbie to QGIS. Currently trying to augment a dted raster value file with vector shapefile(polygon) containing height of buildings. Have converted the shapefile into raster via rasterize ...
1
vote
0answers
29 views

svg export not keeping line widths

I just upgraded to 2.4 I have noticed that when I export as an svg, for opening in illustrator, the line/pen/border widths are coming out all different. For example a line width of 0.25 in QGIS is ...
1
vote
1answer
580 views

How to save and load vector layer attribute value map, editable state in .qml style file?

I just upgraded to Qgis 2.4 and there were problems with style file: When I load style file for Qgis <= 2.2, the color of features is right but when I edit them, the value map (value - ...
1
vote
1answer
169 views

Error using 'Join attributes by location' via Python

Trying to run a simple script using qgis:joinbylocation but getting either errors or it's not processing correctly. I don't want to take a summary of the attributes, just the attributes of the first ...
3
votes
0answers
254 views

Why does multi-threaded rendering not use all the CPU potential in QGIS 2.4?

I have just downloaded QGIS 2.4 which is great and ran some tests. I have enabled the multi-threaded rendering but it seems that the program do not use all the potential of my CPU. Attached pic shows ...
0
votes
0answers
64 views

QGIS Init script: How to get active layer and GID of edited object?

I would like to ask, how to get the GID (from Postgresql+Postgis) and active layer of edited object in QGIS Init script (Python)? Code Layer=qgis.utils.iface.activeLayer() works in QGIS console, but ...
1
vote
2answers
88 views

How to use values such as 2014-03-31T15:00:33.000Z in QGIS Time Manager?

I´m trying to use the QGIS Time Manager plugin but I have a problem with my attribute columns. Time Manager supports %Y-%m-%d %H:%M:%S format but my dataset uses the following format in the timestamp ...
0
votes
0answers
123 views

Standalone QGIS application - handling QgsVectorLayer load errors

I am creating an application with QGIS libraries, and in the event that the app can't add a specified layer (e.g. no connection to host, no password specified etc), it causes the app to crash, ...
0
votes
0answers
22 views

Low quality legend in QGIS [duplicate]

I am sorry to repeat a question already asked by someone else, but it has not been answered yet. When I create a map in QGIS the legend symbols for some reasons have a very bad resolution and are not ...
3
votes
1answer
330 views

Calculating the fractal dimension of a line segment

I have a shp file with hundreds of features that represent clipped segments of coastline. Each segment is made up of many vertices (dozens, perhaps even hundreds). (FYI, the segments were created by ...
1
vote
0answers
144 views

makefile generated using QGIS Plugin builder cannot find pyuic4

I have QGIS 2.4 installed using the OSGeo4W installer. I have the bin folder in my path and I can run pyuic4 successfully on the command line using osgeo4w.bat, but when I try to run the makefile ...
0
votes
1answer
305 views

Replacing PyQt4 with PySide with standalone QGIS

I would like to develop an application using the QGIS libraries and PySide instead of PyQt4 due to more flexible licencing, I wonder if this is possible. I downloaded PySide and replaced my ...
1
vote
1answer
483 views

How to install QGIS 2.2 instead of 2.4 to get a working OpenLayers plugin again?

I use ubuntu . I don't know how to return installed qgis 2.2 I try uninstall qgis 2.4 and try find how to install old version qgis 2.2 Please .. tell me how to install old version qgis 2.2 for ubunut ...
0
votes
0answers
25 views

QGIS --> ArcGIS server by WMS? [duplicate]

I have found this post: Quantum GIS ->ArcGIS Server configuration possible? My question is more specific >> Can I publish feature layers to ArcGIS server from QGIS using WMS?
1
vote
1answer
282 views

How to install pgRouting in Ubuntu 14.04?

I want to install pgRouting in Ubuntu 14.04 LTS. I added the respective repository (https://launchpad.net/~georepublic/+archive/pgrouting-unstable?field.series_filter=trusty) but failed to install the ...
2
votes
1answer
363 views

How to install PostGIS Manager and RT Sql Layer plugins in QGIS 2.4?

This might be a rather simple question, but both plugins are not visible in my QGIS menu. I'm running 2.4 on Ubuntu 14.04. Thanks for every piece of advice.
0
votes
0answers
73 views

tilestache wms layer in qgis and open layer rendered layer

I have setup tilestache and styled a map for using mapnik xml and I can call on the url in a web browser, how can I call the url for a wms layer in QGIS or is there a way to view mapnik xml in qgis. I ...
1
vote
1answer
169 views

How to interact with other layers in a QGis Python init function?

I am using QGis and making a Python script that sets the Python Init function to a custom UI file. I have a function with the following signature: def formOpen(dialog, layer, feature): ... I ...
0
votes
0answers
217 views

Error when providing “Python init function” from Python script in QGis

Problem I am using QGis and Python scripting to programmatically set a layer's edit form and "Python init function". It appears that the Python init function is called correctly in one situation ...
1
vote
0answers
64 views

QGIS view bounding box on Add vector layer GeoGSON protocol?

Our server can serve GeoJSON with an optional bounding box HTTP parameter. e.g. http://our_gis_server.org.au/layername?bbox=xmin,ymin,xmax,ymax In QGIS I can add this vector layer as a Protocol and ...
4
votes
2answers
587 views

Is it possible to rotate the *canvas* in QGIS

Can the canvas be rotated so north is pointing in some other direction than defined by the projection? This question answers with respect to the composer, but not the canvas. There is a related 5 year ...
2
votes
2answers
484 views

How to determine which polygons, if any, points fall within?

I am a amateur at GIS and need some help. I have a group of shapefiles of various areas and an Excel spreadsheet of addresses I have geocoded to points. I want to determine whether each point falls ...
1
vote
0answers
156 views

pyQGIS (Spatial Join): Sum features of attribute from point layer and join with vector layer

I am new to Python and QGIS. I have avoided asking questions up to now. But by now I have developed a reasonable idea of where i want to go so and where I am stuck. So, I have decided to ask but sorry ...
0
votes
1answer
190 views

What is the typical v.surf.xxx exicution time?

What is the typical v.surf.xxx exicution time? I am trying to run v.surf.bspline on a set of ~1600 points. It has bee running for about an hour now and is stuck at spot indicated in the image. I ...
3
votes
2answers
225 views

Display two-dimensional color gradient for two different quantities

I have two overlapping raster layers. One contains quantity A from 0 to 100, and the other contains quantity B from 0 to 100. I'd like to create a map displaying both sets of data at once based on a ...
3
votes
1answer
401 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
3
votes
2answers
166 views

Draw Vertical Line QGIS Composer

Is there a way to draw a perfectly vertical line in QGIS's Composer. I wanted to created a visual separator between two elements for aesthetic reasons. I've tried the arrow tool, removing the arrow ...
2
votes
1answer
586 views

Merge two geojson files

I have a global json files about countries' boundaries but the Russia is in two parts (two polygons). I want to merge the two parts in one, without the boundary at the middle. Is there a way to ...
3
votes
1answer
261 views

NVIS module not found in QGis

When I try to use the nvis module in Grass, QGis, pops-up a warning window saying "Module nviz not found". how can I solve this issue and use the nviz?
0
votes
1answer
50 views

Count points in a polygon that changes form (“on the fly calculation”)

I have tried to find a plugin for this, with no luck. Perhaps someone knows of a plugin that can do the following: In this project I create a lot of polygons that contain points, and the size of the ...
1
vote
1answer
65 views

Zoom to Postcode QGIS Plugin - “Postcode not Found”

I'm trying to get the Zoom to Postcode plugin for QGIS to work on my machine (Mavericks, QGIS 2.2.0) The plugin downloads fine, and when I first try to search for a postcode it alerts me that it ...
0
votes
1answer
62 views

QGIS processing does not support jpg

I would like to work with the gdal functions provided in the processing toolbox. It is easy to call: import processing processing.alglist() ...