Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

some geotifs are super small < 30MB #81

Closed JesJehle closed 4 weeks ago

JesJehle commented 1 month ago

how can this be? 3450 : e13f22d3-f03a-4017-9080-d59c6f4a80fe_5d8788850e02d300050aa109.tif 3305: 62f4ebfa-0e82-4ccc-8c56-3468ddb1ac3a_5b6473dd40e11005cf16cc89.tif

They already have JPEG compression:

Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=YCbCr JPEG
  INTERLEAVE=PIXEL
  JPEGTABLESMODE=1
  JPEG_QUALITY=75
  SOURCE_COLOR_SPACE=YCbCr
Corner Coordinates:
Upper Left  (  612438.403, 4949432.722) ( 34d25' 8.26"E, 44d41'22.03"N)
Lower Left  (  612438.403, 4948315.777) ( 34d25' 7.37"E, 44d40'45.84"N)
Upper Right (  613544.714, 4949432.722) ( 34d25'58.50"E, 44d41'21.40"N)
Lower Right (  613544.714, 4948315.777) ( 34d25'57.61"E, 44d40'45.21"N)
Center      (  612991.558, 4948874.250) ( 34d25'32.94"E, 44d41' 3.62"N)
Band 1 Block=512x512 Type=Byte, ColorInterp=Red
  Min=0.000 Max=255.000 
  Minimum=0.000, Maximum=255.000, Mean=64.662, StdDev=67.149
  Overviews: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Mask Flags: PER_DATASET 
  Overviews of mask band: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Metadata:
    STATISTICS_MAXIMUM=255
    STATISTICS_MEAN=64.662366798965
    STATISTICS_MINIMUM=0
    STATISTICS_STDDEV=67.149052246862
Band 2 Block=512x512 Type=Byte, ColorInterp=Green
  Min=0.000 Max=255.000 
  Minimum=0.000, Maximum=255.000, Mean=71.537, StdDev=69.066
  Overviews: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Mask Flags: PER_DATASET 
  Overviews of mask band: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Metadata:
    STATISTICS_MAXIMUM=255
    STATISTICS_MEAN=71.537347162161
    STATISTICS_MINIMUM=0
    STATISTICS_STDDEV=69.066329825161
Band 3 Block=512x512 Type=Byte, ColorInterp=Blue
  Min=0.000 Max=255.000 
  Minimum=0.000, Maximum=255.000, Mean=66.956, StdDev=67.043
  Overviews: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Mask Flags: PER_DATASET 
  Overviews of mask band: 11064x11170, 5532x5585, 2766x2793, 1383x1397, 692x699, 346x350
  Metadata:
    STATISTICS_MAXIMUM=255
    STATISTICS_MEAN=66.956065884398
    STATISTICS_MINIMUM=0
    STATISTICS_STDDEV=67.042782743222
JesJehle commented 1 month ago

@cmosig is this a feature or a bug?

cmosig commented 1 month ago

Expected. These are most likely from openaerialmap.