Forum

Author Topic: Import reference with first column corresponding to coordinate  (Read 37832 times)

Paulo

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Import reference with first column corresponding to coordinate
« on: January 18, 2026, 09:10:03 AM »
Hello,

I have noticed that when I try to import a CSV reference file with first column corresponding to a coordinate (X, Y or Z) then after importing such file, the first coordinate of first row defaults to 0.0000 which is erroneous.

In first capture I show import CSV dialog where first column corresponds to Longitude.

In second attachement, I show markers after import, first marker has longitude equal to 0   .... should be 25.3726347356
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15663
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #1 on: January 20, 2026, 02:25:08 PM »
Hello Paul,

I am not able to reproduce this problem in latest 2.3.0 release version. Can you share the text file used as an attachment?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #2 on: January 20, 2026, 10:14:09 PM »
Hi Alexey,

here is the csv file giving me the errneous first coordinate...
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15663
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #3 on: January 22, 2026, 11:41:25 AM »
Hello Paul,

It seems that there is an invisible symbol in the beginning of the first line that causes the problem.

See what is shown, if you read the lines from the file using Python:
Code: [Select]
['п»ї25.3726347356,37.1101675384,9.783,3\n',
'25.3722896688,37.1101742422,7.875,1\n',
'25.3723613019,37.1103212426,9.212,2\n']
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #4 on: January 22, 2026, 06:56:52 PM »
Thank you for the info, Alexey.

These CSV files were produced by Global Mapper using export CSV and does seem that it produces an invisible character at beginning of first line.... so it seems a problem
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15663
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #5 on: January 22, 2026, 08:03:25 PM »
Hello Paul,

Maybe that first symbol is BOM? Is there an option to choose encoding when you export csv file?
For example, Notepad++ allows to encode to UTF8 withot BOM, maybe in Global Mapper you can also select this encoding for output?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1592
    • View Profile
Re: Import reference with first column corresponding to coordinate
« Reply #6 on: January 23, 2026, 12:58:54 PM »
Hi Alexey,

yes, when I disable the option Use UTF-8 Encoding for Text Values
in export CSV (global mapper), the special character is no longer present in first line...
Best Regards,
Paul Pelletier,
Surveyor