Skip to content

is_valid method has different behaviors for empty geometry #213

@NoharaMasato

Description

@NoharaMasato

Behavior of is_valid method for empty geometry is different like below.

>>> import geojson
>>>  geojson.Polygon().is_valid # => True
>>> geojson.LineString().is_valid # => False
>>> geojson.Point().is_valid # => False

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