Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
12 views

ArcGIS not properly tracing a shapefile's polyline feature

I am working with the Street Network Database shapefile from the City of Seattle, in ArcMap 10.6.1. I attempted to use ArcMap's trace function on the polyline representing Rainier Avenue South. ...
2
votes
1answer
51 views

QGIS 3.4.4 snapping does not lead to expected topology and st_relate result

I try to snap a line to a polygon boundary. This is working fine, due using the snapping option in QGIS (snap mode vertex and segments & tolerance 0 pixels) Line 1 is snapping to the polygon ...
1
vote
0answers
40 views

QGIS 3.4.5 enable trace tool [closed]

I'm using QGIS 3.4.5 and created a line shape layer. I have another line layer in my project that I want to create and trace the geometry of the other layer. I activated the "add line object" button ...
1
vote
1answer
72 views

PostGIS snap line segment endpoint to closest other line segment

I have a PostGIS table of singlepart line segments that I've run the ST_ChaikinSmoothing function on. Smoothing all of the line segments worked great, but these simplified geometries created small ...
1
vote
0answers
22 views

How to enable tracing in QGIS 3 beyond applications for adding polygon purposes?

I have used the enable tracing feature in QGIS 3 to create new polygons (Add polygon feature), and it works very well. However, i have not been able to use it for other purposes beyond that, for ...
0
votes
1answer
31 views

shapely wrong output — when snapping points to line shapefile

I have a series of nodes to be connected to a road network, so as to calculate the cost of transportation. I used shapely to snap the nodes to the road network polylines. Most of the connections ...
1
vote
1answer
85 views

Filter layerlist in snapping dock of QGIS3 to show only layers selected in the layer-dock (TOC)

I would like to filter the layerlist in the "Snapping and Digitizing Options"-Dock so that only layers are shown which are selected in the TOC of the QGIS-Layer-Dock. At the moment I use a workaround ...
1
vote
0answers
24 views

QGIS 3.X CAD tools not working with snapping on PostgreSQL layers?

If I create a scratch layer in EPSG 32720 CAD Tools are working fine with snapping options. The vertex are highlighted etc. etc. If I use a PostgreSQL layer, same EPSG, the snaping is working, but ...
2
votes
1answer
75 views

How to snap to a geojson-vt layer (Vector Tile Layer)?

I'm using geojson-vt to render a large geojson (originated from OSM) file. This file contains all road from a state (extracted with overpass-turbo way[highway="*"]). I'm buinding a domain-specific ...
0
votes
1answer
27 views

How to snap to intersection of lines with Classic snapping?

The question is as simple as the title. When I am in Edit session with Classic Snapping enabled and want to snap to an intersection of lines, it does not work. In order to achieve this, I have to ...
2
votes
0answers
23 views

Snapping geometries to a layer without distortion

I am looking for a plugin / script to snap a polygon layer (A) to a linestring layer (B), the example datasets in image 1. I have tried the 'Snap geometries to layer' tool in QGIS 3.4. This snaps ...
0
votes
1answer
49 views

Unable to perform SAGA point snapping to line on Win and Mac

I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used): (For OSX El ...
1
vote
1answer
25 views

Extract By Mask - Raster Horizontal Shift

Is there a way to snap a raster/DEM to a mosaic dataset? I am using the Extract By Mask tool in ArcPro on a mosaic dataset. The output raster's cell values do not match the original mosaic dataset it ...
1
vote
1answer
61 views

Snap to grid with sf in R

Is there a snap to grid function available in sf for R similar to ST_SnapToGrid(geometry geomA, float size)in PostGIS? It is mentioned as a solution to non-noded intersection problem for PostGIS and ...
2
votes
0answers
21 views

Removing a 'non-gap' gap from a polygon that straddles +/- 180 longitude; looking for an R-based, code solution

I am working with a set of polygons from here: http://lme.edc.uri.edu/index.php/digital-data. In the artic, there are several polygons that straddle the +/- 180 longitude line. These are single ...
1
vote
1answer
226 views

Snap points shapefile to line shapefile using shapely

I have 2 datasets: 1) a road network shapefile which has many polylines and 2) a bus stop shapefile which has many points representing bus stops. My points shapefile has CRS of EPSG 4326 and my line ...
1
vote
1answer
45 views

Snapping two line shapefiles according to attribute field value using ArcGIS Desktop?

I have a two line shapefiles (Trace.shp and Snap.shp). There is a GIS_ID field in both files. Now I want to snap "Snap.shp" to "Trace.shp" according to GIS_ID value. I have tried to use Snap tool for ...
2
votes
1answer
41 views

Bulk Snapping Points to Line Vertex in QGIS?

I have around 8000 point features that require snapping to the nearest line vertex. Please see below image for reference. I would like to do this in one go if possible. Is there a tool in QGIS 8....
0
votes
1answer
45 views

PostGIS - Snapping a point to a line doesn't work

I'm trying to snap one polygon to another, and I found that not all points are being snapped as expected. I tried to simplify the issue to make it all clear, and created this dummy example: SELECT ...
1
vote
1answer
28 views

Tracing Intermittently Working in QGIS

I'm trying to cut/create polygons in QGIS 3.2.1 using snapping/tracing, but it only works intermittently - it will follow an existing vector line quite happily for a short distance, then drop it, then ...
2
votes
1answer
228 views

How can I enable topological editing in QGIS 3

How can I enable topological editing (create shared nodes on adjacent polygons or intersecting lines) and also activate the option to prevent polygon overlap (that when a new polygon is drawn, its ...
1
vote
1answer
145 views

How to edit geometry of multiple layers simultaneously in QGIS 3?

I have several line layers (route, pipes, cables) that share the same geometry and would like to edit them simultaneously. Is there a way to easily snap the geometry of the pipes and cables layers ...
0
votes
1answer
32 views

Using Integrate tool to “snap” points

I am using ArcMap 10.4.1 for desktop. I have two layers with points in them and I am trying to get the points of layer A to "snap" to the closest points of layer B. I am using the Integrate tool with ...
-1
votes
3answers
55 views

Using arcpy.da.SearchCursor to script snapping one set of points to location of another set of points? [closed]

I am trying to shift a large number of point features (layer name Building_Point_NeedToSnap) to a newly created second set of point features (layer name BuildingFootprint_XYTablePoint) which is based ...
1
vote
0answers
55 views

Is this a bug in Shapely's ops.snap?

I have two polylines whose endpoints are near to each other, but do not overlap. I've put them into this shapefile. I want to use shapely's ops.snap() to snap their endpoints, but it's not working as ...
1
vote
1answer
71 views

Snapping in PyQGIS3.0

The following expression enables snapping for PyQGIS 2.0 : QgsProject.instance().setSnapSettingsForLayer(layer.id(), True, 2, 1, 10, True) What is the equivalent expression in PyQGIS 3.0?
1
vote
0answers
78 views

Activating snapping with PyQGIS?

I would like to construct a map tool application that allows only to add some point features. How do I complete the following code to activate snap mode while editing a layer with PyQGIS 3? from ...
0
votes
0answers
78 views

Enable snapping options in QGIS-2.18 plugin using Python

I have a custom plugin to place point feature on another point feature. So i want to enable/activate snapping options before i place that feature in my QGIS application using python. So far i tried ...
1
vote
1answer
70 views

Quick add vertices when creating feature (QGIS 3.2)

I am creating a new feature (polygon) in QGIS 3.2.2 and would like to easily add the vertices as I delineate a boundary. Currently, I can do this one by one as the cursor snaps to the vertex of the ...
2
votes
0answers
49 views

Available snapping points for advanced digitizing?

In QGIS, the Advanced Digitizing tools have some snapping features that I don't see mentioned in the documentation. We know that we can digitize new segments that are perpendicular or parallel to ...
1
vote
0answers
28 views

Line feature won't stay in place

I'm working on a storm network system and have an issue with a drain line. When I try to snap it to a point, it moves slightly to the right every time. I've checked that there isn't topography for ...
0
votes
0answers
109 views

Bug snapping option not working and impossible to deactivate in QGIS 2.18

My snapping option is not working, and the worst is I cannot deactivate it anymore, and now I also cannot use the "delete part" tool in the edit function. At first I wanted to snap 2 vertices from 2 ...
5
votes
1answer
173 views

How to do snapping in Geopandas?

I want to perform snapping in all the lines of a shapefile that don't connect to the nearest other lines. It would be okay to have a tolerance of 0.5 meters. So between 0.5 it should connect to the ...
1
vote
0answers
80 views

Nearest point does not intersect line in 'sf' R package

This is a similar question to my recent questions on how to find the nearest point along a polyline and how to split a polyline by an intersecting point using only the sf package. My question has ...
1
vote
0answers
104 views

Not snapping to Guides in ArcGIS Pro?

I have a layout created with (layout)snapping on and set to snap to guides only. I have a series of rectangles for my title block. Depending on the information within the rectangles, I may need to ...
0
votes
0answers
29 views

Gaps left between features when snapping together (Line to Point)

When I create line features in ArcMap and connect them to point features (which are GPS'd) there seems to be a gap between them when zoomed in all the way (1:0.01). The features are "connected" to the ...
1
vote
1answer
49 views

Importing AWS downloaded Sentinel-2 data into SNAP software?

I have downloaded Sentinel-2 L1C granules from AWS. I saved it as .SAFE format and now have for each tile downloaded as folder structure: AUX_DATA IMG_DATA QI_DATA i would like to run some ...
0
votes
1answer
79 views

MapInfo Pro 64-bit - 16.0.3 - Snap Frame to Guideline (unable to?)

I am using MapInfo Pro 64-bit v16.0.3 In the layout, I want to snap my map frame to the guideline. I've noticed that when I create a rectangular box, this snaps to the guidelines once the edge is ...
11
votes
2answers
7k views

Unable to snap vertices and segment in QGIS 3.0

I'm unable to snap 2 polygons in QGIS 3.0. I tried snapping 2 polygons from the same layer and also 2 polygons from different layers. I ensured that snapping is enabled in the Settings>>Options>>...
6
votes
1answer
323 views

Quickly temporarily disabling snapping in QGIS 3?

In some other applications I use you can use one of the "shift" keys to disable snapping for a single operation. Is there an equivalent for the new node tool?
0
votes
1answer
66 views

Snapping points to line yields error 000800?

I am trying to snap points (temp2.shp) to nearest line (Rail2.shp) at any of its vertex within any distance. ArcPy code: temp2 = "M:\\temp2.shp" arcpy.Snap_edit(temp2, ["M:\\Rail2", "VERTEX", '10000 ...
3
votes
1answer
240 views

Snap to a linestring

I'm trying to create a line snapping tool in my Android app where I'm using the spatialite-android lib. I'm using the function ST_Snap where I want to snap a linestring with another linestring on the ...
3
votes
1answer
904 views

Snapping points from layer to line in QGIS?

I need to snap the points to the lines in another layer in order to create another line shapefile. Is there any plugin / tool available for this? The Snap geometries doesn't take points as a ...
2
votes
1answer
203 views

Obtaining and counting overlapping line segments after adding ST_ClosestPoints with PostGIS

I have some LineStrings that overlap in some segments, but not necessarily with coinciding vertices, like shown in the example below. With PostGIS I would like to extract all "segments" and count how ...
0
votes
1answer
50 views

Snapping doesn't work when many enterprise layers load

I am using Arcmap 10.6, when I have only limited number of enterprise layers loaded, the snapping experience process is painful. My cursor turns to "Busy" shape (the blue circle) and can't snap to the ...
2
votes
1answer
101 views

Mapinfo Line and polygons from different layers to be snaped

I have a layer that I need to edit [ kerb and gutter (KNG)] which consists only of lines that represent the kerb and gutters on both sides of the road. I have separated the left and right side of the ...
2
votes
0answers
70 views

Odd output for PostGIS st_snap

I'm trying to snap a line theme to a point theme using PostGIS with a filter so they only snap to records with the same reference number. The query I'm using is as follows (this is a sample of the ...
1
vote
1answer
803 views

Split line by nearest points using geopandas

I have two GeoPandas Dataframes. One is a combination of linestrings, when plotted is a single line. The other GeoDataFrame contains rows where each row is a unique point close to to the first line. ...
1
vote
0answers
345 views

Leaflet: Snap to grid [closed]

I am trying to make leaflet markers snap to a grid (e.g. 10px) when dragging. The only method I can think of so far is to re-implement L.Draggable so that the offset calculated in _onMove is rounded ...
1
vote
0answers
92 views

Snapping an annotation feature class (anno class)

Is there any work around for being able to snap an annotation feature class (non-simple feature type) to the vertex points of another layer en masse? Similar to how the 'Editing toolbox > snap' tool ...