[QGIS-Developer] Does Polyline.intersects(Point) work in QGIS master?
Germán Carrillo
carrillo.german at gmail.com
Tue Nov 28 08:22:07 PST 2017
Hi devs,
do you know why this polyline
>>> my_line = QgsGeometry().fromWkt('0 0, 963461.42999999970197678
1077875.79199999943375587, 1 1')
and this point
>>> my_point = QgsGeometry().fromWkt("Point (963461.430 1077875.792)")
don't intersect?
>>> my_line.intersects(my_point) # returns False
I'm having such issue with points and a line captured using snapping
(vertex mode, 9 pixels of tolerance).
I'm using QGIS v2.99.0-master (4f9e2a5
<https://github.com/qgis/QGIS/commit/4f9e2a5>) running against GEOS
3.5.1-CAPI-1.9.1 r4246.
Thanks in advance,
Germán
--
-----------
|\__
(:>__)(
|/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo
<http://gis.stackexchange.com/users/4972/germ%c3%a1n-carrillo>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171128/58fa5174/attachment.html>
More information about the QGIS-Developer
mailing list