[Qgis-user] Snapped or not snapped, that is the Question...

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Wed May 8 11:40:32 PDT 2019


Hi,

Included is a small section of the network with the underlying problem.

Nicolas

On 2019-05-08 1:53 p.m., Nicolas Cadieux wrote:
> Hi,
>
> I am working on a network of rivers.
>
> I have singlepart lines (shape file) that appear snapped in QGIS. I even forced the lines to snap using the « snap Geometries to layer » tool. (Using the same line layer as both input layer and Reference layer using a 10m tolerance ). (Behaviour is set to the topmost option.)  Some lines have been snapped using this method but not all.
>
> When I zoom in, I cannot see that the line are not snapped.  But when I use Python Shapely module to count the interesecting geometries on the end nodes, some snapped node in the middle of the network appear to be intersecting with only one geometry (and not two or more).  This seems to be confirm by the spatial selection tool in QGIS also.
>
> How could this be?
>
> Is there a different tolerance to what is considered a snapped line in different software?
>
> How else can I find lines that are not snapped in QGIS?
>
> A penny for your thoughts!
> Nicolas
>
> Qgis3.6.2 on Windows X
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FinalNetworkFiles.zip
Type: application/x-zip-compressed
Size: 3205 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190508/491c0b29/attachment.bin>


More information about the Qgis-user mailing list