Skip to main content
deleted 41 characters in body
Source Link

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff This the gdalinfo output on the file (before the cloud optimize) enter image description here enter image description here This the gdalinfo output on the file (after the cloud optimize) enter image description here

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff This the gdalinfo output on the file (before the cloud optimize) enter image description here enter image description here This the gdalinfo output on the file (after the cloud optimize) enter image description here

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff This the gdalinfo output on the file (before the cloud optimize) enter image description here This the gdalinfo output on the file (after the cloud optimize) enter image description here

added 236 characters in body
Source Link

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff This the gdalinfo output on the file (before the cloud optimize) enter image description here enter image description here This the gdalinfo output on the file (after the cloud optimize) enter image description here

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff This the gdalinfo output on the file (before the cloud optimize) enter image description here enter image description here This the gdalinfo output on the file (after the cloud optimize) enter image description here

deleted 126 characters in body
Source Link

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

Also could some explain why I can't just Terracotta serve myrasterfile.tif or even terracotta serve -r S2_2018061_VV.tif. I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

Also could some explain why I can't just Terracotta serve myrasterfile.tif or even terracotta serve -r S2_2018061_VV.tif. I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff

So I installed Terracotta. They have this weird system for naming their files https://terracotta-python.readthedocs.io/en/latest/concepts.html#data-model. So I converted my file into there optimized raster(as stated in the docs) and gave it a filename similar to how they have their files (S2_denmark_20180524_B03.tif) and then had to run :

terracotta serve -r {}_{date}_{band}.tif

in the folder in which my renamed file was.

When I went http://localhost:5001/rgb/2018061/preview.png?r=VV&g=VV&b=VV (my file is called S2_2018061_VV.tif) I got a B&W version of my geoTIFF. I know the bands are meant to be like different colors or something, What band should I pick to get a RGB image instead?

I really don't understand the terracotta filename syntax in general like what exactly are this bands meant for and the type S2. The docs were not very helpful in explaining this and research TIFF bands has not been very helpful.

Terracotta docs https://terracotta-python.readthedocs.io/en/latest/index.html

tiff

improve post
Source Link
J. Monticolo
  • 15.9k
  • 1
  • 29
  • 65
Loading
deleted 81 characters in body
Source Link
Loading
deleted 2 characters in body
Source Link
Vince
  • 20.3k
  • 16
  • 48
  • 65
Loading
Source Link
Loading