<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Bug report has been made<font size="-1"><span
class="gh-header-number" style="box-sizing: border-box;
font-weight: 300; color: rgb(106, 115, 125);"><br>
</span></font></p>
<p><font size="-1"><span class="gh-header-number" style="box-sizing:
border-box; font-weight: 300; color: rgb(106, 115, 125);">#</span>35831</font></p>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2020-04-17 12:58 p.m., Nicolas
Cadieux wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7f719d3e-7d83-7d8f-4bc7-27dcbfb5022e@archeotec.ca">Hi,
<br>
<br>
Small correction,
<br>
<br>
If you extract the end nodes (vertices) of the line, you can use
the following rule. End node layer must be covered by endpoints
of line layer or node layer must be covered by line. I therefore
assume the QGIS topology checker can work for endnode only and not
for "middle node" of the line. This is should be reported as a
bug I think.
<br>
<br>
Nicolas
<br>
<br>
On 2020-04-17 12:42 p.m., Nicolas Cadieux wrote:
<br>
<blockquote type="cite">Hi Marshal,
<br>
<br>
I looked at your data. The first problem is that none or your
line nodes intersect with a point. It looks close... but it's
not close enough. By using "snap geometry location", I was able
to create a new line that snaps to your point. (called
Topologie snapped_line in the file I will send you in private).
A "Select by location" or a "Join Attributes by location"
confirms that the points now intersect the Topologie snapped
line layer. The Join Attributes by location will permit you to
find the problems as you can discard records that do not
intersect. This will give you what you want.
<br>
<br>
As for the topology Checker, it seems that a line cannot cover a
point or a point cannot cover a line even if point and line
nodes intersect (Can someone confirm this?). I can only assume
that QGIS works with the correct assumption that a point and a
line does not have a surface to cover and therefore, cannot
cover anything. I assume, based on your observations that ESRI
does not follow that assumption.
<br>
<br>
You can however create a 1 m buffer around your line (Topologie
Buffered_line in the file). Then, you can create the rule
(polygon must contain point). That rule will work in the
topology Checker.
<br>
<br>
Cheers!
<br>
<br>
Nicolas
<br>
<br>
<br>
On 2020-04-13 10:25 a.m., Nicolas Cadieux wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
I don’t have QGIS in front of me. I looked around on the the
net and was surprised to see the «covered By » option for
points and lines. Unless a line is snapped, or intersects a
point exactly on a Line node, it’s just about impossible to
calculate if a line « covers » a point. This is something
easy to do with a polygon but not a line because of float
point precision error. You could buffer the lines and see if
that helps. You could create a 1m buffer on the line (or the
point). Make sure both layers are in the same crs so that
additional calculations don’t need to be done.
<br>
<br>
You could at the « select by location » side. I would look at
« snap with » or «intersects with »options.
<br>
<br>
Nicolas Cadieux
<br>
Ça va bien aller!
<br>
<br>
<blockquote type="cite">Le 13 avr. 2020 à 06:11, Marshal
Mappers <a class="moz-txt-link-rfc2396E" href="mailto:marshalmappers@gmail.com"><marshalmappers@gmail.com></a> a écrit :
<br>
<br>
<br>
Hello everyone,
<br>
I want to use the topology checker to check if point
features are covered by line features. For example are the
bus stops covered by the bus lines.
<br>
Therefore I use the topology checker with the following
rule: "points" must be covered by "lines". But I get the
error for all points that "point is not covered by segment".
<br>
I even get the error for points that I edited on the line
with snapping.
<br>
Here my questions:
<br>
1. Is it possible to check if point features are covered by
line features? With topology checker? In general?
<br>
2. What does the rule: "points" must be covered by
"lines"check? Under what cicumstances is a point feature
covered by a line feature?
<br>
<br>
I tried this in QGIS Versions 2.18.26; 3.4.15; 3.10.2
<br>
My OS ist Windows 10
<br>
I tried with shapefiles and geopackage layers
<br>
The CBS of point and line layers are the same. Here I tried
the coordinate systems with epgs: 31468 (DHDN / 3---degree
Gauss-Kruger zone 4) and 25832 (ETRS89 / UTM zone 32N).
<br>
If anyone could explain or point me to the right direction,
that would be awesome.
<br>
<br>
Thank you!
<br>
<br>
Best regards
<br>
<br>
Marshal
<br>
_______________________________________________
<br>
Qgis-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<br>
List info:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
</blockquote>
_______________________________________________
<br>
Qgis-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<br>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
</blockquote>
_______________________________________________
<br>
Qgis-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<br>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
</blockquote>
_______________________________________________
<br>
Qgis-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<br>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</body>
</html>