Skip to content

line_interpolate_point with MultiLineString returns POINT EMPTY for GEOS < 3.8.0 #206

@mwtoews

Description

@mwtoews

Using pygeos with GEOS 3.7.1, line_interpolate_point behaves differently, see implementation in src/ufuncs.c.

import pygeos
multiline = pygeos.Geometry('MULTILINESTRING ((0 0, 2 0), (3 0, 3 6))')
pygeos.line_interpolate_point(multiline, 0)

this returns POINT EMPTY with GEOS 3.7.1. The expected result is POINT(0 0), as correctly returned with GEOS >= 3.8.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions