Skip to main content

All Questions

Tagged with
1 vote
1 answer
36 views

Unable to set working directory for split vector layer tool

I have some data in a .shp layer that I want to separate into multiple vector layers based on ID. When I navigate to the Split Vector Layer tool, I can select my input layer, unique field ID, and ...
anzac21's user avatar
  • 61
3 votes
1 answer
138 views

Creating dummy (random) vector layers of different geometry types, with random attributes

Problem In QGIS, one sometimes needs some layers with dummy data just to test something: the functionality of an expression, the syntax of an SQL query in a virtual layer, creting quickly an animation ...
Babel's user avatar
  • 73.1k
1 vote
2 answers
546 views

Calculation over multiple vector layers in QGIS

I have a few points as a layer. Then I have another layer with the same points but with different values. For example: Layer A: Time: 5 [hours] Layer B: Time: 4 [hours] Is there a QGIS function that ...
KerryKilian's user avatar
0 votes
1 answer
376 views

Export Vector Layer into Multiple GPX Files in QGIS

I have a vector layer that contains multiple attributes that I want to export as individual GPX files. In this instance, the "Save Features As" option exports all of these attributes as 1 ...
John R's user avatar
  • 1
5 votes
1 answer
4k views

Union multiple vector layers in QGIS

When combining two layers the "Union" tool works fine, and I have used Union several times: A + B => AB, then AB + C => ABC, then ABC + D => ABCD, and then ABCD + E => ABCDE and ...
Åke Eriksson's user avatar
2 votes
0 answers
120 views

How to not include layer and field name when using Split Vector Layer in QGIS?

When using "Split vector layer" tool, the outputs include the layer in the field name in the resulting shapefiles. The result file name is 'LAYER_FIELDNAME_ABC'. I want to extract them so ...
quakaryotes's user avatar
1 vote
0 answers
357 views

Set fill transparency at 0% but keep line at 100% PyQGIS

I am trying to make the color of my buffer totally transparent, but I want to keep the stroke fully colored. I tried the following : color1 = QtGui.QColor('#f3a6b2') #or whatever, as it will be ...
cam_gis's user avatar
  • 93
8 votes
4 answers
2k views

Identifying geometry type of layer with QGIS expressions

The question Using QGIS expression, it can occur that you want to identify the geometry-type of a layer (point, line or polygon? Multiple or single part?). This can be the case to write an expression ...
Babel's user avatar
  • 73.1k
5 votes
1 answer
2k views

Exporting vector layer's style to XML

I would like to use the "create categorized renderer from style" Plugin in QGIS 3.14.15 but I didn't have any .XML-file for this. I tried to create one for a vector layer but in the options ...
Sophie's user avatar
  • 53
2 votes
1 answer
153 views

Marking stored vector layer as exported?

Through PyQGIS using QgsVectorFileWriter.writeAsVectorFormat() we can store a vector layer as .gpkg, is great! However, once we close the project and reopen it again, the layer name is showed but ...
rheras's user avatar
  • 21
0 votes
2 answers
562 views

How do I add my .shp file as a Vector layer in QGIS?

I'm working in QGIS 3.12 and my university as given us zip files of "data" for each practical we do. I've unzipped it and followed steps of adding a vector layer and navigating to the right ...
Lami's user avatar
  • 11
1 vote
1 answer
235 views

Is topology stored explicitely in vector layers or is it derived from stored geometry information?

In vector layers, different types of information are stored like: Geoemtry Attribute data Meta data (like filename, projection etc.) Spatial indices However, what about topology? Is it an explicit ...
Babel's user avatar
  • 73.1k
0 votes
0 answers
358 views

Using a feature in a function in OpenLayers

I want to use in the get_pdf_data function the data loaded in the "imobile" vector so that I can perform operations with the "imobile" vector. The code I'm trying to do this with ...
CoderCoder42's user avatar
4 votes
2 answers
835 views

Renaming multiple layers in the legend from an attribute in each layer in QGIS

I have 72 layers that have been generated via affine transform of a single layer that has 72 categories. But the 72 layers have been given names that are sequential numeric. The original categories ...
WestCorkPalaeo's user avatar
0 votes
0 answers
45 views

Overlay layers on different displays from the same coordinate system

I have vector layers from digitizing in Google Earth and vector layers from digitizing of a pdf document. All the layers were projected in the same UTM zone 30N system (EPSG code 32630). However, ...
Jean Serge Yapo's user avatar

15 30 50 per page
1
2 3 4 5 6