Set Coordinate Reference System from CLI

Hi all, 

I know there is a -set option in CLI to set application settings. I cannot however find a list of all settings available, and would like to set both the project coordinate system and output coordinate system from CLI. Any idea what the setting is ? 

Thanks a lot for your help, 

Jonathan

Hello Jonathan,

you can find all keys and values for a -set command in the last tile of the application Help called Settings Keys & Values. You can define the project and output coordinate system by exporting global settings to -rcconfig file and importing this file using -importGlobalSettings command. 

 

 

Hi Zuzana, 

Thanks for the quick reply. The global setting is a binary file, right ? I would like to be able to set the CRS from an EPSG code or proj4 string, directly via the CLI to soften the process of CRS selection. Does this option exists yet or should I export one global settings file per CRS I want to use (~120 CRS)? And thanks for point me on the track of this Settings keys and values tile, very interesting!

Another question I had not noticed. RC now tells me “Some of the added files contain inaccurate GPS coordinates” - which is great for files with GPS at (0,0). But it tells me that for files which have a good GPS (their lat/lon are in Cambodia, and the project CRS is set to EPSG:32648). Any hint ? 

Thanks again a lot for your help, 
Jonathan

Hello,

yes it is a binary file. Currently there is no direct command for setting the project coordinate system.

Regarding the warning about inaccurate GPS coordinates, after which steps did this message appear? Can you perhaphs share a screenshot of that message? Thank you. 

Hi again, 

It was a blank project, I imported a dozen files and the message what I wrote - I will make a screenshot when I get the time. Thanks again!

Hello Zuzana Ďuríčková CR,

I am also interested about that.

Does the current version of CR support setting Coordinate Reference System from CLI, plz?

Thanks,

hello, it is not available yet, I recommend you to post it is as a new feature request here: https://support.capturingreality.com/hc/en-us/community/topics/115000321889-Feature-Requests