Skip to content

The multi value assets query param order affects the output of the stac/tiles endpoint. #645

Discussion options

You must be logged in to vote

Hi @raster-blaster

Multiple things:

  • api.cogeo.xyz is deprecated and use a really old version of titiler
  • https://titiler.xyz is a official demo endpoint
  • in your case passing assets=B04,B03,B02 and assets=B02,B03,B04 is expected to gives different result, titiler will respect the order it was given

Since HTTP requests do not guarantee the order of query parameters or array query parameters, isn't this problematic?

Is that true? if yes this is problematic and we have then a bug in titiler, but TBH for now I never had any problem with parameter order 🤷

Does Titiler, underneath FastAPI, preserve the order of the assets query parameter?

It should

Is it the responsibility of the client to…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by raster-blaster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants