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

[Question] Labeling a dataset of a lot of TIFs #19

Open
iibrahimli opened this issue Oct 6, 2023 · 0 comments
Open

[Question] Labeling a dataset of a lot of TIFs #19

iibrahimli opened this issue Oct 6, 2023 · 0 comments

Comments

@iibrahimli
Copy link

iibrahimli commented Oct 6, 2023

Greetings,

I want to use this awesome tool to label a lot of TIFs that I have in a Google Storage bucket. I have deployed a TiTiler instance that is authenticated to serve TIFs from the bucket. However, I can only serve a single TIF with TiTiler by passing it a URL of the image (like setting url=gs://my-bucket/path/to/the/image.tif in the manual request to TiTiler). I think I need to create a MosaicJSON or TileJSON for my images, which I can do, but I am not sure how to add that to this tool. In the GeoTiff example docs there is an example using a Tile layer, but I couldn't get that to work, is there a way of adding multiple images using a MosaicJSON or TileJSON endpoint of TiTiler? FWIW, I can view the images using the /cog/map endpoint of TiTiler.

Using http://localhost:8000/mosaicjson/{z}/{x}/{y}.jpg?tileMatrixSetId=WebMercatorQuad&tile_scale=1&url=gs://<MY-BUCKET>/mosaic.json should work but it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant