Losing #1 point when importing control points

429
4
Jump to solution
05-11-2023 12:35 AM
JEngvall
New Contributor II

When importing control points in Drone2Map from txt-file the first point is always removed and not imported. I've shuffled the point rows around in the txt and it is not something wrong with that point, D2M just removes the first one regardless. Is this expected or a bug in 2023.1?

0 Kudos
1 Solution

Accepted Solutions
Pål_Herman_Sund
Occasional Contributor II

You would need a first line describing the columns. Four (4) different characters can be used as delimiter (Semicolon, Comma, Pipe, Tab). An yes i normally do

PNTID;X;Y;Z
01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658

 

View solution in original post

4 Replies
Pål_Herman_Sund
Occasional Contributor II
Hi @JEngvall I have never experienced what you are describing. How does the text-file look like? I normally have files looking like:
PNTID;X;Y;Z
01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658

 

JEngvall
New Contributor II

Do they look like this: 
"01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658"

or like this: 


"PNTID;X;Y;Z
01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658"

My guess is that if you only have: 
"01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658"

then the first row will be removed. But then I guess D2M uses the first row as template for the control points and that the behavior is excepted.

0 Kudos
Pål_Herman_Sund
Occasional Contributor II

You would need a first line describing the columns. Four (4) different characters can be used as delimiter (Semicolon, Comma, Pipe, Tab). An yes i normally do

PNTID;X;Y;Z
01;577559.9836;6620482.6793;126.1027
02;577565.8906;6620494.5779;126.6658

 

JEngvall
New Contributor II

that solves my question, thanks!