Skip to content

JSTS example talks about meters but means EPSG:3857's fake meters #11927

@kannes

Description

@kannes

Describe the bug
https://openlayers.org/en/latest/examples/jsts.html shows buffers around lines. It says that those buffers have a radius of 40 meters.
In reality the buffers have a radius of 40 units of EPSG:3857 which are called meters but are not corresponding to actual, real world meters. They are highly distorted pretty much everywhere on the planet.

https://gis.stackexchange.com/questions/329213/using-meters-to-buffer-with-jsts mentioned this but sadly the user filed no bug.

They also provided an image: https://i.stack.imgur.com/tIoBJ.png

To fix this the example would need to use a projection like UTM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions