GCPi Export rounding 2 decimal places

I spent a lot of time using the GCPi to locate GCPs to find out the export rounds to two decimal places. This kills my accuracy check due to rounding.

I found the closed issue about wrong coordinates being exported but the issue is flagged as incomplete. It is my understanding the rounded Lat/Lons are at the point I pick in the picture of where the gcp is located. Is this correct? Does the paid version have this rounding issue?

Does the WebODM Lightning unlimited plan GCPi version have this issue?

Below is the generated file. Is there a way to salvage what I’ve done so far?

EPSG:4269
-75.02 40.75 0 1148.15 89.57 GCP_3-4_100_0001_0338.JPG gcp3
-75.02 40.75 0 5290.88 3127.27 gcp_3_7-12_100_0001_0225.JPG gcp3
-75.02 40.75 0 1332.25 3073.75 GCP_3-4_100_0001_0338.JPG gcp4
-75.02 40.75 0 833.23 1014.42 GCP_4712_100_0001_0248.JPG gcp4
-75.02 40.75 0 899.50 403.75 GCP_6-12_100_0001_0247.JPG gcp4
-75.02 40.75 0 1400.00 3556.25 GCP_9-10_100_0001_0288.JPG gcp9
-75.02 40.75 0 1356.04 3014.68 GCP_8-11_100_0001_0287.JPG gcp9
-75.02 40.75 0 1431.81 2645.52 GCP_6_8-11_100_0001_0286.JPG gcp9
-75.02 40.75 0 3839.07 2442.08 GCP_5-11_100_0001_0285.JPG gcp9
-75.02 40.75 0 3849.50 1810.25 GCP_5-12_100_0001_0284.JPG gcp9
-75.02 40.75 0 3842.21 1155.17 GCP_5-12_100_0001_0283.JPG gcp9
-75.02 40.75 0 3826.52 538.24 GCP_5-12_100_0001_0282.JPG gcp9
-75.02 40.75 0 2945.93 3633.38 GCP_6-12_100_0001_0247.JPG gcp9
-75.02 40.75 0 2976.30 3042.48 GCP_5-12_100_0001_0246.JPG gcp9
-75.02 40.75 0 2996.47 2404.74 GCP_5-11_100_0001_0245.JPG gcp9
-75.02 40.75 0 3007.59 1727.44 GCP_5-11_100_0001_0244.JPG gcp9
-75.02 40.75 0 3006.88 1054.22 GCP_5-11_100_0001_0243.JPG gcp9
-75.02 40.75 0 3008.25 439.75 GCP_58_1011_100_0001_0242.JPG gcp9
-75.02 40.75 0 914.31 3279.89 GCP_5-11_100_0001_0228.JPG gcp9
-75.02 40.75 0 861.00 2672.75 GCP_5-11_100_0001_0227.JPG gcp9
-75.02 40.75 0 866.43 2118.08 GCP_3_7-12_100_0001_0226.JPG gcp9
-75.02 40.75 0 874.25 1471.75 gcp_3_7-12_100_0001_0225.JPG gcp9
-75.02 40.75 0 1127.00 3273.50 GCP_9-10_100_0001_0288.JPG gcp10
-75.02 40.75 0 1078.87 2717.48 GCP_8-11_100_0001_0287.JPG gcp10
-75.02 40.75 0 1115.50 2388.75 GCP_6_8-11_100_0001_0286.JPG gcp10
-75.02 40.75 0 3889.50 2837.00 GCP_5-11_100_0001_0285.JPG gcp10
-75.02 40.75 0 3912.25 2222.50 GCP_5-12_100_0001_0284.JPG gcp10
-75.02 40.75 0 3916.94 1564.55 GCP_5-12_100_0001_0283.JPG gcp10
-75.02 40.75 0 3907.75 926.50 GCP_5-12_100_0001_0282.JPG gcp10
-75.02 40.75 0 3868.96 314.41 GCP47_10-12_100_0001_0281.JPG gcp10
-75.02 40.75 0 2895.50 3281.25 GCP_6-12_100_0001_0247.JPG gcp10
-75.02 40.75 0 2920.59 2649.49 GCP_5-12_100_0001_0246.JPG gcp10
-75.02 40.75 0 2938.25 1983.25 GCP_5-11_100_0001_0245.JPG gcp10
-75.02 40.75 0 2949.51 1302.64 GCP_5-11_100_0001_0244.JPG gcp10
-75.02 40.75 0 2948.34 646.57 GCP_5-11_100_0001_0243.JPG gcp10
-75.02 40.75 0 2947.08 66.46 GCP_58_1011_100_0001_0242.JPG gcp10
-75.02 40.75 0 997.12 3627.19 GCP_5-11_100_0001_0228.JPG gcp10
-75.02 40.75 0 927.50 3053.00 GCP_5-11_100_0001_0227.JPG gcp10
-75.02 40.75 0 930.50 2515.50 GCP_3_7-12_100_0001_0226.JPG gcp10
-75.02 40.75 0 919.00 1872.00 gcp_3_7-12_100_0001_0225.JPG gcp10
-75.02 40.75 0 151.35 3226.43 GCP_8-11_100_0001_0287.JPG gcp6
-75.02 40.75 0 266.25 3129.75 GCP_6_8-11_100_0001_0286.JPG gcp6
-75.02 40.75 0 5119.00 1702.50 GCP_5-12_100_0001_0283.JPG gcp6
-75.02 40.75 0 5106.94 1133.46 GCP_5-12_100_0001_0282.JPG gcp6
-75.02 40.75 0 5057.18 555.92 GCP47_10-12_100_0001_0281.JPG gcp6
-75.02 40.75 0 1471.43 3109.59 GCP_6-12_100_0001_0247.JPG gcp6
-75.02 40.75 0 1452.25 2485.25 GCP_5-12_100_0001_0246.JPG gcp6
-75.02 40.75 0 1452.25 1825.75 GCP_5-11_100_0001_0245.JPG gcp6
-75.02 40.75 0 1475.75 1148.25 GCP_5-11_100_0001_0244.JPG gcp6
-75.02 40.75 0 1511.00 512.50 GCP_5-11_100_0001_0243.JPG gcp6
-75.02 40.75 0 2269.22 3305.29 GCP_5-11_100_0001_0227.JPG gcp6
-75.02 40.75 0 2313.34 2699.10 GCP_3_7-12_100_0001_0226.JPG gcp6
-75.02 40.75 0 2317.25 2021.75 gcp_3_7-12_100_0001_0225.JPG gcp6
-75.02 40.75 0 1452.50 2516.50 GCP_8-11_100_0001_0287.JPG gcp11
-75.02 40.75 0 1456.84 2107.81 GCP_6_8-11_100_0001_0286.JPG gcp11
-75.02 40.75 0 3440.75 2813.00 GCP_5-11_100_0001_0285.JPG gcp11
-75.02 40.75 0 3454.21 2186.93 GCP_5-12_100_0001_0284.JPG gcp11
-75.02 40.75 0 3455.59 1514.89 GCP_5-12_100_0001_0283.JPG gcp11
-75.02 40.75 0 3451.66 863.80 GCP_5-12_100_0001_0282.JPG gcp11
-75.02 40.75 0 3423.75 250.00 GCP47_10-12_100_0001_0281.JPG gcp11
-75.02 40.75 0 3350.75 3310.75 GCP_6-12_100_0001_0247.JPG gcp11
-75.02 40.75 0 3391.00 2686.25 GCP_5-12_100_0001_0246.JPG gcp11
-75.02 40.75 0 3414.75 2032.75 GCP_5-11_100_0001_0245.JPG gcp11
-75.02 40.75 0 3425.31 1364.03 GCP_5-11_100_0001_0244.JPG gcp11
-75.02 40.75 0 3414.75 718.25 GCP_5-11_100_0001_0243.JPG gcp11
-75.02 40.75 0 3397.11 137.08 GCP_58_1011_100_0001_0242.JPG gcp11
-75.02 40.75 0 631.90 3527.52 GCP_5-11_100_0001_0228.JPG gcp11
-75.02 40.75 0 556.75 2956.25 GCP_5-11_100_0001_0227.JPG gcp11
-75.02 40.75 0 553.74 2446.25 GCP_3_7-12_100_0001_0226.JPG gcp11
-75.02 40.75 0 541.00 1824.00 gcp_3_7-12_100_0001_0225.JPG gcp11
-75.02 40.75 0 2016.14 3367.99 GCP_8-11_100_0001_0287.JPG gcp8
-75.02 40.75 0 3489.77 1770.72 GCP_5-11_100_0001_0285.JPG gcp8
-75.02 40.75 0 3464.25 497.25 GCP_5-12_100_0001_0283.JPG gcp8
-75.02 40.75 0 3301.92 3625.67 GCP_5-12_100_0001_0246.JPG gcp8
-75.02 40.75 0 3337.31 3055.21 GCP_5-11_100_0001_0245.JPG gcp8
-75.02 40.75 0 3356.87 2424.09 GCP_5-11_100_0001_0244.JPG gcp8
-75.02 40.75 0 3363.31 1758.05 GCP_5-11_100_0001_0243.JPG gcp8
-75.02 40.75 0 3370.50 1107.75 GCP_58_1011_100_0001_0242.JPG gcp8
-75.02 40.75 0 3363.80 479.87 GCP_58_100_0001_0241.JPG gcp8
-75.02 40.75 0 623.00 3213.25 GCP_5-8_100_0001_0229.JPG gcp8
-75.02 40.75 0 582.92 2651.61 GCP_5-11_100_0001_0228.JPG gcp8
-75.02 40.75 0 563.76 2015.44 GCP_5-11_100_0001_0227.JPG gcp8
-75.02 40.75 0 576.75 1472.25 GCP_3_7-12_100_0001_0226.JPG gcp8
-75.02 40.75 0 616.75 856.75 gcp_3_7-12_100_0001_0225.JPG gcp8
-75.02 40.75 0 5259.05 1921.39 GCP_5-11_100_0001_0285.JPG gcp5
-75.02 40.75 0 5220.00 801.75 GCP_5-12_100_0001_0283.JPG gcp5
-75.02 40.75 0 5171.25 292.25 GCP_5-12_100_0001_0282.JPG gcp5
-75.02 40.75 0 1299.94 3420.67 GCP_5-12_100_0001_0246.JPG gcp5
-75.02 40.75 0 1261.75 2837.50 GCP_5-11_100_0001_0245.JPG gcp5
-75.02 40.75 0 1236.24 2187.41 GCP_5-11_100_0001_0244.JPG gcp5
-75.02 40.75 0 1233.78 1525.90 GCP_5-11_100_0001_0243.JPG gcp5
-75.02 40.75 0 1266.50 908.75 GCP_58_1011_100_0001_0242.JPG gcp5
-75.02 40.75 0 1320.38 308.52 GCP_58_100_0001_0241.JPG gcp5
-75.02 40.75 0 2514.25 3546.50 GCP_5-8_100_0001_0229.JPG gcp5
-75.02 40.75 0 2528.32 2957.64 GCP_5-11_100_0001_0228.JPG gcp5
-75.02 40.75 0 2532.75 2304.25 GCP_5-11_100_0001_0227.JPG gcp5
-75.02 40.75 0 2555.50 1631.77 GCP_3_7-12_100_0001_0226.JPG gcp5
-75.02 40.75 0 2571.00 951.50 gcp_3_7-12_100_0001_0225.JPG gcp5
-75.02 40.75 0 2954.50 3197.75 GCP_5-12_100_0001_0284.JPG gcp12
-75.02 40.75 0 2959.64 2570.18 GCP_5-12_100_0001_0283.JPG gcp12
-75.02 40.75 0 2959.04 1227.02 GCP47_10-12_100_0001_0281.JPG gcp12
-75.02 40.75 0 2955.44 584.21 GCP_6712_100_0001_0280.JPG gcp12
-75.02 40.75 0 3785.00 3520.50 GCP_4712_100_0001_0249.JPG gcp12
-75.02 40.75 0 3829.74 2944.86 GCP_4712_100_0001_0248.JPG gcp12
-75.02 40.75 0 3869.64 2323.48 GCP_6-12_100_0001_0247.JPG gcp12
-75.02 40.75 0 3888.14 1652.69 GCP_5-12_100_0001_0246.JPG gcp12
-75.02 40.75 0 3888.75 1011.50 GCP_5-11_100_0001_0245.JPG gcp12
-75.02 40.75 0 3875.53 409.49 GCP_5-11_100_0001_0244.JPG gcp12
-75.02 40.75 0 291.66 3285.94 GCP_3_7-12_100_0001_0226.JPG gcp12
-75.02 40.75 0 228.50 2737.50 gcp_3_7-12_100_0001_0225.JPG gcp12
-75.02 40.75 0 1728.25 2126.50 GCP_6-12_100_0001_0247.JPG gcp7
-75.02 40.75 0 1737.75 1445.75 GCP_5-12_100_0001_0246.JPG gcp7
-75.02 40.75 0 1771.15 787.01 GCP_5-11_100_0001_0245.JPG gcp7
-75.02 40.75 0 1826.00 165.50 GCP_5-11_100_0001_0244.JPG gcp7
-75.02 40.75 0 2025.22 3048.49 gcp_3_7-12_100_0001_0225.JPG gcp7
-75.02 40.75 0 138.75 1191.75 gcp2_100_0001_0035.JPG gcp2
-75.02 40.75 0 3972.37 3304.92 GCP_2_100_0001_0173.JPG gcp2
-75.02 40.75 0 4057.23 2722.72 GCP_2_100_0001_0172.JPG gcp2
-75.02 40.75 0 4097.25 2135.25 GCP_2_100_0001_0171.JPG gcp2
-75.02 40.75 0 134.75 2284.75 gcp2_100_0001_0037.JPG gcp2
-75.02 40.75 0 179.75 2834.50 gcp2_100_0001_0038.JPG gcp2
-75.02 40.75 0 246.63 3323.83 gcp2_100_0001_0039.JPG gcp2
-75.02 40.75 0 119.75 1738.50 gcp2_100_0001_0036.JPG gcp2
-75.02 40.75 0 4106.00 1554.25 GCP_2_100_0001_0170.JPG gcp2
-75.02 40.74 0 1069.37 2679.24 gcp1_100_0001_0112.JPG gcp1
-75.02 40.74 0 3764.00 1129.75 gcp1_100_0001_0041.JPG gcp1
-75.02 40.74 0 1128.05 3235.96 gcp1_100_0001_0113.JPG gcp1
-75.02 40.74 0 1035.25 2087.75 gcp1_100_0001_0111.JPG gcp1
-75.02 40.74 0 3769.75 2346.50 gcp1_100_0001_0043.JPG gcp1
-75.02 40.74 0 1092.28 370.52 gcp1_100_0001_0108.JPG gcp1

Regards,
CJ

1 Like

I was going through the code (posm-gcpi/app/src/state/utils/controlpoints.js) for exporting and found this starting on line 76…

const row = [
transformedMapPoint[0].toFixed(2),
transformedMapPoint[1].toFixed(2),
point.coord[2] || 0,
point.coord[0].toFixed(2),
point.coord[1].toFixed(2),
point.img_name
];

It appears to me the toFixed(2) is forcing the output to 2 decimal points. Is there a specific reason for this?

Regards,
CJ

Hi @uametry,

You can try editing it manually. The first three columns indicate GCP coordinates, and as far as I remember its X Y Z .

seems you are just about to solve this problem.

Thanks, @israelbar! So the 1st two columns values come from the GCPs file?

Yes, as far as I remember, first three columns are GCP coordinates XYZ (first, second and third), then the next two columns (fourth and fifth) are image file coordinates, finally the last two columns (sixth and seventh) are for image file name and GCP name, respectively.

GCP Editor Pro does not show this issue.

2 Likes

Thank you @israelbar. I went through and fixed the values.

1 Like