Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 88814

A vector layer represents geographic data whose features are given by sequences of points. (Contrast with a raster, which is a grid of values.)

1 vote

Disappearing/ unavailable delimited text layers each time i close and re-open a project

I see two problems in your approach: The file you load seems to be a txt file, not a csv file. You should save your text file as csv. You say you "added delimited text layer" to QGIS. CSV files cann …
Babel's user avatar
  • 74.9k
5 votes

Creating oriented centerlines in QGIS

You can dynamically create a centerline (defined here: a line passing through the centroid of the polygon shape) using QGIS expressions. You might use this expression for visualization purpose only, t …
Babel's user avatar
  • 74.9k
2 votes
Accepted

Splitting vector layer into subclasses

Use Menu Processing > Toolbox > Split Vector Layers tool and use the X-field (country) in the first round. Then again split the resulting US and Canada layers again, this time using the Y-field (state …
Babel's user avatar
  • 74.9k
2 votes

Importing vector files regardless of having point, line and polygon information using a geop...

Drag and drop your geopackage file to the QGIS window and a dialog will allow you the select what kind of data you want to load as layer. As an option, you could just select everything. Option 2: Ope …
Babel's user avatar
  • 74.9k
2 votes

Replica of point layer data from attribute value in QGIS

Use Menu Processing > Toolbox > Geometry by expression (see documentation) with this expression: collect_geometries( array_foreach( generate_series (1, "Number"), make_point ($y,$ …
Babel's user avatar
  • 74.9k
1 vote

Graphical model for random points inside polygon moved to closest point on line

Another option would be to integrate your two models in another model. QGIS documentation says: A model behaves like any other algorithm, which means that you can add a model that you have already cr …
Babel's user avatar
  • 74.9k
4 votes
Accepted

QGIS : how can I keep data while removing the source file?

You can't save data inside of the QGIS project file. Using QGIS, project and data are always stored separately. What you can do, however, is to save the project plus data file to the same Geopackage f …
Babel's user avatar
  • 74.9k
6 votes
Accepted

Batch replacing of layer file paths in QGIS

Save your project as QGIS files (.qgs), not the default (zipped) .qgz file - or unzip the .qgz project file. Then you're able to open the project in a text editor in a human-readable format. There, yo …
Babel's user avatar
  • 74.9k
2 votes
Accepted

QGIS 3.18 Slight misalignment of two vector layers

You can either shift the line automatically or manually: You can use QGIS expressions with Geometry generator or Geometry by expression and the function translate( $geometry, dx, dy) to offset the li …
Babel's user avatar
  • 74.9k
3 votes
Accepted

QGIS: Select polygons that are touching another polygon on all it's sides (not contain but e...

Use Select by expression with this expression and change the size of the buffer (end of line 2 - here: 0.0001) depending on the size of your polygons/the CRS you use (in most cases, it should work wit …
Babel's user avatar
  • 74.9k
1 vote
Accepted

Find point lies on a line segment

On the line layer, use this expression to identify the id of the point that lies on (or nearest to) the line: overlay_nearest( 'point_layer', $id)[0]. Instead of point_layer, use the name of your poi …
Babel's user avatar
  • 74.9k
0 votes
Accepted

Automatically copy across data from one layer to another where the field name is the same in...

Based on spatial relationship To do it based on spatial relationship, you can use one of the overlay functions, e.g. using one of the following expressions. The first two only work if the two lines ar …
Babel's user avatar
  • 74.9k
1 vote
Accepted

Rasterize (vector to raster) Error 4 - problem converting CVS point grid to raster

There seem to be two problems: layer CRS and file format. To solve both, proceed as follows: Layer CRS Your screenshot shows that your data is in a geographic CRS (EPSG:4326). When I download the data …
Babel's user avatar
  • 74.9k
2 votes
Accepted

Graphical model for random points inside polygon moved to closest point on line

Solution You don't even need to rename the clipped line layer to integrate both of your models in a single one. In the answer you linked to, the problem was with input layers. Here, we deal with layer …
Babel's user avatar
  • 74.9k
2 votes

What is the right sequence of actions when creating new polygon layer with given attribute t...

Advice Your question seems quite basic, so I advice you to have a look at some tutorials (like Klas Karlsson's QGIS 3 for Absolute Beginners), books (like Kurt Menke's Discover QGIS 3.x) and the QGIS …
Babel's user avatar
  • 74.9k

15 30 50 per page