Stack Exchange Network

Stack Exchange network consists of 174 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

1
vote
0answers
10 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
13 views

QGIS unable to perform point snapping to line. OS: Windows+Mac ElCapitan

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
15 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 ...
2
votes
0answers
17 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
86 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
42 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 ...
1
vote
1answer
30 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
31 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
24 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
108 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
84 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
24 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
52 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
49 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
45 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
43 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
60 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
59 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
43 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
71 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
135 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
63 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
85 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
38 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
66 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 ...
9
votes
2answers
6k 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
296 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
59 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
180 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
735 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 ...
0
votes
0answers
86 views

Snap Point with Bearing to Nearby Line Matching Heading

How can I snap a set of points which represent tracking data and include a heading, with the nearest line that approximately matches that heading? The tracking data is mostly clustered around ...
2
votes
1answer
181 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
44 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
86 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
65 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
681 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
319 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
83 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 ...
1
vote
1answer
182 views

Not Able to Enable Snapping Management on top of a feature service

Can you please take a look at This Demo and let me know why I am not able to set up and enable Snapping on top of following feature Service? What I need is snapping to all features in mouse hover/over ...
1
vote
0answers
231 views

Move node feature and snap to node of other layer

This seems like I'm missing something obvious - I have a layer with node features that I need to update the position of by referencing another node layer. Should be a simple move and snap-to ...
1
vote
1answer
36 views

Snapping feature classes together for one section of a polygon and not the whole feature where slivers are visible

I have used the snapping tool to snap the vertex in 2 feature classes together where they contain slivers gaps and overlaps. This works fine however the tool executes this for the whole polygon and ...
0
votes
1answer
62 views

Snap points to points of different layer (based on attributes, not nearest)

I have 2 layer of points, PointLayer1 and PointLayer2. PointLayer1 has to be snapped to PointLayer2. I have a table that has IDs of PointLayer1 that has to be snapped to PointLayer2. Sample Table: ...
3
votes
1answer
135 views

How do you snap lines to the edge of the nearest polygon in bulk using QGIS?

I have shopping mall data with shops and doors. I am trying to run 'join attributes by location' in order to match the shop names with the door. Some doors are located just within the shop polygon ...
2
votes
2answers
385 views

Snap a point to a line

I have 2 layers, point, and line. I want all the points to snapped to the nearest lines. Effectively, at the end, all these points should now lie in the lines retaining all of their attributes. Is ...
2
votes
1answer
426 views

Snap lines to nearest line in PostGIS

I have a number of pedestrian trajectories (green) that I would like to snap to the nearest road (brown). The roads are downloaded from OpenStreetMap and have been dissolved by name with CREATE ...
1
vote
2answers
193 views

Using Snapping Manager with ArcGIS Dynamic Map Service Layer?

Using ArcGIS API for JavaScript 3.22 I am trying to add Snapping Function on adding Point to a Graphic Layer but bases on an existing ArcGISDynamicMapServiceLayer (snapping to Edges and Vertex in the ...
1
vote
1answer
39 views

snapping lines by order

I wish to clean lines with some attibutes like order1 (red), order2(green)... I use v.clean in QGIS for snapping. Is there a way (QGIS, GRASS, Postgis, Spatialite) that snaps the green line on the ...
1
vote
1answer
145 views

Stamping two rasters in QGIS?

I have two LiDAR datasets; one of 1m resolution and another of 2m resolution. I want to stamp 1m LiDAR data on 2m LiDAR. Similar tool is available in Vertical Mapper in MapInfo called as Splicer ...