Page MenuHomeFeedback Tracker

Georeferenced Data Import (GeoTIFF et al) fails in Terrain Builder
Closed, ResolvedPublic


Terrain Builder can not import many (perhaps even any?) georeferenced image files, either as sat maps or as terrain grids. This also prevents the use of certain import file formats even if the user has no interest in georeferencing. If it isn't possible to fix georeferencing in TB, it would be good to at least have TB load the files and ignore the georeference metadata.

The error happens:

(1) Regardless of the type of input file; GeoTIFF, ASC and other GDAL supported georeferenced formats seem to case the error.
(2) Regardless of the source projection system; I was able to create test files with "Source WKT"'s that were _identical_ to the "Target WKT" (byte-for-byte) and the error still occurred.
(3) On completely empty projects, and on completed projects with valid mapframes with the same projection system.

Also, even before you do anything in Terrain Builder, the log is being spammed with dozens of "Debugger info - C:\workdir\VisitorWRP\src\visitor4\common\Projector.cpp(501)(func: Projector::CProjector::TransformUTMtoGeoCS) [AssertNoDlg] MainThread=1732 Failed to create UTM to WGS84 coordinate transformation".

I've attached a sample GeoTIFF. My project was using UTM Zone 31 North.

There error that occurs when you try to import is:

Warning: Import - Zone of imported data was not detected. Data cannot be imported.
Importer - Importing file: P:\tb_georeferenced_import_issue_2.tif is from another zone than project zone
Error: Import error - Failed to create coordinate transformation.
Source WKT: PROJCS["unnamed",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS84",6378137,298.2572235630016,AUTHORITY["EPSG","7030"]],
Taget WKT: PROJCS["UTM destination coordinate system.",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_

Error: Import error - Projector - Failed to create coordinate transformation.


Legacy ID
Steps To Reproduce

(1) Start Terrain Builder
(2) Open "File->Import->Terrains...", "File->Import->Satellite images...", or any other option supporting georeferenced images.
(3) Select a georeferenced raster file (a sample is attached to this bug report).
(4) Note the error and the lack of imported layers.

Also, it is not related to not having a mapframe, because you can also do:

(5) Follow the process to create a mapframe with a specific UTM zone.
(6) Repeat the import process and note the same error occurs.

Event Timeline

IanBanks edited Steps To Reproduce. (Show Details)Mar 24 2014, 1:47 PM
IanBanks edited Additional Information. (Show Details)
IanBanks set Category to Tools.
IanBanks set Reproducibility to Always.
IanBanks set Severity to None.
IanBanks set Resolution to Fixed.
IanBanks set Legacy ID to 4189582597.May 7 2016, 6:16 PM
IanBanks added a subscriber: IanBanks.

I found the cause of this issue, the PROJ.4 library is missing from the Arma 3 Tools package:

Resolved according to Techrep 6.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:16 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.