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

Hi again Jakob,
After building SUMO with the latest relase of gfal (GDAL 3.4.0) but I'm still getting the same error. However, I will conduct a few more tests and I will let you know about the results.

Regards,
Alejandro.

El mié, 24 nov 2021 a las 21:31, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
I've had sucess on Ubuntu 20.4, RHEL 7.9 and Windows 10
My guess would be that the difference in behavior is related to the GDAL library version in use.
I have gdal 3.0.4 on ubunut and 1.11.4-3.el7 on RHEL

Am Mi., 24. Nov. 2021 um 11:16 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Currently I'm using the latest version of SUMO on CentOS version 7.8.2003.

I've also tried with sumo 1.10.0 but the error persists

El mié, 24 nov 2021 a las 10:35, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
Both files are working fine on my end (latest version of SUMO on Linux). Which version of SUMO and what Operating System are you using?

Am Mi., 24. Nov. 2021 um 10:22 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hi Jakob,
Here goes a wetransfer link with a couple of TIFF files (corresponding to two different attempts of use them as inputs in netconvert) for the domain of study.



El mié, 24 nov 2021 a las 10:09, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
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
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx

Back to the top