Questions tagged [snapping]

Automatic process of moving points or features to match or coincide exactly with coordinates of another feature within a specified distance, or tolerance

Filter by
Sorted by
Tagged with
-1 votes
0 answers
23 views

Snapping option in QGIS (Python)

We have a plugin which will create a polygon layer and write some features on the fly. Sometimes the user is unable to snap the vertex of the polygon even though snapping options are enabled in the ...
user avatar
0 votes
1 answer
9 views

How to snap a graphic to a vector basemap layer

I'm using the Sketch Wdget in a map for drawing graphics. Is it possible to snap the drawings (polygons for example) to the roads that are part of the vector tile layer i'm using as a base map?
user avatar
  • 113
1 vote
0 answers
36 views

Bringing elevation feature from point shape layer to line shape layer in attribute table using QGIS

I have two shapefiles. One point shapefile containing Levee station ID and their x,y and elevation/z values in meters. z values field name is 'StationE'. Another polyline shapefile where I don't have ...
user avatar
  • 111
2 votes
1 answer
59 views

Snap Geometries to Layer unexpected behavior

I have been trying to snap points to a line layer (vertex or segment) but the "Snap Geometries to Layer" processing algorithm with behavior 3 supposed to do what I want Prefer closest point,...
user avatar
1 vote
1 answer
39 views

QGIS not snapping or obeying overlap settings

I am working on a project in QGIS 3.22.5 and it has suddenly started ignoring all settings re: snapping and overlap. It doesn't matter how many times I toggle the settings on and off I cannot make it ...
user avatar
  • 19
4 votes
1 answer
69 views

Snap points to polygons based on attribute QGIS

I'd like to snap the points to the closest polygon (blocks) based on an attribute they share, this attribute is their suburb. I've tried by running the following expression: closest_point( ...
user avatar
  • 71
2 votes
0 answers
27 views

Snap points based on attribute QGIS

I'd like to snap the blue points to the nearest yellow point based on an attribute they share on QGIS, this attribute is their suburb, I've tried by using the tool "geometry by expression" ...
user avatar
  • 71
1 vote
0 answers
20 views

Evenly distribute some points in different polygons (blocks)

I need to evenly distribute some points in different polygons (blocks) that I have within a study area in QGIS. Does anyone know any tool or way to do it?
user avatar
  • 71
0 votes
0 answers
61 views

Snapping edge of one polygon to another using ArcGIS Pro

How can I snap (move and snap) the edge of a polygon (corner) to the corner of another polygon uisng ArcGIS Pro 2.9.2? Only the center of the polygon snaps to the edges/corners of the other polygon (...
user avatar
  • 413
2 votes
0 answers
105 views

Snap points to polygon/lines in python shapely?

I have a shapefile of point features And a shapefile of polygons features I would like to snap these points to the polygons, as they are often just outside the polygons and cannot be spatially ...
user avatar
0 votes
0 answers
23 views

Snapping lines to the same point when more than 2 lines are intersecting

In case vertices are close enough (i.e. 7m) I want to snap lines to a single point when there are more than two lines intersecting. Is there an easy way of doing this for all the similar intersections ...
user avatar
  • 91
1 vote
1 answer
38 views

Snapping grid to a point

I am trying to snap the edge of a grid to a point (red point). I drew my grid with the correct dimensions, but how can I align the top left of my grid to my point/a set of coordinates? I am using QGis ...
user avatar
3 votes
1 answer
62 views

Setting snapping unit to map units using QGIS

I'm going through the QGIS training Manual and I got stuck trying to set up the snapping unit to map units at the Forestry Application 14.3 Digitizing Forest Stands. The manual indicates to set the ...
user avatar
  • 133
8 votes
2 answers
245 views

Snapping a point to a unique hexagon in QGIS

I created a grid of hexagons in QGIS using MMQGIS. I have a set of points and I want to match each with a unique hexagon. No hexagon should have more than 1 point assigned. Is there a way that I can ...
user avatar
0 votes
1 answer
31 views

Join line to point automatically with ArcGIS

Is there a possibility in ArcGIS to join automatically line with point, for example, with the image below?
user avatar
0 votes
0 answers
116 views

How to perfectly snap the boundaries of contiguous polygons?

I want to perfectly snap the boundaries of contiguous polygons using Python and QGIS. However, I don't want the polygons to merge into a single polygon. I have tried to snap the polygons using shapely ...
user avatar
  • 109
8 votes
2 answers
176 views

Highlighting snapping position in PyQGIS

I'm trying to add points on a line with QgsMapTool. I need to show snap indicator (vertex or edge) while moving the mouse on a line. How can I do that? Here is my code: class uubEditTool(...
user avatar
1 vote
1 answer
41 views

Snapping annotation leader lines to line feature endpoints using ArcGIS Pro

I am currently running ArcGIS Pro 2.6. I am attempting to snap the ends of annotation leader lines to line feature endpoints. When I snap them onto the endpoints while somewhat zoomed out they appear ...
user avatar
  • 141
1 vote
0 answers
35 views

How to snap to a line or extend a straight line in QGIS?

I have one object in my layer, which includes a line segment in itself as part of the overall polygon. I would like to create another line by extending this line outward, in order to cut another ...
user avatar
  • 121
1 vote
0 answers
113 views

Split LineString with MultiPoint - Shapely

I want to split a LineString object at a MultiPoint object. I use the following code to do this. Among other things, I use the functions interpolate() and project() to snap the points onto the line ...
user avatar
  • 19
0 votes
1 answer
69 views

Shortcut for Snapping options in QGIS

Is there any shortcut option for using snapping in QGIS, similar to pressing F3 in AutoCAD?
user avatar
  • 123
2 votes
1 answer
49 views

ST_Snap with condition

I don't understand. I try to snap points to line but only points with the same id than line. I try CREATE TABLE snaped_pr2 AS (SELECT axe, ST_ClosestPoint(pr.geom,rr.geom)::geometry(POINT,2154) AS ...
user avatar
  • 412
2 votes
0 answers
70 views

"Snapped geometry has invalid geometry" error when snapping geometries to layer

I have two shape layers in QGIS where I want to use the "Snap Geometries to Layer". I get the error message that several polygons of the Reference layer have invalid geometries: Feature (1) ...
user avatar
  • 531
0 votes
0 answers
71 views

Matching polygons with many points using QGIS

I'm building distribution maps for several species in QGIS but I've been struggling to match the country borders with the lines of the distribution maps. As you can see in the next picture, both ...
user avatar
3 votes
1 answer
165 views

How to snap a vector layer to a raster layer in QGIS?

I am working with both vector and raster data. I have several vector layers with land use data, e.g. including urban, (types of) forest and agriculture. I am also using Sentinel-2 raster data. My goal ...
user avatar
  • 431
2 votes
2 answers
222 views

Snapping lines' start_point/end_points to the closest point features to them

I'm trying to make a script/function as part of a QGIS plugin to snap all the lines to their nearest point. I have a project with 1 LineLayer and 1 PointLayer. Each line feature should be snapped to ...
user avatar
0 votes
0 answers
50 views

Snapping and Tracing using QGIS

When I split features or split parts, and using Enable Tracing, all I have is an uncontrolled snap to other existing features boundaries. As I start tracing it always go through anywhere in the map. ...
user avatar
  • 1
1 vote
1 answer
40 views

Snapping lines to lines in ArcMap

How can I move the red line so that it matches the blue line more or less quickly? (See image)
user avatar
  • 11
0 votes
1 answer
96 views

Anchored snapper

If you have seen the image, the labels displayed near the points they mention the order or the route of GPS, I would like to know is there a possibility for example to eliminate the segment which is ...
user avatar
  • 21
0 votes
0 answers
18 views

Tracing not working with DWG-turned-KMZ file in QGIS

I have this layer that came from a CAD software and was converted to KMZ so I can use in GIS (somehow the DWG and DXF doesn't import properly in QGIS). It's a line geometry which represents an outline ...
user avatar
  • 1,149
5 votes
2 answers
285 views

Divide grid in smaller grid QGIS 3.16

I have a grid of 1000x1000m (which covers a whole department) and I would like to redivide this same grid again but to 500x500 m, so to obtain in a 1000mx1000m cell, 4 small 500m cells. I would have ...
user avatar
0 votes
0 answers
64 views

Mapping/Snapping GPS Tracks to Roads

I'm trying to build an application where GPS tracks should be mapped / snapped to OSM roads. My goal is to be able to determine the percentage of a road network in a certain area that was covered by ...
user avatar
0 votes
0 answers
108 views

QGIS point to path not aligned with road

Can I use QGIS 3.10 to display overlaid encoded google polylines, with the purpose of showing road network activity? I am using QGIS 3.10. I have a series of GPS points that go from one origin to ten ...
user avatar
  • 9
1 vote
0 answers
60 views

QGIS Create a new point snapped at a specific distance on a line from the previous point

I am running QGIS 3.10.6 A Coruna I have a train line vector that has geometry of type Line (MultiLineStringZ). CRS is EPSG:27700 - OSGB 1936 / British National Grid. I need to create points at ...
user avatar
  • 53
3 votes
2 answers
420 views

Why is v.clean not working?

I’m trying to clean the snapping errors from my line layer. I have a problem with running the tool and the outputs. During the run, many errors and warnings arise. I tried to use the tool in both UTM ...
user avatar
  • 39
1 vote
0 answers
214 views

Extend the contours of the polygon into a polygon

I would like to be able to extend the vertices of one polygon to the edge of another polygon, how does the snapping between poligons using python. The photo shows a representation of my problem. I ...
user avatar
  • 365
3 votes
2 answers
125 views

Constructing grid over given position from polygons in QGIS

I have the following situation: I have a MultiPolygon Layer that shows some squares with the size of 100mx100m. The data looks like a raster: I want to construct a grid with the size of 100mx100m (...
user avatar
  • 65
1 vote
0 answers
42 views

Snap two point layers PostGIS based on a field

I'd like to know if it's possible to snap point to point automatically in QGIS, only when the two layers have the same attribute value in a field. For example, in the first pic they are far away and ...
user avatar
  • 649
1 vote
1 answer
82 views

Snapping end points of line to point using PostGIS

I have a problem with over 10k lines from linetable that do not end/start in a point from pointtable. I need to get these lines snapped so I tried to intersect them by using st_snap update linetable c ...
user avatar
  • 2,190
2 votes
2 answers
176 views

Getting maximum value of measured values ​every xx meters

I have huge CSV files from measurements (most of them are done by car), like this: measurement file The measurement system record one value every second and save this together with the GPS coordinates....
user avatar
  • 61
1 vote
1 answer
182 views

ST_LineInterpolatePoint Error - Does not exist

I am having an issue 'snapping' a points layer (be - bristol education) onto a road network (br - bristol_roads). I have created the code below using the PostGIS in Action guidebook as a reference ...
user avatar
2 votes
1 answer
49 views

Enabling snapping on features created with PyQGIS [closed]

I have implemented a custom digitizing tool derivated from QgsMapToolDigitizeFeature class. Here is the code written to save the feature into the layer: layer.dataProvider().addFeatures([feature]) ...
user avatar
3 votes
0 answers
40 views

How can I snap lines together, but only when there is nothing in between them?

I am mapping arable field boundaries, to see where hedges might go. I already have lines drawn round the edges of every arable field. However this creates too many lines as it gives me a boundary ...
user avatar
1 vote
0 answers
24 views

Using ST_snap to snap pairs of points

I am using the following script to snap a set of point to another within a certain distance. The script works but there are some pairs of points that don't overlap even though the distance between ...
user avatar
  • 11
1 vote
1 answer
226 views

Extracting Vertices / Snapping to points from Vector Tile Service (VTS) Layer

I am using a new vector tile service for background mapping. I can select/interrogate individual objects from the vector layer with the info tool - but they're not recognised by the snapping tool. I ...
user avatar
  • 11
4 votes
1 answer
157 views

Problems with cleaning the topology of a shapefile using GRASS tools and snapping tools

I have a shapefile with almost 1000 polygons (each polygon representing a farm). There are a lot of topological errors (gaps/slivers and overlaps between polygons). Below is a "zoomed in" ...
user avatar
  • 151
0 votes
1 answer
35 views

Snap to disabled layers problem - QGIS [closed]

I'm having some trouble with QGIS because when I try to edit a vector, it displays the edges in that point of all the layers loaded in the drawing even though they are off, making it almost impossible ...
user avatar
1 vote
1 answer
41 views

Merging Lines - up to 200ft distance

I have inherited data that is in need of the lines to be in the same place. Unfortunately this is not how the data was made. I have been moving these by hand. Is there a tool that will arbitrarily ...
user avatar
  • 11
3 votes
2 answers
221 views

Attaching vertex or polygon to line in QGIS

I want to connect the green polygon and the blue line. The buffer tool is not suitable because it makes the whole shape bigger. I'd like to make longer the length of the green one to attach to the ...
user avatar
  • 169
0 votes
0 answers
52 views

Finding a pour point in a polygon?

I have a polygon shapefile (created by someone else) that is a bunch of little watersheds. Unfortunately, it doesn't include any coordinates in the attribute table for the lat/long of the pour point ...
user avatar
  • 13

1
2 3 4 5
8