Skip to content

Bounding box is not being created for 12 character BNG references #1403

@CWDamm-Kint

Description

@CWDamm-Kint

When entering a 12 character BNG reference, turf.buffer is used to create a bounding box around the point that's identified.

This is currently throwing an error:

20251104-1440-57.1890646.mp4

I think this can be fixed with a relatively small change to how 'meters' is being provided as an argument. The turf docs suggest it needs to be wrapped in an object: https://turfjs.org/docs/api/buffer

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