Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Error: Unknown color band when reading elevation TIFF

Can you provide your input files for testing?

Am Mi., 24. Nov. 2021 um 09:30 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hello,
I've recently noted an error when running netconvert. When giving as input an elevation, 16CInt TIFF (I've tried both signed and unsigned bits), the following error raises:

Error: Unknown color band in /home/user/sumo_scripts/data/Zaragoza/zgz_cint16_sg.tif

I have double checked the bit types and number of bands and seems to be correct (16 bits, grayscale, 1 band). Also I've checked that the extent of my TIFF file is larger than that of the .osm file used to create the SUMO network.
This is the info returned by gdalinfo:

Driver: GTiff/GeoTIFF
Files: zgz_cint16_sg.tif
Size is 10801, 10801
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 = (-2.000138888888888,43.000138888888898)
Pixel Size = (0.000277777777778,-0.000277777777778)
Metadata:
  AREA_OR_POINT=Area
  DataType=Generic
Image Structure Metadata:
  INTERLEAVE=BAND
Band 1 Block=128x128 Type=Int16, ColorInterp=Gray
  NoData Value=32767

Any suggestions to solve this problem?

Regards,
Alejandro
--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top