Skip to content

Search is possibly returning over-simplified geometries #549

@stdavis

Description

@stdavis

A user pointed out this geometry shape as returned from the web api and how different it is from the source data:

Image

Here's a reproduction of the issue: https://codepen.io/stdavis/pen/yyYxqEG?editors=1000

It appears that the web api runs st_simplify on the geometry of features before it returns them to the client. I wonder if 10 meters is too large? Perhaps it should be dropped to 1 or less? I'm not sure what other use cases went into the decision to simplify.

My vote would be to remove simplification. As a user, I would expect to get the exact same geometry as the source data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions