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
0answers
1k views

Clip or Intersection tool - QGIS giving empty files [closed]

I am trying to clip an Ordnance Survey Master Map (OSMM) feature based on a polygon created for the sake of clipping which does not have any attributes, but the output is an empty file. Projection of ...
1
vote
1answer
130 views

generate massive shapefiles

I have a shapefile with 1475 records, and I want to generate a shapefile for each record. What can I do to generate them avoiding selecting and exporting each record to do that?
1
vote
1answer
1k views

convert vector to raster in qgis

I'm trying to convert some vector layers(format shp) to raster, to do so I used the following method raster-->conversion-->(vector to raster) and the processing works without any problem. However the ...
1
vote
2answers
965 views

OSX 10.9 + QGIS 2.0.1 - Missing osgeo module

Running the following: QGIS 2.0.1 (via Kyngchaos) OSX 10.9 GDAL/OGR 1.10.1 (via Homebrew). Recently, I've become unable to use the OpenLayers plugin, which is complaining that I'm missing the osgeo ...
1
vote
0answers
549 views

Incorrect coordinates when reprojecting NAD27 to NAD83

I have some historic UTM coordinates as NAD27 (556787, 7169250) which I entered into a spreadsheet and have imported into QGIS. I assign them the projection Nad27 / UTM zone 12N (EPSG: 26712) I ...
1
vote
1answer
460 views

QGIS Polygon edge style based on adjoining feature?

Is there a way to change the style of only PART of a polygon's border in QGIS? I would like one or two edges of certain polygons to render a different color, or not at all, depending on the type of ...
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
4k views

Changing column datatype with QGIS Field Calculator

I have seen a solution that I don't get to work - I need to change data type from string to integer and I did what is shown i the image below Can someone point out what I do wrong?
1
vote
1answer
1k views

QGIS-Server - 500 internal server error

QGIS-Version 2.14.5 LTR, QGIS Server running on Windows 2008 R2 I encounter a '500 Internal Server error' when using the url http://localhost/qgis-ltr/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1....
1
vote
0answers
612 views

Convert SHP to GPX with predefined SHP style in QGIS

I had defined graduated style in QGIS for points contained in shp format. I had saved this style in sld and qpj format so now I am able to open shp in QGIS and it automatically loads its style (I am ...
1
vote
1answer
184 views

Midvatten plugin used with qgis2threejs

I have been using QGIS 2.8.1 to map an archaeological project and I have now installed Midvatten 1.4.6 with the aim of visualizing the stratigraphy from various test pits using qgis2threejs. After ...
1
vote
1answer
142 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
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
307 views

Installing NextGIS Connect into QGIS 3?

Just acquired free version of NEXTGIS and trying to install the plugin for QGIS. It tells me it was not designed for version 3 of QGIS. How do I set up the QGIS-NEXTGIS interface then?
1
vote
1answer
249 views

How to count number of stores per company per region?

I have two layers. One point layer and a Polygon layer. It is simple to count the points in the polygon layer by the "points in polygon" function. But I also need some more information of the point ...
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
401 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

QGIS Semi-automatic classification plugin install error on OS X 10.10: matplotlib.backends.backend_qt4agg

I have tried repeatedly to install the QGIS Semi-automatic classification plugin via both (1) Plugins > Install & Manage Plugins and (2) manually based on other comments I found here, but I can'...
1
vote
1answer
682 views

Tiled Map Service (TMS) in QGIS not showing highest resolution?

I've added a Tiled Map Service (TMS) in QGIS, but when i try and look at the highest zoom levels, the highest resolution I can see is level 19. When I add the service as a WMS, I can get the full ...
1
vote
0answers
332 views

Shapefiles not editable anymore?

From this morning if I open a qgis project all the shapefiles are not editable anymore. I've tried different projects in both 2.14 and 2.16 qgis versions. Has anyone encountered the same problem?
1
vote
1answer
1k views

Adding a csv layer in PyQGIS

I am trying to load a series of csv files as vectors in PyQGIS. I run this code to try to get the first one: uri='file://D:/Saved Stuff/gulags/1.40.csv?delimiter=;&yField=y&xField=x' layer = ...
1
vote
2answers
782 views

Qgis2web fails to display points with SVG markers

I made a map and put some points on it and I symbolized some points as svg markers from QGis library.Now, when I wanted to display or export the map with the gis2web plugin (openlayers option checked),...
1
vote
1answer
172 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
3k views

QGIS, CRSs and metric measurements of distance matrix and nearest neighbour? [closed]

I have thousands of points on a multiple layers and I need to get the distances between each point and every other point within a layer (so i can get min, max, mean and median distances) and the ...
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
362 views

How to load an (updating) point layer from Access?

I have a database table linked to the QGIS project which contains X,Y & Z coordinate information, which I can display in the Map View window of the project, after having used the “Points Layer ...
1
vote
1answer
496 views

QGIS create point data attribute as the name of the polygon it falls in

I'm working in QGIS with a point data set overlaying a farm with 140 fields. While I can analyse the points from each field individually, I would rather use an awk script to calculate statistics I ...
1
vote
2answers
686 views

No prj file output from qgis:reproject

I'm trying to reproject a vector layer using the 'qgis:reproject' algorithm in the processing/sextante module of QGIS, from Python. This kind of works, but the .prj and .qpj files created after ...
1
vote
1answer
1k views

Getting multiband raster's min and max values with Python in QGIS?

Is there anyway to have access to minimum and maximum pixel values from multi-band raster using Python in QGIS? This is QGIS and I loaded 3 different bands as rasters. If there's a way to have access ...
1
vote
1answer
4k views

How can I change the precision in the attribute table? [duplicate]

I'm working with QGIS, v. 2.0.1. I opened a csv-table (from an Excel-file) and now the precision is very high but I don't need this. At the moment the values are for example 15.00000000000000, how ...
1
vote
1answer
365 views

QGIS - Layers with CRS EPSG:3857 incompatible with Google street map

I have been having problems applying the different CRS systems to my layers. I have generate a variable distance buffer that I want to be circles around point on a Google Street Map of a city. When I ...
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
0answers
127 views

Generating ESRI compatible raster reference files in QGIS?

Backstory: employer is GIS incapable and most of the data we work with doesnt play nice with GIS software. That said, we have a client who is very GIS oriented. My boss (not my work) is providing them ...
1
vote
2answers
851 views

define a datum and meridian in a CRS in QGIS

I have a shapefile defined by the source as: "The layer is in geographical (lat-long) coordinates (GCS_Clarke_1866; Datum: D_Clarke_1866; Prime Meridian: 0)." opening the shapefile in QGIS 1.8 the ...
1
vote
1answer
842 views

Calculate volume from raster (GRASS) with depth per cell

I'm trying to calculate the volumes of depression areas filled with water. I have the depth for each cell in the raster, and I'm trying to get the total volume of cells adjacent to each other. Which I ...
1
vote
1answer
145 views

Separating two label names in QGIS in order of having a better display

I am working with layers that have several characteristics in the attributable, and I need to show two of them together. Here is a demo map of the US state that shows me problem. I used the string ...
1
vote
1answer
351 views

Can't open Spatialite plugin in QGIS

After installation, I got the error messages below when I click the Spatialite (V.7) Plugins: An error has occurred while executing Python code: Traceback (most recent call last): File "C:\Users\...
1
vote
1answer
2k views

Calculate attribute height of point data

I have an x (easting), y (northing) and z (height) values associated with my point shapefile. I would like to calculate the z values from the DTM I have - how do I do this in QGIS? I am fairly new ...
1
vote
1answer
139 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
1answer
960 views

LAStools in QGIS error at activation: “wrong value for parameter 'OTB applications folder'…”

I have a problem with LAStools in QGIS 2.14. I've followed the LAStools instructions for downloading LAStools for QGIS. ` I replaced 'lidar' folder in C:\OSGeo4W64\apps\qgis\python\plugins\processing\...
1
vote
1answer
7k views

Measuring Volumes using DEMs

I've done quite a bit of research here and elsewhere and am still having trouble coming up with a solution for measuring volumes using a DEM derived from high-resolution (1 m) stereo satellite imagery....
1
vote
2answers
403 views

XY points not showing up on map after adding new rows to attribute table

In QGIS, I added two new rows, but the points are not showing up on my map even though I inputted their LAT and LONG's. The rest of the rows LAT/LONGs show up on the map (they were part of the ...
1
vote
1answer
793 views

QGIS How to draw lines from two points in a CSV?

I have a largely identical query to How to draw lines from two points in a CSV?, however the solution listed isnt working for me. My original text format is PID, Start Northing, Start Easting, End ...
1
vote
1answer
1k views

Clipping vector layers with different CRS

I have two vector layers: provinces (Belge_Lambert_1972, EPSG:103300) - clip layer building (WGS 84/ Pseudo Mercator, EPSG:3857) - input layer I would like to overlay them, however there is ...
1
vote
1answer
15k views

How to fix Qtcore4.dll can't find procedure entry point? [duplicate]

Possible Duplicate: How to fix QGIS error “Entry Point could not be located”? I am working with QGIS, python2.5 and pyqt4 for py2.5. My system variables are as follows: path:=C:\...
1
vote
1answer
633 views

How to determine when the map has finished rendering

I have written a few functions to compare QGIS performance to MapInfo. Most of them involve doing some analysis then dumping the results on the map, as such the process would be considered 'finished' ...
1
vote
1answer
409 views

How to Format QGIS Field names on Editor Form

I am using PostGIS table in QGIS with custom QGISFieldWidgetFactory. However, I wanted to rename the field names in QGIS Edit Form from say first_name to First Name using Python. Currently, I was able ...
1
vote
1answer
380 views

Label only selected features with PAL PyQgis using an expression

I'm trying to label only selected features with an expression using PyQgis and the PAL functions, but I don't find any example and the API don't help me a lot (or I don't found it). My Qgis version is ...
1
vote
0answers
566 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
90 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? ...