Greetings Sumo-Users,
I intend to create a workflow that imports public data into an OpenDrive-format with netconvert. Therefore in the first step I'm trying to import a network from OSM and public elevation data, I downloaded with QGIS. The problem is, that i get the following Error: Unknown color band in input.tiff. Its also shown and highlighted in the attached console output. <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/error.png> I assume that there is a problem with the exact format of the geotiff, but I cant find any information on the expected format of netconvert. I would be very grateful, if anyone could give me advice on that topic. With best regards Paul Schlenker -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Hello, the current loader expects a single grayscale colorband (GCI_GrayIndex) with raster data type GDT_Int16. regards, Jakob Am Fr., 26. Feb. 2021 um 13:29 Uhr schrieb SchlenkPa <[hidden email]>: Greetings Sumo-Users, _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Hello,
so I converted the tiff from Float32 RGB into the following format: <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/inputProperties.png> This should be the format you described. But after trying the same command on this geotiff, I get the same error for a short time, before it gives many of these warnings: <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/warnings.png> Best Regards Paul Schlenker Jakob Erdmann wrote > Hello, > the current loader expects a single grayscale colorband (GCI_GrayIndex) > with raster data type GDT_Int16. > regards, > Jakob > > Am Fr., 26. Feb. 2021 um 13:29 Uhr schrieb SchlenkPa < > schlenker@.rwth-aachen >>: > >> Greetings Sumo-Users, >> >> I intend to create a workflow that imports public data into an >> OpenDrive-format with netconvert. >> Therefore in the first step I'm trying to import a network from OSM and >> public elevation data, I downloaded with QGIS. >> >> The problem is, that i get the following Error: Unknown color band in >> input.tiff. Its also shown and highlighted in the attached console >> output. >> <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/error.png> >> >> I assume that there is a problem with the exact format of the geotiff, >> but >> I >> cant find any information on the expected format of netconvert. I would >> be >> very grateful, if anyone could give me advice on that topic. >> >> With best regards >> Paul Schlenker >> >> >> >> -- >> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ >> _______________________________________________ >> sumo-user mailing list >> > sumo-user@ >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > > _______________________________________________ > sumo-user mailing list > sumo-user@ > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
It looks as if the network (geo) coordinates are not within the boundary of geoTiff data. Can you post the <location> element of the net.xml file? Am Fr., 26. Feb. 2021 um 16:35 Uhr schrieb SchlenkPa <[hidden email]>: Hello, _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Hello,
The problem was solved by converting the CRS to EPSG:4326 - WGS 84 - Geographic. Thank you very much for the help. location with the old CRS: <location netOffset="-292145.67,-5628783.83" convBoundary="0.00,0.00,1540.99,1307.47" origBoundary="6.051284,50.773657,6.073494,50.785355" projParameter="+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/> location with the new CRS: <location netOffset="-292145.67,-5628783.83" convBoundary="0.00,0.00,1540.99,1307.47" origBoundary="6.051284,50.773657,6.073494,50.785355" projParameter="+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/> So nothing changed there. But it works now and I get a 3D landscape in SUMO. With best regards Paul Schlenker Jakob Erdmann wrote > It looks as if the network (geo) coordinates are not within the boundary > of > geoTiff data. Can you post the > <location> > element of the net.xml file? > > Am Fr., 26. Feb. 2021 um 16:35 Uhr schrieb SchlenkPa < > schlenker@.rwth-aachen >>: > >> Hello, >> >> so I converted the tiff from Float32 RGB into the following format: >> < >> http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/inputProperties.png> >> >> This should be the format you described. But after trying the same >> command >> on this geotiff, I get the same error for a short time, before it gives >> many >> of these warnings: >> <http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/warnings.png> >> >> >> Best Regards >> Paul Schlenker >> >> >> Jakob Erdmann wrote >> > Hello, >> > the current loader expects a single grayscale colorband (GCI_GrayIndex) >> > with raster data type GDT_Int16. >> > regards, >> > Jakob >> > >> > Am Fr., 26. Feb. 2021 um 13:29 Uhr schrieb SchlenkPa < >> >> > schlenker@.rwth-aachen >> >> >>: >> > >> >> Greetings Sumo-Users, >> >> >> >> I intend to create a workflow that imports public data into an >> >> OpenDrive-format with netconvert. >> >> Therefore in the first step I'm trying to import a network from OSM >> and >> >> public elevation data, I downloaded with QGIS. >> >> >> >> The problem is, that i get the following Error: Unknown color band in >> >> input.tiff. Its also shown and highlighted in the attached console >> >> output. >> >> < >> http://sumo-user-mailing-list.90755.n8.nabble.com/file/t568/error.png> >> >> >> >> I assume that there is a problem with the exact format of the geotiff, >> >> but >> >> I >> >> cant find any information on the expected format of netconvert. I >> would >> >> be >> >> very grateful, if anyone could give me advice on that topic. >> >> >> >> With best regards >> >> Paul Schlenker >> >> >> >> >> >> >> >> -- >> >> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ >> >> _______________________________________________ >> >> sumo-user mailing list >> >> >> >> > sumo-user@ >> >> >> To unsubscribe from this list, visit >> >> https://www.eclipse.org/mailman/listinfo/sumo-user >> >> >> > >> > _______________________________________________ >> > sumo-user mailing list >> >> > sumo-user@ >> >> > To unsubscribe from this list, visit >> > https://www.eclipse.org/mailman/listinfo/sumo-user >> >> >> >> >> >> -- >> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ >> _______________________________________________ >> sumo-user mailing list >> > sumo-user@ >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > > _______________________________________________ > sumo-user mailing list > sumo-user@ > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ _______________________________________________ sumo-user mailing list [hidden email] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user |
Free forum by Nabble | Edit this page |