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

create wrong bounds for some GeoTiff #53

Open
JinIgarashi opened this issue Jun 20, 2024 · 0 comments
Open

create wrong bounds for some GeoTiff #53

JinIgarashi opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JinIgarashi
Copy link
Contributor

This COG generated by the pipeline has metadata of bounds "bounds":[179.9955833681303,-65.00238592107641,178.00117354828316,75.00175967212093]

https://titiler.undpgeohub.org/cog/info?url=https://undpgeohub.blob.core.windows.net/userdata/9426cffc00b069908b2868935d1f3e90/datasets/merged_prob_hrea_2022_20240620123957.tif/merged_prob_hrea_2022_20240620123957_band1.tif?c3Y9MjAyNC0wNS0wNCZzcz1iJnNydD1vJnNlPTIwMjUtMDYtMjBUMTUlM0EzMiUzQTQwWiZzcD1yJnNpZz1QcjhpczdYTyUyRnVLUzJYcVpsUGVQb2o3eUZ0MERVU1prV3hvMlRzM2IyTzglM0Q%3D

This looks weird, and the first longitude should be negative. Because of this error, the following GeoHub dataset is not rendered correctly.

https://geohub.data.undp.org/data/ccb0351fb292e7633094dbf476c7ad38

alternatively, we can comment this line of code in GeoHub, but this should be avoided since maplibre will be going to send massive unnecessary requests to load tiles.

https://github.com/UNDP-Data/geohub/blob/15b3ac96e66e184ac87bcdadcae99b8943916eec/sites/geohub/src/lib/server/defaultStyle/RasterDefaultStyle.ts#L167

@JinIgarashi JinIgarashi added the bug Something isn't working label Jun 20, 2024
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