Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Snapping to segments in PostGIS #20398

Closed
qgib opened this issue Feb 16, 2015 · 5 comments
Closed

Problem Snapping to segments in PostGIS #20398

qgib opened this issue Feb 16, 2015 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality

Comments

@qgib
Copy link
Contributor

qgib commented Feb 16, 2015

Author Name: Francisco Javier Garcia (Francisco Javier Garcia)
Original Redmine Issue: 12209
Affected QGIS version: 2.6.0
Redmine category:digitising


Working with snapping in 2.6.1. release, we have found a problem with a Postgres/PostGIS layer, when we try to snap a node from a layer to a vertex of another line of the same layer orto another line of other postgres layer.

We hoped that by moving the vertex to the other line, a new vertex was going to be created in the line to separate the segment at the new position (this works correctly in a shapefile) but it seems that the vertex snaps to the line but a new vertex is not created.
We have tested with other lines of other features (layers) and the result is the same. We have tested in a shapefile and in this case it doesn't work either.

The steps to reproduce are the following

  1. Load a line layer from a PostGIS database
  2. Activate the snap to vertex and segment for this layer. Change the tolerance.
  3. Enable the editing in the layer
  4. Create one line
  5. Create another line and try to snap the vertex of the last line to the middle of the first line
  6. Apparently the vertex changes its color to snap to the vertex but we finish the transaction, a new vertex is not created in the middle of the line.

If we reproduce these steps with a shapefile, instead of a postgis layers it works perfectly, a new vertex is created.

We have tried also with features of different postgis layers and the result is the same. The vertex in the middle is not created.

Thanks in advance.

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2015

Author Name: Jürgen Fischer (@jef-n)


Does this also apply to master?

@qgib
Copy link
Contributor Author

qgib commented Feb 17, 2015

Author Name: Francisco Javier Garcia (Francisco Javier Garcia)


I have tested with the master version and the error is the same.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Jun 5, 2018

Author Name: Loïc BARTOLETTI (@lbartoletti)


Does this also apply to QGIS 3?

If yes, can you post a dataset and a video of this bug?

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


End of life notice: QGIS 2.18 LTR

Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/


  • status_id was changed from Open to Closed
  • resolution was changed from to end of life

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Projects
None yet
Development

No branches or pull requests

1 participant