RoadRunner Import GIS Asset; GDAL Error

5 views (last 30 days)
John
John on 19 Jul 2024
Answered: Siraj on 29 Jul 2024
Hello,
I have just installed and started learning RoadRunner; however, I cannot import Geotiffs. Other tools work except importing GIS assets, I've tried both JPEG2000 and Geotiff and get GDAL Error. The Geotiffs I use are georeferenced and open correctly in QGIS, Autodesk programs, etc. I've attached the output as txt.
Computer Specs: Ryzen 5950x, 48gbs Ram, RTX 4070
I think I have adequete system resources to open the terrain.
> PROJ_LIB set. Vertical projections enabled
> Started RoadRunner API server on port 35707.
> ERROR: GDAL Error class : 3, Error Number : 1, Error Msg : failed to load datum shift file
> ERROR: GDAL Error class : 3, Error Number : 1, Error Msg : GDALWarperOperation::ComputeSourceWindow() failed because the pfnTransformer failed.
> WARNING: GDAL Warning : Error Number : 1, Error Msg : Unable to compute source region for output window 0,0,500,500, skipping.
> ERROR: GDAL Error class : 3, Error Number : 1, Error Msg : failed to load datum shift file
> ERROR: Failed to transform bounds: Failed to transform corner point: (2.12105, 0.440862)
> ERROR: GDAL Error class : 3, Error Number : 1, Error Msg : failed to load datum shift file
> ERROR: Failed to transform bounds: Failed to transform corner point: (2.12105, 0.440862)
> ERROR: GDAL Error class : 3, Error Number : 1, Error Msg : failed to load datum shift file
> ERROR: Failed to transform bounds: Failed to transform corner point: (2.12105, 0.440862)

Answers (1)

Siraj
Siraj on 29 Jul 2024
Hi John,
I understand you are encountering errors related to "GDAL" and "PhysXGpu dll" when importing GIS assets into RoadRunner.
You can ignore the "PhysXGpu dll" error message as it doesn't affect functionality. PhysX tries to enable GPU acceleration by default and prints messages if the platform doesn't support GPU-accelerated physics.
To fix the "GDAL" error, please follow these steps:
  1. Open System Properties (press Start and type "Environment Variables").
  2. Click the Environment Variables button at the bottom.
  3. Check the User and System variables for entries named PROJ_LIB or PROJ_DATA. If they exist, try clearing them and re-test.
Also, ensure your system meets the minimum requirements using the following link: https://www.mathworks.com/help/roadrunner/ug/roadrunner-system-requirements.html
To import GIS data in RoadRunner:
  1. Copy the ".tif" files to the project asset folder.
  2. Drag and drop the ".tif" files into the scene. Make sure the files include the projection in their headers. If the files are not geolocated, you must set a Custom Projection.
For detailed steps on adding GIS assets, refer to this documentation: https://www.mathworks.com/help/roadrunner/ug/create-roads-around-imported-gis-assets.html
To learn about building scenes using imported GIS data, check this link: https://www.mathworks.com/help/roadrunner/import-scene-data.html?s_tid=CRUX_lftnav
I hope this helps resolve your issue.
Thanks.

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!