Skip to content

transparent ShapesModel.parse geometry arguments #315

Open

Description

@MobiTobi

The geometry argument is used to select which kind of shapes to create when using ShapesModel.parse.
The possible arguments are 0, 3 and 6 which map to Circles, Polygon and MultiPolygon respectively.

Instead of relying on an incomplete enumeration of GEOS geometry types the argument should accept strings ( "circles", "polygon", "multipolygon").

Activity

  1. LucaMarconato commented on Jul 2, 2023

    @LucaMarconato
    Member

    @giovp I also like this proposal, could you implement it please when doing the io refactoring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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