Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#595 closed defect (fixed)

SnapDistance:

Reported by: stephan.holl@… Owned by: mhugent
Priority: major: does not work as expected Milestone:
Component: Digitising Version: 0.8
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

The snapdistance does not work as expected when moving vertices on postgis-layers. Furthermore the window with the hint how to solve this pops up twice which is not nice.

Anyway, changing the suggested value does not solve the issue.

Thanks for looking into this.

Change History (8)

comment:1 by mhugent, 17 years ago

Owner: changed from nobody to mhugent

comment:2 by mhugent, 17 years ago

The double pop-up is removed now. Could you give a more detailed description of when and how the snapping does not work (e.g. use of reprojection)? Where you not able to snap at all or is it the snap behaviour which is not as expected (e.g. snap to vertices of the same feature)?

cheers, Marco

comment:3 by stephan.holl@…, 17 years ago

HI Marco, sorry for beeing unprecise. I had problems to add new vertices on my postgis-layer which was not reprojected. I used the normal SRID provided by postgis.

Main task was to add a new vertex on a polygon border. I had to directly click to the line in order to add the vertex. This behaviour was identical on windows and linux version 0.8.0.

comment:4 by mhugent, 17 years ago

Hi Stephan,

Snapping for adding vertices works for me in 0.8. Are you sure you set the snapping tolerance in map units (not in pixels like in GRASS digitizing)? One problem may be that the snapping is also done to vertices of the same feature. So if the tolerance is high, the new vertex is directly snapped onto another one. Maybe we should snap only to vertices of other features.

If you have the data as shape it will be good for me to reproduce.

Marco

comment:5 by stephan.holl@…, 17 years ago

Marco, you got me!

I thought the distance were pixels (as in GRASS)... Setting a larger snapdistance the snapping to my polygon-borders now works like a charm! Adding a hint on a prominent place that snapdistance is in map-units would be good thought!

We should change the type of this "bug" to "enhancement" though. Thank you for your help.

Stephan

comment:6 by timlinux, 17 years ago

Milestone: Version 0.8.1Version 0.8.2

Moved to milestone 0.8.2 since we wont be fixing any further issues before the 0.8.1 release

comment:7 by mhugent, 17 years ago

Awaiting user input: unset
Resolution: fixed
Status: newclosed

Ok, I changed the string in the project properties to 'snapping distance (in map units)'

Marco

comment:8 by (none), 15 years ago

Milestone: Version 0.8.2

Milestone Version 0.8.2 deleted

Note: See TracTickets for help on using tickets.