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
51
votes
10answers
52k views

Removing small spaces (slivers) between polygons? [closed]

I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces (slivers) between polygons where the polygons should be touching. ...
32
votes
2answers
56k views

Enabling “Snapping” in QGIS while drawing polygons?

I tried to draw polygons in QGIS 1.7.0 and somehow I can't find or failed to find the "Snapping" option. I'm used to ArcGIS 10.0 where you have some snapping options, like placing points of polygons ...
19
votes
5answers
3k views

Algorithm to fix topological errors in GIS software apps

Related question here. I notice that ensuring topological correctness is essential for GIS applications, this is because the input from user or polygon boolean operation can have severe topological ...
18
votes
3answers
12k views

How to snap lines to points automatically?

I have two vector shapefiles: One file is points representing manholes and the other is a polyline file representing pipes leading to and from the manholes. I need to snap the lines within a ...
17
votes
11answers
22k views

Why won't ArcMap 10 snap? [closed]

I'm really confused by this. ArcMap will seeminly randomly decide to not allow snapping when editing. Sometimes its only for certain features, sometimes for only parts of the same feature (e.g. one ...
14
votes
0answers
1k views

How to implement a “Snap to Road”-functionality? [duplicate]

I am having a problem with a little application I'm trying to develop. What I do is take a phone with me and drive around the city on a bike. I collect all the Latitude/Longitude-pairs and at home I ...
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>>...
13
votes
5answers
2k views

How to snap a road network to a hexagonal grid in QGIS?

I'm trying to use QGIS 2.14 to snap a road network to a hexagonal grid, but I'm getting strange artifacts. I've created a hex grid with MMQGIS, cells are approx 20 x 23 m. I've buffered the road ...
13
votes
1answer
758 views

Why is Shapely's snapping (GEO snaps) not working as expected?

I'm trying to snap two lines to each other using Shapely/Geopandas but the result of the snapping is very odd. I tried : import geopandas as gpd from shapely.geometry import * from shapely.ops ...
12
votes
4answers
27k views

Tool or process to automatically snap endpoints of polylines within given proximity using ArcMap?

I created a network of polylines that were all supposed to be connected. However, I just realized that many of the endpoints of the lines aren't connected, but are very close. I think there should ...
12
votes
1answer
7k views

Moving Polygons with snap from edge to edge using ArcGIS Desktop?

I have such a basic question, but can't find any solution. I have some hundred rectangular Polygons and want to move them to other, already existing Polygons. The borders of these polygons should ...
12
votes
2answers
885 views

Is there any option in QGIS to draw parallel lines that snap on the outside part of the line (adjacent lines) that are independent from scale?

I have to draw a map of a public bus transport network and i have a problem in the avenues where a lot of lines passes by. My objective is to make a visual map where the lines in those avenues are ...
12
votes
5answers
2k views

Real time map matching using ArcGIS Desktop?

I am working on a project which requires real time map matching. I am currently using ArcGIS but not sure whether it will work. Here is what happens with my system: the cell phones sent GPS fixes ...
12
votes
1answer
503 views

How to maintain integrity between changing street network and geocoded points?

We maintain hundreds of thousands of points geocoded against a dual-centerline Navteq street network. We are faced with the challenge of maintaining referential integrity between our points and the ...
11
votes
5answers
30k views

Snapping points to lines in ArcGIS Desktop and automate using VBA?

I use ArcGIS Desktop and I want create a network with a point feature and a line feature. I need my point features to be on the line features so I should do Snap point to line. However, I do not ...
11
votes
1answer
1k views

Snap line layer to network in QGIS or PostGIS

I have GPS data I've taken of bus routes, and now I'd like to snap it to my road network. Both layers are line layers in a PostGIS DB. I'd like to use either QGIS or PostGIS, but if I have to go with ...
10
votes
3answers
3k views

Aligning multiple points to line in QGIS?

I would like to align multiple points to a line, or lines within a layer, using a specified tolerance or buffer around the line objects. Please refer to the sample sketch attached. For the sake of ...
10
votes
2answers
7k views

Snapping raster grids in R

I am trying to align two raster grids in R. Once aligned I would like to be able to add them together. I have tried to check whether making a stack would work: grid_snap <- stack(habi_sdw, ...
9
votes
3answers
3k views

Snapping start- and end nodes of lines to other lines in PostGIS

There are plenty examples that show how to snap lines to points, but I haven't been able to find any (fast!) way of snapping the start- and end nodes of line strings to nodes of other lines. ...
9
votes
1answer
2k views

Is there a way to automatically snap loose points of lines to close by vertices with Quantum GIS?

I have a vector layer of lines that were drawn with the snapping option off. I need to have them snapped but, there are hundreds of lines. Is there any solution to do this automatically or semi-...
7
votes
4answers
8k views

How to close multipart polyline gaps in ArcMap

I have a multiple multipart contour lines that originally came from CAD drawing. I converted these into a polyline shapefile in ArcGIS. The issue I have is with gap in each contour lines that are ...
7
votes
2answers
3k views

Snap points to line and calculate chainage using Open source GIS

I have a line layer (representing a pipeline) and a points layer (representing valves) and I would like to calculate the chainage of the valves along the pipeline. I assume that I would first need ...
7
votes
1answer
734 views

Snapping in Esri javascript api does not work on mobile device

I have an Esri map loaded using the javascript api. I try to enable snapping, where a point should always snap to a given line. I have a snap point symbol that will trace the line to snap to when I ...
6
votes
2answers
1k views

How to enable/disable snapping functionality with PyQGIS?

Goal: The snapping functionality should be enabled and disabled. I use the function setSnapSettingsForLayer. Convenience function to set snap settings per layer. Short Example: QgsProject.instance()....
6
votes
1answer
2k views

How can I snap lines in PostGIS?

I have a few linestrings that together form a long line. The start- and endpoints of the linestrings are equal with their direct neighbour, but when tested the ST_Distance between any 2 lines is like ...
6
votes
2answers
3k views

Snapping two polygons together in GIS

I have been digitising a historical map which contains large areas called townlands, filled by smaller areas called fields. I digitised both as two separate vector layers, both polygons. When ...
6
votes
1answer
1k views

Measuring Right of Way in ArcGIS Desktop?

I'm helping bring CAD people into ArcGIS so that everyone throughout the company is on the same page and there is one database for everything. Right now, one of the biggest hurdles is making sure all ...
6
votes
2answers
453 views

Snapping leaves small gap between features in ArcGIS for Desktop?

I'm using classic snapping in ArcGIS 10.1. At the scale (1:5,000) that I'm using to snap the edge of one rectangular feature to the edge of another rectangular feature, snapping seems to work fine. ...
6
votes
1answer
1k views

Snapping while measure in QGIS?

I've been reading here and there that snapping while measuring should work in QGIS, but i can not make it work for the life of me. https://hub.qgis.org/issues/8537 All the snapping options are set ...
6
votes
2answers
9k views

snapping polygons and lines [duplicate]

I recently downloaded QGIS on a Mac OSX 10.7.4 (lion) and purchased a master map shape file, of a particular area. I am trying to divide it into polygons following features on the master map vector ...
5
votes
1answer
2k views

Georeferencing in ArcMap very slow?

I have started having a problem with georeferencing. When I try to add control points, the cursor just starts "thinking" forever, and it's nigh unusable. I've read forum posts that say this is an ...
5
votes
2answers
403 views

Snapping function doesn't work with complex polygons in QGIS?

I need to snap out parts from a polygon. I am using the "split part" to mark the area I need to erase: In order of snapping an area, I drew a line inside the polygon. Sometimes this method does not ...
5
votes
1answer
444 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?
5
votes
3answers
5k views

Is it possible to perform automatic snapping of polygons in QGIS or ArcGIS?

Note: in the picture below white space between the polygons is blank space – it does not contain any polygons as a result of Intersect or Union functions.
5
votes
4answers
2k views

Is there a way to snap to apparent intersections in ArcGIS 10.1+?

Suppose there are two lines in an ArcMap 10.1 or 10.2 editing session that cross but do not intersect, per se. This is the case when new lines a drawn. Is there a way to snap to the point where the ...
5
votes
1answer
2k views

Leaflet snap circle draw to marker

I am looking for ideas/libraries that enable snapping when I create a circle with leaflet draw. There is the libaray Leaflet snap, that enables snapping of draggable markers to polylines and other ...
5
votes
2answers
888 views

QGIS doesn't update some snapping options from Python

I've just installed QGIS 2.14.3 (Essen) on a Windows 7 machine, so I've got the default configuration on everything. This means that under "Settings -> Options -> Digitizing", I've got "Default snap ...
5
votes
2answers
329 views

3D snapping in open source platforms

I'm looking for tools and extensions in open source platforms (gvSIG, QGIS, uDig, etc) that allows 3D snapping. In the last years, most of the projects my company is working on required the editing ...
5
votes
1answer
288 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 ...
5
votes
1answer
506 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 ...
5
votes
1answer
489 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 ...
5
votes
1answer
890 views

Temporarily suspend snapping in QGIS

Is it possible to temporarily suspend snapping with a shortcut Key in Qgis, like its possible holding down space in Arcmap?
4
votes
2answers
15k views

How to snap lines to nearest point?

Is there an easy way to snap lines to nearest point of either a line or a polygon? I don't see any snapping options for line layers as suggested on How to merge lines with slightly different endpoints ...
4
votes
1answer
733 views

How do I create a target geometry to use with JTS GeometrySnapper?

I am dealing with geospatial queries on a database. The query returns all data sets within an arbitrary bounding box, given a point associated with the data set is within this bounding box. Since the ...
4
votes
1answer
1k views

Snapping doesn't work when many layers loaded!

I am using Arcmap 10, when I have only limited number of layers loaded, the snapping experience is perfect but when I have many layers loaded specially polygons, snapping process is painful. My cursor ...
4
votes
2answers
1k views

GeoTools: Calculate length along line from start vertex up to some point on the line?

I have single LineString and some Point (outside the line), I snapped it to the Line (using DistanceOp so as far as I understood the snapped point should lay on the line). How can I calculate length ...
4
votes
1answer
947 views

Road snapping in R - snapPointsToLine / Projection Problem

1. Introduction (you may skip this if you like) In order to implement a road snapping feature in R for recorded positioning data, I first searched the internet for possible solutions to the problem: ...
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 ...
4
votes
2answers
128 views

Snap Input Rules

I need to snap polyline features in one layer to the nearest polyline in another layer. However, I want only the ENDS of the INPUT to snap to the nearest VERTEX in the environment layer. Is there a ...
4
votes
1answer
3k views

QGIS snapping not working for me

I am new to QGIS, and this is a very basic question. I made a new polygon layer, to trace cadastral boundaries off a raster map. I want the polygon nodes on adjoining acreages to snap together. Some ...