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 not deleted user 99589

A geometric element defined by a pair of x,y coordinates.

7 votes
Accepted

QGIS Assign point data to a line layer considering line direction

With the following query, it is possible to assign the data associated with each point to the line segment following it, when considering the line direction. …
Taras's user avatar
  • 34k
5 votes

Creating lines connecting each possible pair of points in PostGIS

Let's assume we have 10 features in "points" layer respectively, see image below. With the following query, it is possible to achieve the lines between all possible connection of points excluding the …
Taras's user avatar
  • 34k
3 votes

Importing file where long and lat in one column

First of all, simply try the approach that was suggested by @Erik, deploy Excel with the combination of FIND(), LEFT()/RIGHT() and LENGTH(). Afterwards, import your CSV file into QGIS, check this art …
Taras's user avatar
  • 34k
3 votes

Merging attributes of point features at same location

It is expected that you have already imported your CSV file into QGIS and possess a basic point vector layer, for more details check references. … Let's assume there is one point layer 'points' (3 features at the same location) with its corresponding attribute table, see image below. …
Taras's user avatar
  • 34k
1 vote

Merging attributes of point features at same location

Let's assume there is one point layer "points" (3 features at the same location) with its corresponding attribute table, see image below. Step 1. In the Field Calculator create a new attribute, e.g. …
Taras's user avatar
  • 34k
1 vote

Locating where two lines of defined length meet, maybe with QGIS Plug-in

Let's assume we have two point layers "test" and "test2" with its corresponding attribute tables, see image below. … With the following query, it is possible to create point features at the intersections of the circles representing the distance from objects. -- distance from first object, e.g. 50m WITH Buffer1 AS ( SELECT …
Taras's user avatar
  • 34k
2 votes

Drawing Circles with set radius using QGIS

Syntax make_circle(center,radius[,segment=36]…) [ ] marks optional components Arguments center center point of the circle radius radius of the circle segment optional argument for polygon segmentation. …
Taras's user avatar
  • 34k
4 votes

Drawing Circles with set radius using QGIS

Possible by means of the "Rectangles, Ovals, Diamonds" geoalgorithm from the QGIS's Toolbox, using 'Ovals', either fixed or variable. Note: That both 'Width' and 'Height' parameters have to be equal. …
Taras's user avatar
  • 34k
5 votes

Styling points based on letter in field in QGIS

As was mentioned by @Erik in his comment, it is efficient to use the regexp_match() function. Use the following expression: CASE WHEN regexp_match("NAME", 'W') THEN 'square' WHEN regexp_matc …
Taras's user avatar
  • 34k
3 votes

Counting points within certain distance of each other in QGIS

Try also the "DBSCAN clustering" geoalgorithm. It contains a setting called 'Maximum distance between clustered points' and will provide in the end the "CLUSTER_SIZE" attribute.
Taras's user avatar
  • 34k
3 votes

Drawing lines to nearest points in QGIS

References: Finding point closest to point on near feature? PostGIS nearest points with ST_Distance, kNN …
Taras's user avatar
  • 34k
4 votes

Displacing points by random distance and direction

Let's assume there is a point layer called "points". With the following query, it is possible to achieve the result where each point will be shifted on a certain delta generated randomly. … Note: That this solution is working only for 1:1 relation between a point feature and a polygon feature within which the point lays. …
Taras's user avatar
  • 34k
17 votes
Accepted

Creating point at line end using QGIS

With the following query, it is possible to create a point at the end of each line. … SELECT st_endpoint(geometry), * FROM "polylines" The output point layer (yellow) with its attribute table will look like Mind the difference between ST_StartPoint() and ST_EndPoint(). …
Taras's user avatar
  • 34k
7 votes

Count number of points outside of buffer

Try to tackle you task in a bit different way. This question was already explained here Postgis – Opposite of ST_Within. Let's assume there are two layers "schools" (orange) and "libraries" (purple), …
Taras's user avatar
  • 34k
4 votes

Difference between "Join attributes by location" and "Join attributes by location (summary)"

.* FROM "polygons" AS p JOIN "points" AS poi ON st_intersects(p.geometry, poi.geometry) So, in the result you will see polygons as many times as the intersection between point and polygon exists. …
Taras's user avatar
  • 34k

1
2 3 4 5 6
15 30 50 per page