Skip to content

precision not honored #107

@cuellarirobert

Description

@cuellarirobert

When comparing the transform_translate function with the transformTranslate function in the JS turf library, the coordinates precision is reduce to 6 values after the decimal in the python library.

Is there a way to get to the precision that I've started with (7).

transform_translate({"coordinates": [5.1036861, 52.0850478], "type": "Point"}, 5.9323754494890855, 63.45775765114114, 'm')

I would expect this to have at least 7, but the response is:

{'coordinates': [5.103764, 52.085072], 'type': 'Point'}

Please help if there's any idea. I tried changing the units to 'cm', but I don't think this was a valid option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions