Ticket #323 (closed defect: fixed)
A point interpolated from a line does not always intersect the same line
| Reported by: | starsareblue | Owned by: | sgillies |
|---|---|---|---|
| Priority: | major | Milestone: | 3.4.0 |
| Component: | SWIG Python | Version: | 3.2.0 |
| Severity: | Unassigned | Keywords: | |
| Cc: | sgillies |
Description
Using the shapely Python bindings to GEOS, the following assertion fails.
from shapely.wkt import loads
m = loads("""MULTILINESTRING ((336700.9845364579814486 1738886.2085458301007748, 343584.4261802079854533 1738555.8341833299491554), (343584.4261802079854533 1738555.8341833299491554, 350539.0000000000000000 1736135.0000000000000000), (350539.0000000000000000 1736135.0000000000000000, 353532.0000000000000000 1733674.0000000000000000))""")
p = loads("""POINT (344705.7704083333374001 1737219.7509562498889863)""")
assert m.intersects(m.interpolate(m.project(p))) == True
Change History
Note: See
TracTickets for help on using
tickets.
