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

learn more… | top users | synonyms

2
votes
0answers
356 views

QGIS : cannot change the z-coordinate of a point shapefile using the wkb geometry format

I am using QGIS Desktop 2.5.0-Master with GDAL/OGR 1.11.0 on a windows 7. I am working on a little pyQGis script that should modify the z-coordinate of points in a vector shapefile based on a value ...
1
vote
1answer
718 views

Filter MapComposer legend to only show layers visible on the map

I have written a function in Python / PyQGIS (no standalone application, so copy/paste it to the Python console editor to run it) that takes a VectorLayer as argument, creates a MapRenderer object for ...
6
votes
3answers
201 views

Equivalent of excel Alt+Enter in attribute table?

On Excel, you can do "carriage return", that is, jump a line, using Alt+Enter within a cell. When I copy a cell from excel in my attribute table, this format is respected. I can find no way to write ...
1
vote
2answers
207 views

QGIS Deployment in Citrix XenApp - How to Remove Pyramids from the image “properties”

I'm working on deploying QGIS 2.4 into a XenApp 6.5 desktop environment. We've tested QGIS to see if it will run in our environment on a test server and have found that building Pyramids with ...
1
vote
0answers
353 views

Importing kml google earth polygons to QGIS

I've created some polygons in google earth, saved it to kml and then I loaded these files into QGIS. The problem seems to be the projection, these polygons are slightly out of the place. I've tried ...
1
vote
0answers
175 views

Issues with QGIS WFS editing/PostGIS rendering

I want to be able to view and edit spatial data within a postgis database. I have tried using a WFS with Geoserver - but constantly get 'Empty Response' error and the Network log says the request ...
3
votes
1answer
296 views

Will core functions in QGIS 2.6 exploit multi-threading?

After reading a recent post about introducing multi-threading to QGIS, I was wondering if QGIS 2.6 will include this when running various processes. I checked online and I could only find that ...
1
vote
2answers
472 views

Exporting XSD from GML using QGIS or ArcGIS for Desktop?

I want to export a XSD from a GML. I already have the GML and I want to export a XSD that fits the GML For an ETL tool we've programmed, people have to deliver a GML, XML and XSD. Those people ...
0
votes
0answers
45 views

computing the volume of a cave

I did a cave survey and now I have a dxf file 3d. It's composed by 8 layers: polygonal points width contour width height contour height stations depth I would like to make a volume and change its ...
3
votes
2answers
88 views

Averaging XY data for locations in QGIS

I wanted to find out mean of the selected point using QGIS. I tried out selecting using attribute table but could not find an option for mean in field calculator. I have attached a screenshot with ...
1
vote
1answer
347 views

Use PyQGIS to import CSV and draw points using different color

A CSV file contains columns latitude, longitude and color. uri = "file:///C:/data/balls.csv?type=csv&xField=longitude&yField=latitude&spatialIndex=no&subsetIndex=no&watchFile=no" ...
2
votes
2answers
308 views

Add OpenLayers layer from QGIS's Python console?

On QGIS 2.4.0-Chugiak the Openlayers plugin is found under Web menu rather than the Plugins menu. How can you use the Python console to add a Openlayers Google Maps layer? The following code give us ...
3
votes
2answers
328 views

QGIS GRASS shell commands not working in Yosemite

First time asking a question here. Running GRASS 6.4.3 within QGIS 2.4.0 on Mac OS 10.10 Yosemite. I'm trying to run v.net.iso within the GRASS shell, but the following error is returned every time: ...
1
vote
1answer
321 views

Integrate QGIS Server with existing Wordpress installation

How can I integrate QGIS Server with an existing worpdress installation? I have tried but cannot get capabilities to appear. Maybe something to do with Htaccess or httpd.conf but I cannot ...
1
vote
1answer
116 views

QGIS 2.4: copying of points to another point layer

in QGIS 2.4 it is not possible any more to copy points of a layer into another layer - I get the message: " Fehler: Objektschreibfehler: Objekterzeugungsfehler (OGR-Fehler: Attempt to write non-point ...
1
vote
2answers
622 views

building GDAL with libKML support

I'm attempting to import a kml/kmz file generated using Google Tracks into my QGIS 2.4 system (built with GDAL 1.10). KML files currently lose all attributes, and as such I'm attempting to build GDAL ...
0
votes
1answer
496 views

QGIS web client mobile/tablet viewer tutorial?

I have been looking at OL3-mobile-viewer as an option to make my maps more accessible. Unfortunately I cannot figure out what I need to change to hook it up with my existing QGIS server and ...
9
votes
2answers
241 views

Cleaning blocks pattern from urban LIDAR (blocks uplifted from streets)

We have a 1-meter LIDAR DEM from a city. A small subset can be downloaded from this link: This screenshot shows raw DEM with gray palette (darker belts are streets, and greyish and whitish ...
1
vote
1answer
132 views

Find lat/lng weighted midpoint from a list of points

Hello I would like some help on a specific task, I am a truck driver and I have an historical list of cities, lat/lng, count where count is the number of times that I've made a delivery in that ...
2
votes
1answer
305 views

Percent cover from overlapping shapefiles

Apologies if this has been answered elsewhere. I have tried for several days now to come up with a solution to this problem, but haven't found an exact answer that applies to my current situation (or ...
2
votes
1answer
113 views

QGIS select reversed geometries

I have a road network and a geometry for each road direction. One Geometry from A->B and another Geometry from B->A. This geometries are covering each other. Is there a tool available in QGIS to ...
1
vote
2answers
530 views

QGIS: Categorized styling - by multiple columns

I´ve got some polygons that I want to colourize by multiple columns. Can this be done or will I have to edit the attributes? Some polygons only have data-attributes in 1 one column, where as other ...
3
votes
1answer
50 views

multi-line attributes in composer

I have a multi-line text attribute in one of my layers, but when I try to display the data using the 'add table' function in Composer, it just gives the text a single line, not enough room to fit. ...
3
votes
4answers
2k views

How to create a new Shapefile with the same attributes as an existing one?

It is quite a frequent occurrence that I want the data I'm about to add to a new shapefile, to have all the same attribute fields as one I created in a previous project. For example, I might have ...
2
votes
2answers
127 views

Move coordinates using QGIS

With me I have a csv file. Am using qgis 1.8.5. I added delimited layer to a map shapefile in qgis. I noticed that some cooridates fell out of the boundaries of the .shp file. I selected the ...
1
vote
1answer
386 views

Could not open/read USGS raster file

I could not open/read the following .img file. The document below says it is a raster file. http://edc2.usgs.gov/1KM/land_sea_mask.php I tried to open it using many ways such as Q-Gis software, and ...
10
votes
3answers
1k views

How can I parallelise embarrassingly parallel GIS operations in QGIS python?

A common requirement in GIS is to apply a processing tool to a number of files or apply a process for a number of features in one file to another file. Much of these operations are embarrassingly ...
2
votes
0answers
125 views

QGIS Upslope/Downstream Areas

I am trying to locate areas upstream and downstream of a point of interest in QGIS in order to determine possible areas of origin upstream and areas of impact downstream. I have used a DEM to create ...
0
votes
0answers
85 views

Syntax Error in qgsapplication file

I am trying to test an QGIS application code example. However, when I try to compile it, it is reporting errors in qgsapplication.h which is coming with the source code of QGIS. I am using QTCreator ...
3
votes
1answer
151 views

qgis-mapserver: GetCapabilities returns no layer

My problem is imilar to this thread I've installed qgis 2.4 and qgis server 2.4 on fedora. I created a simple project containing a vector layer (shapfiles) GetCapabilities request works but there ...
8
votes
1answer
1k views

How do I convert a tweet into a point in QGIS?

I've been doing some research on using R to datamine twitter, but I haven't really found an answer or a decent tutorial for my question. I'm interested in pulling tweets from twitter with a certain ...
1
vote
0answers
106 views

ArcGIS 10: How to mask a raster by using extract by mask tool If the feature mask is larger than the raster area?

I have a problem to mask the the raster which has values ranges -0.73106217384338 - 0.94593381881714. These values have been derived by using equatin (B3-B4)/(B3+B4) from Landsat band 3 and band 4 ...
2
votes
1answer
308 views

How to set default font in QGIS?

Is it possible to modify the default fonts to be used from "MS Shell Dlg 2" to another? If yes, where do I have to set it?
2
votes
1answer
1k views

How to get value and store it in a variable from a line edit or text edit in pyQT?

How to get value and store it in a variable (in main python plugin) from a line edit or text edit box that were created in QT designer ?
3
votes
1answer
778 views

How to make transparent the background of a WMS layer in Leaflet

I have inserted the following layer from a geoserver in the following Leaflet map : var nexrad = new L.TileLayer.WMS("URL", { layers: 'Wrecks:WrecksGreaterNorthSea', format: 'image/png', ...
3
votes
1answer
180 views

One vector data layer with different styles in QGIS

I have one layer of vector data that I would like to show in two different styles. Is there a way of accomplishing this in QGIS? I've solved it now by duplicating the the vector layer and add ...
2
votes
1answer
182 views

Error with qgis2threejs plug-in

I am currently endeavouring to use qgis2threejs to create a 3D visual using DSM and orthomosaic data captured using my unmanned aircraft system (UAS). Originally the plug-in seemed to work perfectly, ...
2
votes
1answer
17 views

How to obtain geographic points with a cdv file

I have a xlsx file with a column called CoordX and another with CoordY, I save the file in CSV format (semi-colon) and use the delimited text plugin and follow all the information in the text box. ...
0
votes
2answers
195 views

How to draw polygons in shapefiles

How do I draw a polygon in a shapefile that I've created from joined points of 2 .csv files? Which specific tool do I use?
2
votes
2answers
85 views

QGIS Forms - How Do I Display a Read-Only Value?

Older versions of QGIS had an "Immutable" option for form fields to make it obvious that data was read-only. How do I display values in the current version and make it obvious that they are ...
1
vote
2answers
693 views

QGIS's raster calculator— running as a batch process?

I have a series of raster files (150 or so) that I need to multiply by a baseline raster. Unfortunately, the series of rasters have a different cell size (30m×30m i.e. .00027777778 degrees ...
2
votes
1answer
371 views

How to load a *.qgs file in a C++ QGIS standalone app?

I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs ...
1
vote
1answer
379 views

Repetitive behavior in QGIS plugin in connection between Cancel button and pushButton

I'm trying to build a QGIS plugin where I need to ask for a file name using a pushButton connected with a QFileDialog object. I've built a simple plugin using the QGIS plugin builder (putting the text ...
1
vote
2answers
80 views

QGIS 2.4 crashes when symbolizing QgsComposerShape in Python with ScriptRunner

I'm attempting to use ScriptRunner to output a jpeg of a red rectangle using QGIS Composer to understand the QgsComposerShape. Everything works except QGIS crashes when the symbol is applied. The ...
4
votes
1answer
118 views

Is there a public repository of common formating styles for QGIS? Specifically for Tiger data?

I have downloaded the Tiger data for a map I'm working on and wonder if there is somewhere I can download the common formatting styles for these shapes so I don't have to reinvent the wheel. For ...
3
votes
0answers
467 views

How to convert length in Decimal degrees to meters programmatically?

I'm new to qgis and I want to find the length of some roads in a map. So I used the following code, from shapely.wkb import loads def getLength(): layer = ...
1
vote
0answers
159 views

Add WMS in QGIS gives an error with Map request failed [error:Host http not found url:http://http//

I got an URL from a friend who is working with Oracle MapBuilder. http://[IP]:11188/mapviewer/wms I tried to get the service via ArcMap and it was working. Then I tried my beloved QGIS and there is ...
2
votes
1answer
99 views

Meaning of r.viewshed output numbers in QGIS?

I have completed a r.viewshed analysis of a point in GRASS7. I have imported the arising Geotiff into QGIS and when viewing the layer in the layer window (after expanding the +) I am presented with a ...
5
votes
1answer
860 views

Calculate flow path with QGIS

I am trying to replicate my erosion model in ArcGIS for Desktop in QGIS 2.4. I tried to calculate the upstream distance along the flow path for my agricultural field using QGIS. I did the equivalent ...
2
votes
1answer
78 views

Console application in .NET incorporating QGIS tools

I am working on a project where I want to build a standalone application in .NET using QGIS tools. Is there any option like the ArcObjects SDK for .NET? Please help me on this.