Set Coordinate Reference System from CLI

Answered

Comments

6 comments

  • Avatar
    Zuzana Ďuríčková CR

    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. 

     

     

    0
    Comment actions Permalink
  • Avatar
    HeritageExplorer

    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

    0
    Comment actions Permalink
  • Avatar
    Zuzana Ďuríčková CR

    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. 

    0
    Comment actions Permalink
  • Avatar
    HeritageExplorer

    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!

    0
    Comment actions Permalink
  • Avatar
    terra.drone

    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,

    0
    Comment actions Permalink
  • Avatar
    Lucia CR

    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

    0
    Comment actions Permalink

Please sign in to leave a comment.