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
153 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
169 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
125 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
103 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
60 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
30 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 ...
5
votes
1answer
314 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
123 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
213 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 ...
1
vote
1answer
71 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
118 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 ...
13
votes
2answers
9k 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>>...
5
votes
1answer
456 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
101 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
383 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 ...
4
votes
1answer
2k 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
262 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
59 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
150 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
98 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
2k 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
440 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
130 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
323 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
316 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
40 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
89 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
207 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
696 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 ...
3
votes
1answer
611 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
258 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
196 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 ...
2
votes
1answer
173 views

Bringing two lines together and getting their difference

In the photo there are two lines that are parallel to each other. I want to bring them at same coordinates and carry out the difference between them, which will be the small part of red line from the ...
1
vote
1answer
681 views

Drag points on lines with snapping in QGIS 2.18

I have a point layer and a line layer coming from PostGIS. Points represent sensors (two for each side of the road), lines are GPS tracks. I need to move the sensor locations towards the lines. As I ...
0
votes
2answers
78 views

Checking for unsnapped lines in ArcMap?

I am trying to find a way to locate any unsnapped pipes/manholes. I noticed that my snapping environment was not set up in ArcMap the first few times I made edits and I want to go back and reverse ...
4
votes
2answers
165 views

Snap lines based on hierarchy

I have a layer that represents a road network. The lines for the roads don't always meet, but I want them to. I want to make the pink lines join to the nearest segment of the blue line. I followed ...
3
votes
0answers
178 views

How to show Vector Layer created by v.clean GRASS tool in QGIS

I have created vector layer using GRASS tool v.snap, which resulted in a vector layer as output. I want to display the vector layer in QGIS. How can i view the vector layer created by snap tool in ...
5
votes
1answer
505 views

Snap existing line vertexes to nearest line in MapInfo

I have driven along some roads and registered some information about the state of the edge of the road. The GPS coordinates are not very precise, and I would like to smooth or snap the tracked lines ...
3
votes
1answer
93 views

ArcGIS web map snapping precision

I'm using snapping in a web map for a move/rotate custom tool. According to the API documentation the default option is to set all feature and graphics layers in the map to be target snapping layers. ...
0
votes
0answers
174 views

Snapping boundaries in PostGIS [duplicate]

I have two polygons in PostGIS that have incongruities. One polygon (the yellow one) is legal county boundaries. The other polygon (blue) is essentially neighborhoods. 98% of the lines align perfectly....
2
votes
0answers
52 views

ST_Snap doing weird things

Consider the following query: WITH geoms AS( SELECT ST_Buffer(ST_MakePoint(10,10),5,200) as circle, ST_MakeEnvelope(5,5,15,15) as square ) SELECT ST_Snap(square,circle,15) geom FROM ...
1
vote
0answers
285 views

Snapping Elements in Layout to Neatlines using ArcGIS Desktop?

I was wondering if there is a way to snap the center of an element to a neatline using ArcGIS 10? For example I have a neatline running down the center of the map in layout view and I want the ...
5
votes
1answer
515 views

Automatically snapping points to line ends on two separate layers?

I have US interstate ramp end location data points that I need to match road network data. All the points are off by a few meters as they were collected in the field. I am hoping there is a way to ...
0
votes
1answer
317 views

Connect newly drawn lines to existing lines in QGIS?

I need a simple tip for drawing line shapes in QGIS. I have multiple line shapes in my project that needs to be connected, so is there an option to join my already drawn line with the line that I'm ...
1
vote
0answers
83 views

QGIS snap question [duplicate]

I have only recently started using QGIS with no previous knowledge of it so I still struggle with the most basic functions. In particular, I need some help with the snap function. I'm currently ...
4
votes
2answers
1k views

Snapping multiple nodes of a polygon to the nodes of a line?

I am working with vector polygons that have derived from hand drawn areas from when mapping was carried out with tracing paper over paper maps. Therefore many of the polygons don't exactly line up to ...
3
votes
1answer
145 views

Digitizing without gaps in QGIS

I started making a vector layer from raster data but I see slivers (gap area) between my parks and roads layer. How can I overcome this problem? I planned to make a map with scale 1:5000.
3
votes
1answer
139 views

Snap lines to polygon verticies at interscetion

I'm trying to figure out a way to snap lines to a polygon layer, but only at the intersecting point. Here is a sample picture of what I'm working with. I have a layer of polygons and a line string ...
2
votes
1answer
415 views

Network Analyst not creating all junctions

I have a road network that I have added and merged with a KML into a shapefile that I'm trying to create a network with. However, when I build the network, I receive errors "The features's geometry ...