hotosm / OpenAerialMap

OpenAerialMap is an open service to provide access to a commons of openly licensed imagery and map layer services.
https://openaerialmap.org/
242 stars 31 forks source link

Upload failed: Transcoding 3 band(s)... #137

Closed grischard closed 3 years ago

grischard commented 4 years ago

https://map.openaerialmap.org/#/upload/status/5de54975b3b5ce0006c2d95a?_k=99ayiq shows the error.

Size 14,423,836,913 (13.4 GB)

Might be related to #102?

> gdalinfo ortho_2019.jp2
Driver: JP2OpenJPEG/JPEG-2000 driver based on OpenJPEG library
Files: ortho_2019.jp2
Size is 287066, 409889
Coordinate System is:
PROJCS["Luxembourg 1930 / Gauss",
    GEOGCS["Luxembourg 1930",
        DATUM["Luxembourg_1930",
            SPHEROID["International 1924",6378388,297,
                AUTHORITY["EPSG","7022"]],
            TOWGS84[-189.6806,18.3463,-42.7695,-0.33746,-3.09264,2.53861,0.4598],
            AUTHORITY["EPSG","6181"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4181"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",49.83333333333334],
    PARAMETER["central_meridian",6.166666666666667],
    PARAMETER["scale_factor",1],
    PARAMETER["false_easting",80000],
    PARAMETER["false_northing",100000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","2169"]]
Origin = (48827.800000000002910,138859.799999999988358)
Pixel Size = (0.200000000000000,-0.200000000000000)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (   48827.800,  138859.800) (  5d43'48.91"E, 50d10'54.72"N)
Lower Left  (   48827.800,   56882.000) (  5d44'12.59"E, 49d26'41.55"N)
Upper Right (  106241.000,  138859.800) (  6d32' 2.56"E, 50d10'55.58"N)
Lower Right (  106241.000,   56882.000) (  6d31'42.63"E, 49d26'42.38"N)
Center      (   77534.400,   97870.900) (  6d 7'56.68"E, 49d48'51.07"N)
Band 1 Block=1024x1024 Type=Byte, ColorInterp=Red
  Overviews: 143533x204944, 71766x102472, 35883x51236, 17941x25618, 8970x12809, 4485x6404, 2242x3202, 1121x1601, 560x800, 280x400, 140x200, 70x100
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
Band 2 Block=1024x1024 Type=Byte, ColorInterp=Green
  Overviews: 143533x204944, 71766x102472, 35883x51236, 17941x25618, 8970x12809, 4485x6404, 2242x3202, 1121x1601, 560x800, 280x400, 140x200, 70x100
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
Band 3 Block=1024x1024 Type=Byte, ColorInterp=Blue
  Overviews: 143533x204944, 71766x102472, 35883x51236, 17941x25618, 8970x12809, 4485x6404, 2242x3202, 1121x1601, 560x800, 280x400, 140x200, 70x100
  Overviews: arbitrary
  Image Structure Metadata:
    COMPRESSION=JPEG2000
grischard commented 4 years ago

Copy-pasting the email I got from the sysadmins - thank you @dakotabenjamin!

I looked into the reason why the upload failed. The logs returned:

rasterio.errors.CRSError: A defined coordinate reference system is required

Could you check the data and try again?

gdalinfo above does seem to find EPSG:2169 correctly though?

cgiovando commented 3 years ago

Please reopen if still relevant - thanks