Closed TL-QZ closed 1 year ago
Hi @tommieeee,
I was able to recreate the issue. Can you limit to working with the las vegas until we can find a fix?
Yes, I was able to create a work around to bypass this error for now to work on other parts of my training pipeline. Thank you for the speedy response. Please let me know if there is any update on this issue.
And just to add a note that the las vegas drivable area raster map seems to be correct with the map itself and the transformation matrix and other meta data.
Hi @tommieeee,
Can you try installing rasterio==1.3.3
?
pip install rasterio==1.3.3
Hi @patk-motional,
It seems to be working. Thank you for your help! I will close this issue for now.
Thanks again, T
Describe the bug
Greetings, I encountered this RasterIO bug while trying to load drivable area raster map using the map class in "scenario.map_api" ("nuplan.common.maps.nuplan_map.nuplan_map.NuPlanMap" class) . It seems the driverable_area raster layer is only provided for "us-nv-las-vegas-strip" via. a 'drivable_area.npy.npz' file. This file is not provided for other 3 maps (Singapore, Boston and Pittsburgh). The class then automatically tries to load the drivable raster layer by reading from the 'map.gpkg' file using the RasterIO package. But it seems the RasterIO package used in your provided code framework won't be able to read the gpkg file.
Setup
system setup OS: Ubuntu 20.04.4 LTS conda environment: setup by following the provided nuplan setup procedure
Steps To Reproduce
Steps to reproduce the behavior:
Stack Trace
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I want to ask if I could change the function here and use other package like geoPanda to read the map file and get the raster layer. Will that cause my submission not be able to run in your test environment?
Or should I get the drivable area from the vector map ?
Or if there is any workaround suggested will be appreciated?
i understand similar issue has been rased in #248 and #235 but there were no usable solution from those two previously raised issues. Thanks in advance for your help.