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

How do I add vertices on a segment in QGIS 3.9.? Double-clicking doesn't work

I tried adding vertices to segments of a polygon by double-clicking on the segment, but instead of adding a node, the nearest node was moved to the double-click. Clicking on the cross doesn't work ...
1
vote
1answer
15 views

Adding points along line by clicking on it using ArcGIS Desktop?

ArcGIS for Desktop 10.6.1. I have a polyline (old railroad track). I'd like to add the train stops as points along it by clicking on the places. I have georeferenced historical maps as the ...
2
votes
0answers
20 views

Using V.clean.snap?

I'm working on creating a road network of pedestrian walkways. Since all data were manually drawn, I'll need to snap the vertices together to form a consistent road network on which I can run routing. ...
1
vote
1answer
27 views

Combining st_snaptogrid with st_centroid and group by using PostGIS?

I have a table of devices, each of them has a field 'location' that is a postGis geometry(Point,4326) I need to operate a GROUP BY based of the placement on a grid, I'd use ST_SnapToGrid and then I ...
2
votes
1answer
52 views

Identify topological errors using FME

I have one single shapefile with many features. There are three different topological errors that I want to be identified (only identified). Line A consists of many segments and some of segments ...
1
vote
1answer
38 views

QGIS Snapping buttons missing

I have had no luck snapping points from one layer to another line layer in both QGIS 2.18 and 3.6.3. The snapping plugin is enabled and editing is on for both layers but there are no 'Apply' or 'OK' ...
2
votes
1answer
53 views

Snapping to sketch' vertices while editing in QGIS?

I'm trying to digitize buildings in QGIS and encountered a problem: after digitizing several vertices in a sketch, I want to place my final vertex in accordance with the first one - i.e 'square and ...
0
votes
1answer
40 views

ST_SnapToGrid doesn't work properly, e.g. 41.94186153740355 -> 41.941861499999995

I'm using ST_SnapToGrid: ST_SnapToGrid(somePoint, 0.0000001) and I get strange result on many points, such as: - POINT (21.619820510769063 41.94186153740355) -> POINT (21.6198205 41....
1
vote
1answer
38 views

Harmonize geometry of different shapefiles (QGIS) [closed]

I have got to harmonize the geometry of a big amount of shapefiles in QGIS The files are actually very big. So it would be a lot of work to do it manually. Do you have any suggestions for me?
4
votes
0answers
50 views

Snap LineStrings considering direction in QGIS 3

I have 2 projected shape files: Roads (red) and public transit routes (blue): I want to snap the PT routes to the roads, but because of inaccurate marks sometimes the routes are snapped to the wrong ...
1
vote
0answers
24 views

Snapping to vertices in vector tile layer using ArcGIS Pro?

I am trying to create features in a geodatabase layer using the tracing tool of ArcGIS Pro. I am able to use other shapefile layers in the project for tracing but vector tile layers loaded from the ...
0
votes
1answer
42 views

Making layer visible without having it be snapped to in ArcMap? [closed]

I have one feature created called 'parcel' that shows the borders of houses and another feature called 'conduit'. I need to attach a point feature to the conduit preferably where the parcel boundaries ...
0
votes
0answers
44 views

pyinstaller stops in the middle of process

I try to create a .exe from a .py script. I use Pyinstaller. The script runs fine with no errors in Pycharm. If I open the .exe my Tkinter opens I can choose the files etc.. And then in the middle of ...
2
votes
1answer
101 views

Snap to crossing between lines in OpenLayers

Is it possible to let the snap interaction snap to the crossing of two different lines (or polygons) in OpenLayers? It can snap to vertices and lines between vertices, but I can't see a way to snap ...
1
vote
1answer
110 views

Using terrain correction in SNAP sentinel 1 toolbox removes all the values

I am new to SAR image processing, I have a SAR sentinel 1 dataset downloaded from ESA site: S1A_IW_GRDH_1SDV_20190314T030905_20190314T030930_026328_02F196_2EC3 I am trying to do terrain correction ...
2
votes
0answers
43 views

How to switch on snap option in QGIS 2.18 when creating customize polygon

How to switch on snap option in QGIS 2.18 when creating customize polygon as in: class customPoly(QgsMapToolEmitPoint): def __init__(self, iface): self.iface = iface QgsMapToolEmitPoint....
3
votes
1answer
183 views

Specifying snap raster in QGIS?

I am deploying QGIS 3.6 on Windows 10. Using the Raster > Projections > Warp (Reproject) tool, I need to reproject a single-band, float32, GeoTIFF DEM from EPSG:3413 to EPSG:3857. The output ...
0
votes
0answers
28 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. ...
3
votes
1answer
78 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
354 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
121 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
50 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
57 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
104 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
35 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
202 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
41 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
40 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
143 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
36 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 ...
3
votes
2answers
170 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
28 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 ...
2
votes
1answer
782 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
55 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
97 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 3 ...
0
votes
1answer
70 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
33 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
536 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 ...
2
votes
1answer
277 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
43 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
56 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
71 views

Using Shapely's ops.snap? [closed]

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
125 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
145 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
113 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
90 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
58 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
183 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
253 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 ...