Hello

I'm having an issue configuring my image mosaic correctly with the Coverage 
parameters.

I attached the gdalinfo for my geotiff since the actual geotiff is quite large. 
 The underlying data values for this particular geotiff are all 0.  It's a 
completely black image, however there is a "nodata" transparent line in the 
image.  See attached getMap.png.  After reading the instructions below, I'm 
trying to set the InputTransparentColor but no matter what value I set it to 
the entire image becomes transparent.  I would also like to mention that 
setting the InputTransparentColor for images that do not contain the background 
value of 0 works.

Should I change the nodata value in the geotiff to be -9999?
Should I create an SLD for the geotiff?

https://docs.geoserver.org/stable/en/user/data/raster/imagemosaic/configuration.html#coverage-parameters

Dominique Bessette

G:\>gdalinfo EMETEO-VIS-1km_201909301900.tif
Driver: GTiff/GeoTIFF
Files: EMETEO-VIS-1km_201909301900.tif
Size is 8250, 14303
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
Origin = (29.996122900000000,65.009388299999998)
Pixel Size = (0.009091848993939,-0.009090315080752)
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_RESOLUTIONUNIT=1 (unitless)
  TIFFTAG_XRESOLUTION=1
  TIFFTAG_YRESOLUTION=1
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  29.9961229,  65.0093883) ( 29d59'46.04"E, 65d 0'33.80"N)
Lower Left  (  29.9961229, -65.0093883) ( 29d59'46.04"E, 65d 0'33.80"S)
Upper Right ( 105.0038771,  65.0093883) (105d 0'13.96"E, 65d 0'33.80"N)
Lower Right ( 105.0038771, -65.0093883) (105d 0'13.96"E, 65d 0'33.80"S)
Center      (  67.5000000,   0.0000000) ( 67d30' 0.00"E,  0d 0' 0.01"N)
Band 1 Block=8250x1 Type=Byte, ColorInterp=Palette
  NoData Value=0
  Color Table (RGB with 256 entries)
    0: 0,0,0,0
    1: 0,0,0,255
    2: 1,1,1,255
    3: 2,2,2,255
    4: 3,3,3,255
    5: 4,4,4,255
    6: 5,5,5,255
    7: 6,6,6,255
    8: 7,7,7,255
    9: 8,8,8,255
   10: 9,9,9,255
   11: 10,10,10,255
   12: 11,11,11,255
   13: 12,12,12,255
   14: 13,13,13,255
   15: 14,14,14,255
   16: 15,15,15,255
   17: 16,16,16,255
   18: 17,17,17,255
   19: 18,18,18,255
   20: 19,19,19,255
   21: 20,20,20,255
   22: 21,21,21,255
   23: 22,22,22,255
   24: 23,23,23,255
   25: 24,24,24,255
   26: 25,25,25,255
   27: 26,26,26,255
   28: 27,27,27,255
   29: 28,28,28,255
   30: 29,29,29,255
   31: 30,30,30,255
   32: 31,31,31,255
   33: 32,32,32,255
   34: 33,33,33,255
   35: 34,34,34,255
   36: 35,35,35,255
   37: 36,36,36,255
   38: 37,37,37,255
   39: 38,38,38,255
   40: 39,39,39,255
   41: 40,40,40,255
   42: 41,41,41,255
   43: 42,42,42,255
   44: 43,43,43,255
   45: 44,44,44,255
   46: 45,45,45,255
   47: 46,46,46,255
   48: 47,47,47,255
   49: 48,48,48,255
   50: 49,49,49,255
   51: 50,50,50,255
   52: 51,51,51,255
   53: 52,52,52,255
   54: 53,53,53,255
   55: 54,54,54,255
   56: 55,55,55,255
   57: 56,56,56,255
   58: 57,57,57,255
   59: 58,58,58,255
   60: 59,59,59,255
   61: 60,60,60,255
   62: 61,61,61,255
   63: 62,62,62,255
   64: 63,63,63,255
   65: 64,64,64,255
   66: 65,65,65,255
   67: 66,66,66,255
   68: 67,67,67,255
   69: 68,68,68,255
   70: 69,69,69,255
   71: 70,70,70,255
   72: 71,71,71,255
   73: 72,72,72,255
   74: 73,73,73,255
   75: 74,74,74,255
   76: 75,75,75,255
   77: 76,76,76,255
   78: 77,77,77,255
   79: 78,78,78,255
   80: 79,79,79,255
   81: 80,80,80,255
   82: 81,81,81,255
   83: 82,82,82,255
   84: 83,83,83,255
   85: 84,84,84,255
   86: 85,85,85,255
   87: 86,86,86,255
   88: 87,87,87,255
   89: 88,88,88,255
   90: 89,89,89,255
   91: 90,90,90,255
   92: 91,91,91,255
   93: 92,92,92,255
   94: 93,93,93,255
   95: 94,94,94,255
   96: 95,95,95,255
   97: 96,96,96,255
   98: 97,97,97,255
   99: 98,98,98,255
  100: 99,99,99,255
  101: 100,100,100,255
  102: 101,101,101,255
  103: 102,102,102,255
  104: 103,103,103,255
  105: 104,104,104,255
  106: 105,105,105,255
  107: 106,106,106,255
  108: 107,107,107,255
  109: 108,108,108,255
  110: 109,109,109,255
  111: 110,110,110,255
  112: 111,111,111,255
  113: 112,112,112,255
  114: 113,113,113,255
  115: 114,114,114,255
  116: 115,115,115,255
  117: 116,116,116,255
  118: 117,117,117,255
  119: 118,118,118,255
  120: 119,119,119,255
  121: 120,120,120,255
  122: 121,121,121,255
  123: 122,122,122,255
  124: 123,123,123,255
  125: 124,124,124,255
  126: 125,125,125,255
  127: 126,126,126,255
  128: 127,127,127,255
  129: 128,128,128,255
  130: 129,129,129,255
  131: 130,130,130,255
  132: 131,131,131,255
  133: 132,132,132,255
  134: 133,133,133,255
  135: 134,134,134,255
  136: 135,135,135,255
  137: 136,136,136,255
  138: 137,137,137,255
  139: 138,138,138,255
  140: 139,139,139,255
  141: 140,140,140,255
  142: 141,141,141,255
  143: 142,142,142,255
  144: 143,143,143,255
  145: 144,144,144,255
  146: 145,145,145,255
  147: 146,146,146,255
  148: 147,147,147,255
  149: 148,148,148,255
  150: 149,149,149,255
  151: 150,150,150,255
  152: 151,151,151,255
  153: 152,152,152,255
  154: 153,153,153,255
  155: 154,154,154,255
  156: 155,155,155,255
  157: 156,156,156,255
  158: 157,157,157,255
  159: 158,158,158,255
  160: 159,159,159,255
  161: 160,160,160,255
  162: 161,161,161,255
  163: 162,162,162,255
  164: 163,163,163,255
  165: 164,164,164,255
  166: 165,165,165,255
  167: 166,166,166,255
  168: 167,167,167,255
  169: 168,168,168,255
  170: 169,169,169,255
  171: 170,170,170,255
  172: 171,171,171,255
  173: 172,172,172,255
  174: 173,173,173,255
  175: 174,174,174,255
  176: 175,175,175,255
  177: 176,176,176,255
  178: 177,177,177,255
  179: 178,178,178,255
  180: 179,179,179,255
  181: 180,180,180,255
  182: 181,181,181,255
  183: 182,182,182,255
  184: 183,183,183,255
  185: 184,184,184,255
  186: 185,185,185,255
  187: 186,186,186,255
  188: 187,187,187,255
  189: 188,188,188,255
  190: 189,189,189,255
  191: 190,190,190,255
  192: 191,191,191,255
  193: 192,192,192,255
  194: 193,193,193,255
  195: 194,194,194,255
  196: 195,195,195,255
  197: 196,196,196,255
  198: 197,197,197,255
  199: 198,198,198,255
  200: 199,199,199,255
  201: 200,200,200,255
  202: 201,201,201,255
  203: 202,202,202,255
  204: 203,203,203,255
  205: 204,204,204,255
  206: 205,205,205,255
  207: 206,206,206,255
  208: 207,207,207,255
  209: 208,208,208,255
  210: 209,209,209,255
  211: 210,210,210,255
  212: 211,211,211,255
  213: 212,212,212,255
  214: 213,213,213,255
  215: 214,214,214,255
  216: 215,215,215,255
  217: 216,216,216,255
  218: 217,217,217,255
  219: 218,218,218,255
  220: 219,219,219,255
  221: 220,220,220,255
  222: 221,221,221,255
  223: 222,222,222,255
  224: 223,223,223,255
  225: 224,224,224,255
  226: 225,225,225,255
  227: 226,226,226,255
  228: 227,227,227,255
  229: 228,228,228,255
  230: 229,229,229,255
  231: 230,230,230,255
  232: 231,231,231,255
  233: 232,232,232,255
  234: 233,233,233,255
  235: 234,234,234,255
  236: 235,235,235,255
  237: 236,236,236,255
  238: 237,237,237,255
  239: 238,238,238,255
  240: 239,239,239,255
  241: 240,240,240,255
  242: 241,241,241,255
  243: 242,242,242,255
  244: 243,243,243,255
  245: 244,244,244,255
  246: 245,245,245,255
  247: 246,246,246,255
  248: 247,247,247,255
  249: 248,248,248,255
  250: 249,249,249,255
  251: 250,250,250,255
  252: 251,251,251,255
  253: 252,252,252,255
  254: 253,253,253,255
  255: 254,254,254,255
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to