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
vote
1answer
20 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)
0
votes
1answer
33 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 ...
0
votes
0answers
13 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 ...
4
votes
2answers
77 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 ...
0
votes
0answers
18 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 ...
0
votes
0answers
39 views

QGIS point to path not aligned with road

Primary question: can I use QGIS 3.10 to display overlaid encoded google polylines, with the purpose of showing road network activity? Explained version of the question: I am using QGIS 3.10. I have a ...
1
vote
0answers
24 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 ...
2
votes
1answer
75 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 ...
1
vote
0answers
66 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 ...
2
votes
2answers
72 views

How to construct a grid over a given position from polygons?

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 (...
1
vote
0answers
30 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 ...
1
vote
1answer
58 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 ...
0
votes
0answers
44 views

How to get attribute values from snapped feature in QField

Is there anyway to get attribute values automatically filled from snapped feature when digitizing a new line? E.g I have a previous line digitized with attribute "Code" and its value "...
2
votes
2answers
160 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....
1
vote
1answer
48 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 ...
2
votes
1answer
32 views

Enabling snapping on features created with PyQGIS

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]) ...
3
votes
0answers
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 ...
1
vote
0answers
17 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 ...
1
vote
1answer
82 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 ...
3
votes
1answer
62 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" ...
0
votes
1answer
29 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 ...
1
vote
1answer
26 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 ...
3
votes
2answers
103 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 ...
0
votes
0answers
38 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 ...
1
vote
0answers
46 views

Remove gaps between polygons of a shapefile [duplicate]

I have extracted a polygon shapefile using raster to vector tool from TIFF image, and it has produced polygons from the Raster, but it has also generated the gaps between the polygons as attached in ...
0
votes
1answer
27 views

Snapping options with Move Feature in QGIS3

Is it possible to snap (i.e. precisely align) features when using the 'move feature' tool in QGIS3? I understand that you couldn't in earlier versions but wondered whether it was possible now. Someone ...
4
votes
1answer
65 views

Automatically join lines by snap

After I smoothed a layer of lines I lost the connection with some vertices. Is there an automatic way to connect the various lines to avoid doing it manually? I think the best thing is to use v....
3
votes
1answer
155 views

QGIS snapping issue

I'm facing the issue when I use the snapping tool at line layer in qgis. I turned on "snapping to segments" and then i've drawn that green lines (picture below) which touches other (purple) ...
0
votes
1answer
38 views

Snapping polygon to raster cells using ArcMap

I'm working with raster datasets that all share the same raster cells. I have a polygon that clips out an area of interest from these datasets, but it isn't aligned with the raster cells. Is there a ...
1
vote
0answers
40 views

Creating polygons via snapping to circle line

I am trying to digitalize my research areas. Those do have a radius of 250m which I created via the buffer and polygons to lines functions. Now I try to create polygons with the different land uses. ...
2
votes
0answers
47 views

Postgis - Splitting polygon with line returns different size polygons that creates holes/overlaps

It feels like I've been struggling with this 'simple' problem for years, hopefully it is just a noob mistake.. We are using Postgis to facilitate an interface we wrote to do spatial editing, like ...
3
votes
0answers
64 views

How to detect snapping event while editing layer in QGIS? (For custom topological control)

QGIS 3.14 - plugin. I have a requirement to draw lines which must start and end snapped to point geometries of another layer. I need to be able to detect a vertex snap event while drawing linear ...
0
votes
0answers
62 views

Shapely adds more vertices to a polygon for smother snapping

I'm using shapely to snap together some polygons. The problem is that snapping in shapley only supports vertices to vertices snapping (i.e. a vertices from a polygon can only ever snapped to the ...
1
vote
1answer
38 views

Snapping two topology layers together based on point

In QGIS 3.14.15 with GRASS 7.8.3 I have two layers both with correct topology that function how they should. When using the Network Analysis > Service Area tool, they work as they are supposed to. ...
1
vote
1answer
48 views

Snapping lines to points according to attribute field value with PyQGIS

I would like to snap line features (.shp) to the corresponding point features based on a common attribute field they have (and not according to any distance). I have around 150 different attribute ...
1
vote
0answers
28 views

QGIS - using fill ring and snapping to segments not working

When using the fill ring tool and having to run along the edge of the polygon the fill ring tool works perfectly when snapping to a vertex, but when I try and snap to a segment, which appears to work ...
1
vote
0answers
30 views

QGIS Linear Z interpolation on snapping

The interpolation of the Z value when snapping in the creation of a new feature is done well in QGIS 3.14, but when editing elements this does not happen. Is there any way to do it?
3
votes
1answer
99 views

Snap Geometry to Layer (Line to Point) does not snap all lines within the tolerance limit

I've been using QGIS 3.14 version to snap geometries to layer. When I try to run this, I have to fix the geometry first before I run select by location. I checked the output, most are correct but ...
0
votes
1answer
42 views

Entering digitizing mode makes QGIS freeze [closed]

When I toggle the editing mode QGIS freezes. The layer is stored in PostGIS. I'm using QGIS 3.10.
3
votes
2answers
111 views

Snapping to currently digitized feature using QGIS

In QGIS 3.14 there's a new feature "Snapping to the currently digitized feature". This feature is demonstrated within a gif on the QGIS website (also shown below). How can this feature be ...
3
votes
1answer
243 views

Match up two polygon layers in QGIS

I have two polygon layers, one is from natural earth data (Administrative 1 division) and the other is a polygon layer with some historical regions in Europe. As you can see in the image attached ...
4
votes
2answers
282 views

Update points geometry while snapping them to nearest line

I have two tables in the PostGIS database - points and lines. And I want to update points geometry to snap them to line if they lay within a certain distance. By now I managed to create a new table ...
2
votes
1answer
128 views

Enabling/disabling Avoid Interception snapping functionality in Individual Layer Settings with PyQGIS

How is it possible to change the "Avoid Intersections" parameter with PyQGIS in QGIS 3.10? I want to enable "avoid interceptions", so that in edit mode, when the new polygon ...
1
vote
0answers
32 views

How do I manipulate a line layer to have straight features instead of curves?

I am working with a layer (in yellow) that i want to make follow the red line. I have tried: Snapping - this results in geometry issues where a line intersects itself Smooth - has no effect ...
1
vote
1answer
93 views

Splitting line at newly created point feature [closed]

I have one point layer and multiple line layers. I always want to maintain topology between them. For which, if user adds any new feature in point Layer, exactly snapped with line feature, the line ...
0
votes
1answer
270 views

Snap to shapes Google Maps

I wish to add snap to shape feature of openlayers shown here Snap Interaction to Google Maps drawing Library. Is there a way that this can be achieved. Here is the bare bone code of the Google Maps ...
6
votes
1answer
75 views

Use tracing when extending linestrings in QGIS

In QGIS 3 it is possible to extend an existing linestring by clicking on the 'virtual endpoint' cross marker as described in https://docs.qgis.org/3.10/de/docs/user_manual/working_with_vector/...
1
vote
1answer
27 views

Cut linestring segment at centroid in PostGIS

In a table of linestring three segments are connected. first--second--third could Postgis generate the centroid of second segment and merge first and third at center? Is it possible? first--...
2
votes
1answer
312 views

Snap geometry in QGIS

I have a problem, but I didn't find usable solution. I created a line shape as a reference/guideline and made grid with grass v.mkgrid and I should correctly fit the grid onto the line. It isn't ...
2
votes
0answers
47 views

Snapping tool issues on QGIS 3.12: Virtual polygons between two edges

I am digitizing land use inside some cadastral parcels. I have two polygon layers, one for the parcels, and one for land use. Since I don't want to digitize outside the parcels, I used the snapping ...

1
2 3 4 5
7