Skip to content

2.1.0 produces floating points with scientific notation where 2.0.* didn't #2275

@Jentsch

Description

@Jentsch

Hi thank you very much for providing this library.

While updating to 2.1.0 we noticed that now

from shapely import Point
from shapely import to_wkt

to_wkt(Point(0.000000001, 0.0))
# 'POINT (1e-9 0)' in version 2.1.0
# 'POINT (0 0)'    in version 2.0.7

I'm not sure what the specification says about that case, but for us it broke our sqlite integration.

Thank you for looking into this.

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