As of May 31, 2023, we have updated our Code of Conduct.

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
2 votes
0 answers
19 views

Advanced digitizing tools - snapping last vertex to right angle

My aim is to snap last vertex to the right angle using advanced digitizing tools. I'm running QGIS 3.30 with 'snap to common angles' on - see the picture below. Any ideas?
Adam's user avatar
  • 125
2 votes
0 answers
45 views

QGIS: Snap geometries to layer - not all points are snapping

I am trying to snap sample collection points to the nearest location on a path, however, not all points are snapping correctly. I use the tool snap geometries to layer and choose the option prefer ...
AGibsonVega's user avatar
2 votes
1 answer
59 views

Tracing tool missing in QGIS 3.28.4

I miss the tracing tool in the snapping properties window. The documentation of QGIS states that it should be found here. Is there an existing workaround? To the person who edited my post: I know ...
Kim's user avatar
  • 21
0 votes
0 answers
59 views

OSMnx map-matching

I have acquired lines (representing routes) similar to I would like to snap it on OpenStreetMap street network. What is the best way to do so ?
Mohammad's user avatar
1 vote
1 answer
24 views

QGIS 3.10 last point features created are not recognized by snapping - update source?

I am created a plugin that creates point features and line features from a SpatiaLite database. The lines must be snapped to a point at least in one end. Then problem is that the last created point ...
nanunga's user avatar
  • 513
0 votes
0 answers
30 views

QGIS 3.10 PyQGIS . Snapping tolerance units (Equivalence pixels - length units)

Lately I have been dealing with snappings in QGIS. I have been able, with help of people from this site, and also, having a look at other peoples plugins, to ensemble a small plugin with forms. My ...
nanunga's user avatar
  • 513
1 vote
0 answers
58 views

QGIS 3.10 PyQGIS Snapping node tool not showing despite snapping settings active

I was able to set the snapping to the two point layers of interest, as I indicated in the following question Setting snapping in QGIS 3.24 for specific layers using QgsSnappingConfig.addLayers In my ...
nanunga's user avatar
  • 513
0 votes
0 answers
12 views

Export Snap individual images

I have a BandMath image I have produced in Snap that I would like to export. I noticed that when I ask to export the file, it does all the images except the BathMath one. Any ideas on how to do that?
Anthony Greenish's user avatar
1 vote
1 answer
75 views

Setting snapping in QGIS 3.24 for specific layers using QgsSnappingConfig.addLayers

I am trying to set the snappings for certain layers in my map. I can do it for one layer but not for a list of layers. Here is my code: layerPole = None layersPole = QgsProject.instance()....
nanunga's user avatar
  • 513
0 votes
0 answers
58 views

Still snapping to a feature that has been removed

I'm using a LineString to split a Polygon into two on a OpenLayers map. I draw the LineString, detect the intersection points, remove the LineString and the original Polygon and then I add the two new ...
Jónas Grétar Sigurðsson's user avatar
0 votes
1 answer
40 views

Python Script - SelectLayerByAttribute 'Invalid Expression' Error Message

I am fine tuning a 'snap by attribute' python script. It takes points in one layer and snaps them to points in another layer based on unique attribute. I keep running into an 'invalid expression' ...
Nicholas Kunkel's user avatar
0 votes
1 answer
79 views

Connect two polygons in GeoJSON

I have 2 polygons on the map. How connect them more beautifully in the corners? Now there is a collision between them. { "type": "FeatureCollection", "features": [...
Avtandil's user avatar
1 vote
0 answers
55 views

How can I get the mean values at intervals of 30 m in QGIS?

I synchronized the GPS point and PM concentration. And I want to get the mean value every 30m. What should I do? I snapped the points to path And I want to the results like this picture.
LEE's user avatar
  • 11
2 votes
1 answer
84 views

QGIS 3 - Snap line feature endpoints within certain tolerance to other line features

I have a line layer in QGIS 3.22.12 with which I want to create a network. However I've found quite a few lines where the endpoint does not quite intersect with another line. Is it possible to clean ...
Sean Jarrett's user avatar
7 votes
3 answers
298 views

Interactively create route that snaps to route layer in QGIS

There are many online tools for planning routes (e.g. Gaia GPS for hiking, Strava for cycling) in an interactive way (by clicking) such that the route generated conforms to an underlying route layer (...
harry.kuril's user avatar
0 votes
0 answers
100 views

Is there an ArcGIS Pro tool that snaps a point feature class to another point feature class based on a matching attribute?

I have two point feature classes with similar attributes. One point layer has update coordinates while the other has raw coordinate locations. I would like to snap points with raw coordinates to the ...
BenM's user avatar
  • 3
2 votes
2 answers
227 views

Snapping point to line in QGIS

In QGIS I have a point feature class that I want to snap to the nearest line feature class so that the point is on top of the line. How would I do this?
Chace Carpenter's user avatar
1 vote
1 answer
87 views

Snap Raster and same cell size still lead to slight differences between rasters

I'm working in ArcMap 10.6.1, where I've been trying to make the cells of two rasters (let's call them raster A and raster B) line up perfectly with each other using the Snap Raster and Cell Size ...
stijnionio's user avatar
0 votes
0 answers
186 views

Leaflet Enable Snapping L.Draw Polygon

how i can enable Snapping on L.Draw Control Polygon in latest versions of Leaflet 1.8, without using geoman I am using L.Draw.Polygon to enable drawing on the map, here is code for that ...
Ahsan Mukhtar's user avatar
1 vote
1 answer
94 views

Trace/clip a segment of a line using a point layer

I have a set of points as well as a line layer (a road network) as given below. After I snap the points to the line layer the result is as follows. The result that I need is to clip/trace the line ...
Nandula's user avatar
  • 761
1 vote
0 answers
46 views

Merging nearly identical, imperfectly overlapping line shapefiles (of railways)

I have digitized and (imperfectly) georeferenced old railway maps in QGIS. In the figure below you see two of the resulting line shapefiles representing two different years. Due to poor georeferencing ...
NeoGeo's user avatar
  • 19
3 votes
1 answer
128 views

Snapping to a segment of the point symbol (QGIS)

I have a point layer in QGIS with an attribute field which represents a distance value. My goal is to generate a buffer with this distance value on the fly to which I can snap when creating another ...
MarinT's user avatar
  • 75
0 votes
0 answers
42 views

Snapping vertices at intersection between linear and area features

I am working with ArcGIS Pro 2.9.2. I have several linear and polygon features with different domains. I would need these features to share a vertex (node) when they intersect. I have generated a ...
Han Nah's user avatar
1 vote
1 answer
42 views

ArcGIS Pro: Raster Extent Environment changes location

I'm using ArcGIS Pro 2.9.3 and Python 3.3. I have a large number of rasters that I'd like to make have the same number of rows and columns. To do that, I want to set their extent to be the same as a ...
Beck's user avatar
  • 191
2 votes
2 answers
154 views

Set snap raster in GDAL(C#) rasterize functions

I want to set snap raster for the function rasterize of GDAL, but I can not found. The options parameters are as the following code (C#). What is wrong? rasterizeOptions = new string[] { "...
yixing's user avatar
  • 21
0 votes
0 answers
105 views

Snapping parcels together using ArcGIS Pro

I need to work with parcel data that comes from a variety of sources (private, gov, etc.). A lot of this is bad data where polygon boundaries overlap or do not snap together. I am finding it ...
erik_r's user avatar
  • 1
1 vote
0 answers
76 views

Taking vertices and using point to path creates a mess, how can I snap the lines to roads?

I’ve tried points to path (and various other processing tools) however I end up with this: When really it should look more like this line string (without the gaps separating chunks of road here and ...
IceBear123's user avatar
0 votes
0 answers
63 views

Is it possible to snap to offset lines in QGIS (3.20.2)?

I have created a "Laneway" layer which consists of 2 lines offset by a user defined distance from a centreline. I need a simple way to accurately trace or snap to the 2 offset lines to ...
DJPR's user avatar
  • 1
1 vote
2 answers
247 views

Snapping gpx to Lines

I have made a map based on OSM vector data. I'd like to implement a lot of gpx files there, but the tracks of those do not really fit on the streets/paths of the osm data. is there a clever way to ...
MrSalamikuchen's user avatar
0 votes
0 answers
140 views

ArcGIS JS API Sketch snappingOptions is not reacting to featureSources

I'm trying to set the Snapping options of the sketch widget, to snap only to a specific graphic layer, and not all others. It seems like the results " ignores" my settings, shows all the ...
Normal's user avatar
  • 123
1 vote
1 answer
127 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?
Normal's user avatar
  • 123
1 vote
0 answers
57 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 ...
ZVY545's user avatar
  • 119
2 votes
1 answer
198 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,...
Louis Cottereau's user avatar
1 vote
1 answer
236 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 ...
Ali C's user avatar
  • 19
4 votes
1 answer
207 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( ...
Juan's user avatar
  • 131
6 votes
2 answers
216 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" ...
Juan's user avatar
  • 131
3 votes
0 answers
79 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?
Juan's user avatar
  • 131
0 votes
3 answers
850 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 (...
hbk's user avatar
  • 434
2 votes
0 answers
648 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 ...
Ben Hendel's user avatar
0 votes
0 answers
49 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 ...
Sam's user avatar
  • 111
1 vote
1 answer
86 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 ...
Aryan Parthor's user avatar
3 votes
1 answer
113 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 ...
Erick's user avatar
  • 243
10 votes
2 answers
355 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 ...
Jess Siegel's user avatar
0 votes
1 answer
101 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?
standup's user avatar
0 votes
0 answers
471 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 ...
fam's user avatar
  • 109
8 votes
2 answers
283 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(...
Velugoti Venkateswarlu's user avatar
1 vote
1 answer
125 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 ...
Balazar99's user avatar
  • 151
1 vote
0 answers
203 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 ...
Anna's user avatar
  • 121
1 vote
0 answers
314 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 ...
lroost's user avatar
  • 19
0 votes
1 answer
275 views

Shortcut for Snapping options in QGIS

Is there any shortcut option for using snapping in QGIS, similar to pressing F3 in AutoCAD?
Peter's user avatar
  • 133

1
2 3 4 5
8