-
I deployed TiTler to Amazon Lambda using https://serverlessrepo.aws.amazon.com/applications/us-east-1/552819999234/TiTiler and got the endpoint URL. However, the image rendered using my own endpoint only shows gray scale image, while the demo TiTiler endpoint (https://titiler.xyz/) can show a color image. Any advice? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
I think I found the problem. Using the demo endpoint, endpoint= 'https://titiler.xyz'
r = requests.get(
f"{endpoint}/cog/statistics",
params={
"url": url,
},
).json()
r |
Beta Was this translation helpful? Give feedback.
-
It turns out that the Amazon Application Registry uses TiTiler v0.3.1 while the demo endpoint uses v0.7.0. v0.3.1 does not support The next step is to figure out how to update TiTiler on AWS. I am new to Amazon Lambda. Still learning. |
Beta Was this translation helpful? Give feedback.
-
@vincentsarago The new version works like a charm. Thank you. |
Beta Was this translation helpful? Give feedback.
@vincentsarago The new version works like a charm. Thank you.