Resampling always showing Nearest although other options are used #981
Unanswered
lawrencenika
asked this question in
Q&A
Replies: 1 comment 7 replies
-
@lawrencenika would you be able to share the file you're working with? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem description
I tried with
/cog/tiles/WebMercatorQuad/{z}/{x}/{y}.png?url=${encodeURIComponent(objPath)}&bidx=1&resampling=bilinear
and a bunch of other resampling options likegauss
orcubic
but when zooming in to the image, they all look pixelated still which is from defaultresampling=nearest
. Anything else I can try?what i m seeing is
![image](https://private-user-images.githubusercontent.com/110647851/366748593-3313e1c2-3564-42d9-b7a2-5a6efe09ccb6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzUwNjYxNDAsIm5iZiI6MTczNTA2NTg0MCwicGF0aCI6Ii8xMTA2NDc4NTEvMzY2NzQ4NTkzLTMzMTNlMWMyLTM1NjQtNDJkOS1iN2EyLTVhNmVmZTA5Y2NiNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIyNFQxODQ0MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZmQ5MDNhZjdlNmY1NTg5OWRkMGUzN2I2NTg4MjFkNTc3M2UyYjZlMjkyYTk1NzBkNGRmYzlmN2Y3ZTAyMTQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.64YGGFm7OZWJsomaywQydpAQOCgshyjLSEGK40CNvZM)
when
resampling=bilinear
Expected Output
for
resampling=bilinear
Environment Information
titiler:latest (v0.18.6) run in local docker env on macos
with ENV WORKERS_PER_CORE 1
Beta Was this translation helpful? Give feedback.
All reactions