CLI ortho calculation without rsortho.

Hello,

I`m trying to make a pipeline that does full workflow and on ortho calculation it seems to require .rsortho file mandatory, even though in CLI documentation it is shown as optional. If for example I do generate project and ortho projection in GUI and export it, than use exported orthophoto in my pipeline it seems to work for that one dataset. It does not work on any different dataset, and for example if I do not pass any .rsortho it seems to fail on ortho projection calculation.

Hi, I’ve checked this in the console using the simple script: -align -setReconstructionRegionByDensity -calculateNormalModel -calculateOrthoProjectionand the ortho was calculated without rsortho file needed.

What kind of faillure are you getting?

Thank you for your response, I`m currently trying with this workflow:

“%RS_EXE%” ^

-headless ^

-newScene ^

-setProjectCoordinateSystem "epsg:%EPSG%" ^

-addFolder "%PHOTOS%" ^

-align ^

-selectMaximalComponent ^

-setReconstructionRegionAuto ^

-calculateNormalModel ^

-unwrap "%UNWRAP_XML%" ^

-calculateTexture "%TEX_XML%" ^

-exportRegistration "%COLMAP_DIR%\\colmap.txt" "%REG_XML%" ^

-setOutputCoordinateSystem "epsg:%EPSG%" ^

-exportSelectedModel "%LAS_OUT%" "%LAS_XML%" ^

-exportSelectedModel "%MESH_OUT%" "%MESH_XML%" ^

-calculateOrthoProjection ^

-selectOrthoProjection "%ORTHO_NAME%" ^

-exportOrthoProjection "%ORTHO_OUT%" "%ORTHO_XML%" ^

-exportOrthoProjection "%DEM_OUT%" "%DEM_XML%" ^

-save "%PROJ_DIR%" ^

-quit

Maybe you will be able to pinpoint what I`m doing wrong here… It just shows that ortho calculation failed when without .rsortho (I do not see any error code or something) when I pass .rsortho from other dataset (premade .rsortho) it seems to not fail with and error but rather creates empty ortho projection (shows black, area 2d = 0 area 3d = 0 etc).

Is this also happening after application reset?

It doesn`t seem to change anything. Although I had fresh install.

Ok it seems to be resolved with:

-selectModel “Model 1”

After model selection it seems to work as expected. Thank you for your input.