Forum

Author Topic: Import markers/reference - degrees format options  (Read 7536 times)

orellius

  • Newbie
  • *
  • Posts: 17
    • View Profile
Import markers/reference - degrees format options
« on: November 07, 2019, 08:08:13 PM »
Hello,

Been using Metashape for years, have always wondered this. Is there any way to import GCPs or reference as a CSV/TXT file that is formatted in say Degrees Minutes Seconds (DMS) (dd mm ss.sss, or dd.mmsssss)?

Currently it seems there is only a way to import as Decimal Degrees (dd.ddddddd).

Just looking to be able to import different formats, I have to support customers who provide survey coordinates from varying field survey software brands, not everyone can easily figure out how to get decimal degrees. Pain in the butt sometimes.

Thanks in advance!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15424
    • View Profile
Re: Import markers/reference - degrees format options
« Reply #1 on: November 07, 2019, 08:42:07 PM »
Hello orellius,

I think that the coordinate information input from CSV in the following format should work in the latest Metashape version:
Code: [Select]
IMG00001.jpg     19°39'59.99"E     60° 20'0.05"N     100.073997
Let me know, if you have a problems with the import in such format (in such case the example of the input lines would be helpful).
Best regards,
Alexey Pasumansky,
Agisoft LLC

orellius

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Import markers/reference - degrees format options
« Reply #2 on: November 07, 2019, 10:46:36 PM »
Hello orellius,

I think that the coordinate information input from CSV in the following format should work in the latest Metashape version:
Code: [Select]
IMG00001.jpg     19°39'59.99"E     60° 20'0.05"N     100.073997
Let me know, if you have a problems with the import in such format (in such case the example of the input lines would be helpful).

Hello and thanks for the quick reply. See my screenshot, hopefully it explains all.

I have tried it and it doesnt seem to work, I've tinkered around with the import options and it just comes in as ddd.0000 (degrees with zeros trailing). Likely due to the lack of ability to tell the import phase that it is a "degrees space minutes space seconds comma". I can choose tab or space or comma delimited only. The source file is a TXT file.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15424
    • View Profile
Re: Import markers/reference - degrees format options
« Reply #3 on: November 08, 2019, 08:38:46 PM »
Hello orellius,

I suggest to use degrees,minutes,seconds marks in the CSV file (like in my example above) or "colon" delimiter:
Code: [Select]
IMG00001.jpg,19°39'59.99"E,60° 20'0.05"N,100.073997or
Code: [Select]
IMG00002.jpg,19:39:59.99E,60:20:0.05N,100.073997
Best regards,
Alexey Pasumansky,
Agisoft LLC

orellius

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Import markers/reference - degrees format options
« Reply #4 on: November 08, 2019, 08:52:52 PM »
Hello orellius,

I suggest to use degrees,minutes,seconds marks in the CSV file (like in my example above) or "colon" delimiter:
Code: [Select]
IMG00001.jpg,19°39'59.99"E,60° 20'0.05"N,100.073997or
Code: [Select]
IMG00002.jpg,19:39:59.99E,60:20:0.05N,100.073997

Sorry I assumed that was just a photo of what DMS looks like for formatting, not that you actually were suggesting to insert the degrees symbol, minutes and seconds into the values. That will work but is not ideal, the way it comes out of at least this survey software (Topcon Magnet Field) is in the format I showed, there is no option to have the symbols inserted into the spaces, or colons. I'm guessing that most field survey software are like this, typically limited delimiter options.

It's good though I know in the future that it can actually be done, if the customer I need to support can't provide me with decimal degrees then they have to provide a properly formatted file like you show, or I will have to manually insert the formatting myself. Not ideal but I guess it's a solution, now that I know it can actually take in a DMS formatted coordinate.

I do have options of converting their coordinates via office software, this was more of a inquiry just to see if Metashape can do it and avoid some other manual work.

Thanks!