Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [qgis]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Is it possible to use non-printable characters as delimiter for text file layer in QGIS?

I am trying to import a Delimited Text File Layer from a .csv file in QGIS. Because this caused a lot of errors, I posted a question here and got the hint towards using ASCII non-printable control ...
1
vote
1answer
915 views

Looking for PyQGIS Syntax Examples/Guide

I am a long-time user of arcgis with intermediate experience python scripting for automation of geoprocessing workflows. I am moving towards using QGIS on the regular and I would like to dive into ...
1
vote
1answer
91 views

Using QgsExpression.evaluate() on vector layer closes QGIS

I am trying to import a csv layer and run QgsExpression.evaluate() to make some computations on existing columns. However, QGIS 2.18, 3.2, and 3.3 all close when it reaches that point. layer....
1
vote
1answer
441 views

How to identify and highlight invalid geometries?

I'm am trying to clean/edit shape files that were created by algorithm in Qgis. My problem is when I try to split some polygons,they have invalid geometry. Is a way to identify these error maybe in a ...
1
vote
1answer
292 views

QgsExpression to apply on feature

I am using QGIS 2.8. For the documentation of QgsExpression I see the evaluate method on feature as deprecated. What am i supposed to use instead of this methods ? I have some expression and need to ...
1
vote
1answer
139 views

Configuring QGIS 2.18 processing script locations

I've just installed QGIS 2.18. I used the ltr version from from the advanced options of the OSGeo4W network installer. I went to set the folders where I keep my python scripts but when I click 'ok' I ...
1
vote
4answers
6k views

How to connect the selectionChanged signal with pyqt?

I am developing a plugin for QGIS in Python, I need to connect the sselectionChanged signal emitted when a feature of the layer is selected, I could not find any examples on internet, here is what I ...
1
vote
1answer
1k views

Labeling expression to label one value in a attribute table column

I am using QGIS 2.0 on Windows. I have a shapefile for a point layer that has the the following attribute table: I am trying to label using the Status column and only want the value that equals ...
1
vote
1answer
740 views

Why is there Big Red X in QGIS Composer?

I am working with QGIS version 2.01. I created a print composer to export the map with legend, scale bar and title to an image or pdf. When I opened my QGIS project again and went to my print ...
1
vote
0answers
299 views

Clip large Raster Geotiff File in QGIS

I have a 250m resolution raster file which is needed to be clipped using a mask layer. I am trying to do it with gdalwarp through Clipper tool in QGIS but it is taking forever. I tried using R (mask ...
1
vote
1answer
141 views

Merge lines while adding attributes spatially

What I have: A shapefile with multiple lines. Example: line 1: A -> B -> C with attributeX=5 line 2: A -> B -> D with attributeX=7 What I want Lines between each nodes with added attributes. ...
1
vote
1answer
382 views

Numbering adjacent polygons in sequential order

In QGIS is there a way to assign ascending numbers (attribute) to polygons that are located in a row. The polygons were not created in sequential order.
1
vote
1answer
1k views

Oriented minimum bounding box tool missing from QGIS processing toolbox?

I am working with QGIS 2.14.9 and I have realized that some processes are missing. For example, the Oriented Minimum Bounding Box (OMBB) tool is missing in QGIS vector general tools. It was the same ...
1
vote
2answers
2k views

Importing large OSM data to QGis failed (using QuickOSM, SpatialLite layer or add vector layer)

I downloaded quite large OpenStreetMap dataset from https://www.geofabrik.de/ in osm (or pbf) format. Namely Czech Republic. Geofabrik provides ESRI SHP files too, but I unfortunatelly need more ...
1
vote
1answer
1k views

Adding MrSid to QGIS on Windows

I'm fairly new to QGIS and was hoping someone could help me load some MrSID photos into QGIS. I have read some posts and have installed the OSGEO4W Installer and selected the GDAL-MRSID Lib. I ...
1
vote
2answers
2k views

Custom Certificate Configuration error message

When I run QGIS v. 2.18.15 on my PC I get this error message when the program first starts up: Unable To Get Local Issuer Certificate: The issuer certificate of a locally looked up certificate could ...
1
vote
1answer
87 views

Extra conditions in composer controlled by atlas

I want to create a map series controlled by atlas, but some of my features have very different scales. I want to insert a condition to never use a scale lower than X (for instance: 1:5000). Any idea? ...
1
vote
1answer
2k views

Obtaining Centroid from Polygon in SQL Server 2008 R2

I have several spatial layers created in QGIS that are held as spatial data in SQL Server 2008 R2. What I want to do is to find the centroid (OS Easting and Northing) of the polygon from the geometry. ...
1
vote
1answer
846 views

How to Create a Catchment Area of a Polygon (Wetland) using DEM in QGIS or Whitebox GAT

I am looking for a way to calculate the upstream catchment area where water would flow into a given wetland. I have delineated the boundary of a wetland (creating a polygon) and would like to ...
1
vote
1answer
901 views

label vector line with multiple attributes in QGIS

I have a line with two 2 attributes. I would like to display both information along with the line in frequent interval, one info above the line and the other is below the line. I am working in QGIS 1....
1
vote
0answers
553 views

Error clipping a raster with a shape layer “Attempt to create ADRG dataset with an illegal data type (Float32), only Byte supported by the format. ” [duplicate]

I try to clip a raster with a vector layer. When I try to do it, I get the error "ERROR 1: Attempt to create ADRG dataset with an illegal data type (Float32), only Byte supported by the format." Can ...
1
vote
1answer
135 views

Open Georeferencer and load raster at startup

I would like to start QGIS from the command line. At startup the Georeferencer Plugin dialog should automatically appear and a predefined raster should be loaded. What's the best and most simple way ...
1
vote
2answers
2k views

How to best set up QGIS for GDA 94 zone 55 (Australia)

I am looking for help on the best way to set up QGIS for GDA 94 zone 55. (i.e. all the relevant settings etc.)[1.8 in lieu of 2.0] Am working off Garmin GPS/GPX data in GDA/UTM format (I access this ...
1
vote
2answers
754 views

Changing units project wide from 'Millimeter' to 'Map Units'

All my units in my project are in millimeter. But I would like to switch all units to map units at once without clicking every single signature. I also would like to have the possibility to directly ...
1
vote
1answer
674 views

OGR error creating geometry for feature when deleting nodes

I have a line Shapefile that I need to remove many nodes from. Some I can delete fine, others delete but when I hit save I receive the following error: OGR error creating geometry for feature Using ...
1
vote
0answers
102 views

Is there a limitation in quantity of joined tables using spatialite views?

I've one point layer in qgis and several non spatial tables in a spatialite database. Now I want to create a view as you can see in the following: CREATE VIEW testansicht10 AS SELECT baumkataster....
1
vote
1answer
140 views

How can I add output vector to a list to loop a geoprocessing on it?

I have about 18000 circular buffers that I want to transform in some kind of a wind rose. To do this, I transform the buffer polygons to lines, create points along the lines on the wind directions ...
1
vote
0answers
327 views

Update WFS Layer with QGIS - Commit errors

In QGis: Importing WFS Layer from Server, changing Attributes, trying to save. I get Commit errors: Could not commit changes to layer ah_neu:mylayer. The geoservers logfile says: 2015-01-21 11:40:...
1
vote
0answers
723 views

QGIS & WMS: Different aspect ratio between width/height and bbox

I am experiencing a small screen space offset when using a WMS layer (origin is GeoServer 2.1.4). Looking at the requests from QGIS (1.7.4) to my GeoServer I realised that the aspect ratio between the ...
1
vote
1answer
1k views

How to link a pdf file to a specific feature with QGIS? [duplicate]

I'm trying to link a pdf to a parcel (see image: http://imgur.com/RbauB3v) where you click on one parcel and a specific pdf comes up and if you click on another then a different pdf comes up. I've ...
1
vote
2answers
227 views

Where to find the “contours from points” model in QGIS 2.6?

I can't find the example model "contours from points" in QGIS 2.6. Is there another tool for creating contours from points, besides the QGIS Contour plugin?
1
vote
1answer
738 views

OpenLayers plugin in QGIS, error in projection 3857 Pseudo Mercator

I'm using QGIS plugin OpenLayers to set the background of Google satellite under my vector layer. However, even if I project my layers as EPSG:3857 (the default and only possible projection for ...
1
vote
2answers
571 views

QGIS field calculator: Change start value for @row_number

So I can use the @row_number function to number sequentially but I want my start value to be 27, not 1. Is there some bit of code i need to use, where I can change the start value?
1
vote
0answers
498 views

qgis2web export categorized renderer symbology

I'm trying to export my QGIS (2.14.5) categorized renderer symbology to a leaflet project with qgis2web (1.19.0). My example QGIS project looks like this: The resulting (preview, respectivly) ...
1
vote
2answers
2k views

How to convert a shapefile from bessel1841 to WGS84?

I would like to convert a shapefile which has +ellps=bessel to +ellps=WGS. In my understanding, even QGIS 1.8.0, it is impossible. Let me know the free software which is able to convert shapefile ...
1
vote
1answer
1k views

Install qgis2web plugin

I would like to know how and where I can download qgis2web Plugin. I use QGIS with 2.10.1 version.
1
vote
0answers
731 views

How to view the features of a point with a click in QGIS

I am developing a plug-in for QGIS. I am creating a form of personalized editing using QtCreator. The form is in the following image I read a csv file and when i click in a button OK I get a layer ...
1
vote
0answers
175 views

Measuring in Print composer and main layer window in QGIS 2.12.3 does not match

I work on the municipality level and I am composing print maps with scalebar. I noticed, that length (or scale of my maps) is presented different when items are measured in my main QGIS 2.12.3 layer ...
1
vote
1answer
337 views

How to rewrite a csv for QGIS to avoid “Invalid record format”?

So, I have a .csv file. Here an example how the a row from the original .csv looks like: "AREA",44.37,-00.83,"5","1","8","E","E",,,"KKI","KKO" Some lines have missing latitudes and longitudes, so ...
1
vote
1answer
314 views

Export shapefile with “non standard” characters to csv and read in excel

Macbook air mid 2011 running OSX 10.10.5 QGIS 2.8.2 - Wien Excel 15.13.1 (O365) When I export a shapefile containing non-ascii characters to a csv file using QGIS (setting encoding to utf-8) and ...
1
vote
0answers
134 views

Polygon overlay, calculating changes, in QGIS?

I'm trying to create a relationship file between two vintages of census tracts. (in this case, 2010 and 2013.) Reason being to load ACS (American Community Survey) census data and use weighted means ...
1
vote
2answers
1k views

Convert UK OS grid coordinates to decimal degree WGS84?

I've got a list of coordinates in the UK Ordnance Survey grid system e.g. "NZ 27 41" or "NZ 284 449". How do I convert them in QGIS 2.10 to decimal degrees so I can map them in QGIS in WGS84? BTW, is ...
1
vote
1answer
3k views

Using QGIS libraries to write standalone program in C#?

I have investigate some liberaries which can help me to write stand alone applications. Is there any way to use qgis liberaries in an standalone application which is written by C#?
1
vote
1answer
1k views

Add raster value to features AttributeError: 'module' object has no attribute 'TYPE_RASTER'?

When I try to run the "add raster value to features" (available into SAGA Tools), I get this error: Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/...
1
vote
2answers
2k views

Getting a Python Error with OpenLayers in QGIS 2.18.15 [duplicate]

So I just recently converted to QGIS from pen and paper, and it was all fine until I opened some layers and tried to use OpenLayers for a Google Satellite view. A yellow bar appeared at the top of the ...
1
vote
1answer
363 views

Overlap or intersect two choropleth [closed]

I have two choropleth of the same area but with different concentration data and I need to overlap them. My aim is to highlight the areas of intersection between the points with the highest ...
1
vote
1answer
901 views

Why is the QGIS map composer grid showing unreasonable lat/lon?

I need to print a map with coordinates in the format of Degree, Minute and second. CRS is set to WGS 84 (EPSG 3857) for both layers and on the project properties it is set to enable transformation on ...
1
vote
0answers
579 views

Update QGIS didn't solve error “NUMPY driver was compiled against GDAL 2.1”

When I tried "zonal statistics" with QGIS, I encountered the following error. ERROR 1: NUMPY driver was compiled against GDAL 2.1 but current library version is 1.11 I could find people who had same ...
1
vote
1answer
161 views

Opening OSM files in QGIS? [closed]

I am trying to import an OSM file of a State Park that was added in OpenStreetMap into QGIS, and it seems no matter what I do, I just cannot get it to work. I've installed a bunch of plugins, etc, ...
1
vote
1answer
271 views

How can I show the details from the highest zoom of OSM webmaps in QGIS for printing?

I would like to compose a large format map for printing in QGIS with the highest detail possible. My process looks like this, Install "QuickMapServices" plugin Click the "QuickMapServices" button ...