Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize polygon simplification per zoom level #3273

Open
iferencik opened this issue Apr 11, 2024 · 1 comment
Open

optimize polygon simplification per zoom level #3273

iferencik opened this issue Apr 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@iferencik
Copy link
Contributor

iferencik commented Apr 11, 2024

Feature Description

Currently dynamic vector layers in Geohub prefetch the admin geometries from simplified down tables for specific intervals of zoom level in order to reduce the computation time. However the output geometries appear to have gaps at loww zoom lelvels

image

This needs to be improbed but without affecting the computation times

Feature Implementation

No response

Feature Alternatives

No response

Feature Impact

No response

Feature Rationale

No response

Feature Considerations

No response

Feature Requirements

No response

┆Issue is synchronized with this Wrike task by Unito

@iferencik iferencik added the enhancement New feature or request label Apr 11, 2024
@JinIgarashi JinIgarashi added bug Something isn't working and removed enhancement New feature or request labels Apr 12, 2024
@JinIgarashi
Copy link
Contributor

I assume we need to set more precise tolerance value to simplify polygons based on zoom level here

https://github.com/UNDP-Data/pgsql/blob/6bcd18603622d3a00c1e14238e28328b07b6624c/src/geohubsql/sql/plpgsql/utils.sql#L298-L332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants