diff --git a/tests/test_data/cameras_32617.txt b/tests/test_data/cameras_32617.txt deleted file mode 100755 index 66447868..00000000 --- a/tests/test_data/cameras_32617.txt +++ /dev/null @@ -1,58 +0,0 @@ -EPSG:32617 -274901.848 4603267.294 1JI_0064.JPG -274901.230 4603277.193 1JI_0065.JPG -274903.585 4603293.173 1JI_0066.JPG -274906.539 4603306.047 1JI_0067.JPG -274908.286 4603317.416 1JI_0068.JPG -274921.975 4603310.196 1JI_0076.JPG -274923.028 4603291.948 1JI_0077.JPG -274923.338 4603279.589 1JI_0078.JPG -274923.029 4603262.309 1JI_0079.JPG -274924.111 4603244.987 1JI_0080.JPG -274921.507 4603176.529 DJI_0061.JPG -274899.747 4603177.827 DJI_0062.JPG -274878.411 4603177.877 DJI_0063.JPG -274886.790 4603201.078 DJI_0064.JPG -274916.583 4603189.650 DJI_0065.JPG -274949.185 4603179.060 DJI_0066.JPG -274982.888 4603173.993 DJI_0067.JPG -275000.333 4603168.200 DJI_0068.JPG -275003.576 4603182.917 DJI_0069.JPG -274968.551 4603182.777 DJI_0070.JPG -274938.151 4603182.184 DJI_0071.JPG -274903.038 4603186.678 DJI_0072.JPG -274870.939 4603183.668 DJI_0073.JPG -274905.413 4603210.684 DJI_0074.JPG -274942.465 4603201.499 DJI_0075.JPG -274990.649 4603192.275 DJI_0076.JPG -275016.445 4603193.938 DJI_0077.JPG -275024.717 4603213.747 DJI_0078.JPG -274991.710 4603211.383 DJI_0079.JPG -274955.160 4603214.378 DJI_0080.JPG -274916.119 4603219.303 DJI_0081.JPG -274871.478 4603223.169 DJI_0082.JPG -274886.393 4603240.300 DJI_0083.JPG -274922.924 4603236.688 DJI_0084.JPG -274960.585 4603232.115 DJI_0085.JPG -275005.398 4603233.801 DJI_0086.JPG -275008.187 4603271.071 DJI_0087.JPG -274967.196 4603272.969 DJI_0088.JPG -274927.643 4603276.367 DJI_0089.JPG -274893.488 4603274.347 DJI_0090.JPG -274873.726 4603272.804 DJI_0091.JPG -274899.327 4603305.347 DJI_0092.JPG -274929.892 4603296.364 DJI_0093.JPG -274959.771 4603287.712 DJI_0094.JPG -275001.081 4603281.172 DJI_0095.JPG -275005.318 4603305.430 DJI_0096.JPG -274968.710 4603306.574 DJI_0097.JPG -274934.274 4603310.429 DJI_0098.JPG -274894.693 4603312.901 DJI_0099.JPG -274909.038 4603334.064 DJI_0100.JPG -274952.548 4603331.160 DJI_0101.JPG -274994.514 4603330.775 DJI_0102.JPG -275019.623 4603347.588 DJI_0103.JPG -274986.462 4603347.698 DJI_0104.JPG -274955.898 4603349.271 DJI_0105.JPG -274918.962 4603354.748 DJI_0106.JPG -274883.503 4603355.548 DJI_0107.JPG diff --git a/tests/test_data/gcp_List_GCPposition.jpg b/tests/test_data/gcp_List_GCPposition.jpg deleted file mode 100644 index 6e9718a1..00000000 Binary files a/tests/test_data/gcp_List_GCPposition.jpg and /dev/null differ diff --git a/tests/test_data/gcp_list.txt b/tests/test_data/gcp_list.txt deleted file mode 100644 index 72a2ef9c..00000000 --- a/tests/test_data/gcp_list.txt +++ /dev/null @@ -1,31 +0,0 @@ -+proj=utm +zone=17 +north +ellps=WGS84 +datum=WGS84 +units=m +no_defs -## comment: the first line must contain EPSG. ( mandatory ) -## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..) -## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP ( idGCP optional ) -# order by GCP -# GCP01 -274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01 -274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01 -#274914.738 4603349.014 400 1350.499 -1506.619 1JI_0076.JPG badHV01 -274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01 -# this is a comment, skip and skip empty line - -# GCP02, no idGCP ( old format ) -274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG -274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG -274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG -274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG -# GCP03 -274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03 -274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03 -274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03 -# GCP04 -274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04 -274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04 -274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04 -274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04 -274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04 -# GCP05 -274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05 -274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05 -274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05 diff --git a/tests/test_data/gcp_list_README.txt b/tests/test_data/gcp_list_README.txt deleted file mode 100755 index ee81b57f..00000000 --- a/tests/test_data/gcp_list_README.txt +++ /dev/null @@ -1,59 +0,0 @@ -Do not exspect more acurate results with these coordinates!! - - -These GCPs are reverse geotagged from an OpenDroneMap created Geotif -with WGS84 coordinates in the EXIF tags. - -I also do not have a height value for the points! -(Set to 400m for testing purposes...) - ------------ -CRS: ----- -WGS 84 / UTM zone 17N -EPSG: 32617 - ------------ -GCP point values: ----- -GCP_PointNr,X_Coordinate,Y_Coordinate -1,274914.738,4603349.014,400 -2,274915.887,4603307.715,400 -3,274985.284,4603319.756,400 -4,274920.710,4603258.802,400 -5,274879.571,4603204.279,400 ------------ - - ------------ -Better human readable gcp_list.txt ------------ -EPSG:32617 -## comment: the first line must contain EPSG. ( mandatory ) -## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP -## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..) -# GCP01 -274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01 -274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01 -274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01 -# this is a comment, skip. -# GCP02, no idGCP ( old format ) -274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG -274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG -274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG -274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG -# GCP03 -274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03 -274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03 -274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03 -# GCP04 -274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04 -274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04 -274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04 -274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04 -274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04 -# GCP05 -274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05 -274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05 -274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05 - diff --git a/tests/test_data/gcp_list_by_photo.txt b/tests/test_data/gcp_list_by_photo.txt deleted file mode 100644 index 59422804..00000000 --- a/tests/test_data/gcp_list_by_photo.txt +++ /dev/null @@ -1,31 +0,0 @@ -EPSG:32617 -## comment: the first line must contain EPSG. ( mandatory ) -## x1 y1 z1 pixelx1 pixely1 imagename1 idGCP -## 0/0 of Pixel Coord = Upper left corner pixelX(column_0..) pixelY(row_0..) -# this is a comment. skip -# order by photo -274920.710 4603258.802 400 2202.425 1319.122 DJI_0063.JPG HV04 -274879.571 4603204.279 400 1505.237 849.416 DJI_0063.JPG HV05 -# -274914.738 4603349.014 400 1229.676 514.215 DJI_0068.JPG HV01 -274915.887 4603307.715 400 1276.695 1043.561 DJI_0068.JPG HV02 -274920.710 4603258.802 400 1376.513 1662.513 DJI_0068.JPG HV04 -274985.284 4603319.756 400 2125.152 841.227 DJI_0068.JPG HV03 -# -274920.710 4603258.802 400 604.750 771.373 DJI_0074.JPG HV04 -274879.571 4603204.279 400 1291.725 1257.747 DJI_0074.JPG HV05 -# -#274914.738 4603349.014 400 1350.499 -1506.619 1JI_0076.JPG badHV01 -274914.738 4603349.014 400 1350.499 1506.619 1JI_0076.JPG HV01 -274915.887 4603307.715 400 1344.332 956.654 1JI_0076.JPG HV02 -274985.284 4603319.756 400 483.157 1088.268 1JI_0076.JPG HV03 -# -274915.887 4603307.715 400 336.897 634.845 DJI_0083.JPG HV02 -274920.710 4603258.802 400 919.236 537.724 DJI_0083.JPG HV04 -274879.571 4603204.279 400 1617.581 1008.779 DJI_0083.JPG HV05 -# -274914.738 4603349.014 400 1268.023 31.309 DJI_0104.JPG HV01 -274915.887 4603307.715 400 750.239 81.604 DJI_0104.JPG HV02 -274985.284 4603319.756 400 919.044 903.661 DJI_0104.JPG HV03 -274920.710 4603258.802 400 183.508 181.808 DJI_0104.JPG HV04 - diff --git a/tests/test_data/idgcp_QGIS_label.png b/tests/test_data/idgcp_QGIS_label.png deleted file mode 100644 index 637f5dee..00000000 Binary files a/tests/test_data/idgcp_QGIS_label.png and /dev/null differ diff --git a/tests/test_data/images/1JI_0064.JPG b/tests/test_data/images/1JI_0064.JPG deleted file mode 100644 index c46a1e3a..00000000 Binary files a/tests/test_data/images/1JI_0064.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0065.JPG b/tests/test_data/images/1JI_0065.JPG deleted file mode 100644 index 433a51fc..00000000 Binary files a/tests/test_data/images/1JI_0065.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0066.JPG b/tests/test_data/images/1JI_0066.JPG deleted file mode 100644 index 35f630ba..00000000 Binary files a/tests/test_data/images/1JI_0066.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0067.JPG b/tests/test_data/images/1JI_0067.JPG deleted file mode 100644 index 5af5613c..00000000 Binary files a/tests/test_data/images/1JI_0067.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0068.JPG b/tests/test_data/images/1JI_0068.JPG deleted file mode 100644 index 93aae658..00000000 Binary files a/tests/test_data/images/1JI_0068.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0076.JPG b/tests/test_data/images/1JI_0076.JPG deleted file mode 100644 index f410a8ef..00000000 Binary files a/tests/test_data/images/1JI_0076.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0077.JPG b/tests/test_data/images/1JI_0077.JPG deleted file mode 100644 index 188f3a59..00000000 Binary files a/tests/test_data/images/1JI_0077.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0078.JPG b/tests/test_data/images/1JI_0078.JPG deleted file mode 100644 index 4f1a66fe..00000000 Binary files a/tests/test_data/images/1JI_0078.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0079.JPG b/tests/test_data/images/1JI_0079.JPG deleted file mode 100644 index 409e9b1d..00000000 Binary files a/tests/test_data/images/1JI_0079.JPG and /dev/null differ diff --git a/tests/test_data/images/1JI_0080.JPG b/tests/test_data/images/1JI_0080.JPG deleted file mode 100644 index 16065e90..00000000 Binary files a/tests/test_data/images/1JI_0080.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0061.JPG b/tests/test_data/images/DJI_0061.JPG deleted file mode 100644 index 1917e099..00000000 Binary files a/tests/test_data/images/DJI_0061.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0062.JPG b/tests/test_data/images/DJI_0062.JPG deleted file mode 100644 index b8706d4e..00000000 Binary files a/tests/test_data/images/DJI_0062.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0063.JPG b/tests/test_data/images/DJI_0063.JPG deleted file mode 100644 index dce4dda3..00000000 Binary files a/tests/test_data/images/DJI_0063.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0064.JPG b/tests/test_data/images/DJI_0064.JPG deleted file mode 100644 index 7067afed..00000000 Binary files a/tests/test_data/images/DJI_0064.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0065.JPG b/tests/test_data/images/DJI_0065.JPG deleted file mode 100644 index 4aea8e7c..00000000 Binary files a/tests/test_data/images/DJI_0065.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0066.JPG b/tests/test_data/images/DJI_0066.JPG deleted file mode 100644 index 8246e215..00000000 Binary files a/tests/test_data/images/DJI_0066.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0067.JPG b/tests/test_data/images/DJI_0067.JPG deleted file mode 100644 index 2f85bde9..00000000 Binary files a/tests/test_data/images/DJI_0067.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0068.JPG b/tests/test_data/images/DJI_0068.JPG deleted file mode 100644 index db4f33b3..00000000 Binary files a/tests/test_data/images/DJI_0068.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0069.JPG b/tests/test_data/images/DJI_0069.JPG deleted file mode 100644 index 2efd6b3d..00000000 Binary files a/tests/test_data/images/DJI_0069.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0070.JPG b/tests/test_data/images/DJI_0070.JPG deleted file mode 100644 index 6de15529..00000000 Binary files a/tests/test_data/images/DJI_0070.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0071.JPG b/tests/test_data/images/DJI_0071.JPG deleted file mode 100644 index 1bf5aecc..00000000 Binary files a/tests/test_data/images/DJI_0071.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0072.JPG b/tests/test_data/images/DJI_0072.JPG deleted file mode 100644 index 29effdc9..00000000 Binary files a/tests/test_data/images/DJI_0072.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0073.JPG b/tests/test_data/images/DJI_0073.JPG deleted file mode 100644 index 952c2bf0..00000000 Binary files a/tests/test_data/images/DJI_0073.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0074.JPG b/tests/test_data/images/DJI_0074.JPG deleted file mode 100644 index 757becce..00000000 Binary files a/tests/test_data/images/DJI_0074.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0075.JPG b/tests/test_data/images/DJI_0075.JPG deleted file mode 100644 index a238ee56..00000000 Binary files a/tests/test_data/images/DJI_0075.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0076.JPG b/tests/test_data/images/DJI_0076.JPG deleted file mode 100644 index a5c4a9a4..00000000 Binary files a/tests/test_data/images/DJI_0076.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0077.JPG b/tests/test_data/images/DJI_0077.JPG deleted file mode 100644 index 9dc06158..00000000 Binary files a/tests/test_data/images/DJI_0077.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0078.JPG b/tests/test_data/images/DJI_0078.JPG deleted file mode 100644 index c88a2f12..00000000 Binary files a/tests/test_data/images/DJI_0078.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0079.JPG b/tests/test_data/images/DJI_0079.JPG deleted file mode 100644 index 5e7f8618..00000000 Binary files a/tests/test_data/images/DJI_0079.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0080.JPG b/tests/test_data/images/DJI_0080.JPG deleted file mode 100644 index 1f5562dd..00000000 Binary files a/tests/test_data/images/DJI_0080.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0081.JPG b/tests/test_data/images/DJI_0081.JPG deleted file mode 100644 index e82b0392..00000000 Binary files a/tests/test_data/images/DJI_0081.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0082.JPG b/tests/test_data/images/DJI_0082.JPG deleted file mode 100644 index eaed567e..00000000 Binary files a/tests/test_data/images/DJI_0082.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0083.JPG b/tests/test_data/images/DJI_0083.JPG deleted file mode 100644 index 27f5ffca..00000000 Binary files a/tests/test_data/images/DJI_0083.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0084.JPG b/tests/test_data/images/DJI_0084.JPG deleted file mode 100644 index a60b91fb..00000000 Binary files a/tests/test_data/images/DJI_0084.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0085.JPG b/tests/test_data/images/DJI_0085.JPG deleted file mode 100644 index 4e52fd0f..00000000 Binary files a/tests/test_data/images/DJI_0085.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0086.JPG b/tests/test_data/images/DJI_0086.JPG deleted file mode 100644 index 2c561456..00000000 Binary files a/tests/test_data/images/DJI_0086.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0087.JPG b/tests/test_data/images/DJI_0087.JPG deleted file mode 100644 index 301103cd..00000000 Binary files a/tests/test_data/images/DJI_0087.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0088.JPG b/tests/test_data/images/DJI_0088.JPG deleted file mode 100644 index 22fb7004..00000000 Binary files a/tests/test_data/images/DJI_0088.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0089.JPG b/tests/test_data/images/DJI_0089.JPG deleted file mode 100644 index e232f2ff..00000000 Binary files a/tests/test_data/images/DJI_0089.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0090.JPG b/tests/test_data/images/DJI_0090.JPG deleted file mode 100644 index 0a8b2f27..00000000 Binary files a/tests/test_data/images/DJI_0090.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0091.JPG b/tests/test_data/images/DJI_0091.JPG deleted file mode 100644 index 05906528..00000000 Binary files a/tests/test_data/images/DJI_0091.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0092.JPG b/tests/test_data/images/DJI_0092.JPG deleted file mode 100644 index c007bc6a..00000000 Binary files a/tests/test_data/images/DJI_0092.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0093.JPG b/tests/test_data/images/DJI_0093.JPG deleted file mode 100644 index 53216868..00000000 Binary files a/tests/test_data/images/DJI_0093.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0094.JPG b/tests/test_data/images/DJI_0094.JPG deleted file mode 100644 index d72b03f2..00000000 Binary files a/tests/test_data/images/DJI_0094.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0095.JPG b/tests/test_data/images/DJI_0095.JPG deleted file mode 100644 index abc9f9e3..00000000 Binary files a/tests/test_data/images/DJI_0095.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0096.JPG b/tests/test_data/images/DJI_0096.JPG deleted file mode 100644 index 1266e82d..00000000 Binary files a/tests/test_data/images/DJI_0096.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0097.JPG b/tests/test_data/images/DJI_0097.JPG deleted file mode 100644 index 37242dbf..00000000 Binary files a/tests/test_data/images/DJI_0097.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0098.JPG b/tests/test_data/images/DJI_0098.JPG deleted file mode 100644 index 93fa8cc5..00000000 Binary files a/tests/test_data/images/DJI_0098.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0099.JPG b/tests/test_data/images/DJI_0099.JPG deleted file mode 100644 index 91d866ec..00000000 Binary files a/tests/test_data/images/DJI_0099.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0100.JPG b/tests/test_data/images/DJI_0100.JPG deleted file mode 100644 index 49be6693..00000000 Binary files a/tests/test_data/images/DJI_0100.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0101.JPG b/tests/test_data/images/DJI_0101.JPG deleted file mode 100644 index 911346e6..00000000 Binary files a/tests/test_data/images/DJI_0101.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0102.JPG b/tests/test_data/images/DJI_0102.JPG deleted file mode 100644 index a70e736b..00000000 Binary files a/tests/test_data/images/DJI_0102.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0103.JPG b/tests/test_data/images/DJI_0103.JPG deleted file mode 100644 index b6f182f0..00000000 Binary files a/tests/test_data/images/DJI_0103.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0104.JPG b/tests/test_data/images/DJI_0104.JPG deleted file mode 100644 index 06a35326..00000000 Binary files a/tests/test_data/images/DJI_0104.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0105.JPG b/tests/test_data/images/DJI_0105.JPG deleted file mode 100644 index adc7d754..00000000 Binary files a/tests/test_data/images/DJI_0105.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0106.JPG b/tests/test_data/images/DJI_0106.JPG deleted file mode 100644 index 76d8c1e5..00000000 Binary files a/tests/test_data/images/DJI_0106.JPG and /dev/null differ diff --git a/tests/test_data/images/DJI_0107.JPG b/tests/test_data/images/DJI_0107.JPG deleted file mode 100644 index 91edf559..00000000 Binary files a/tests/test_data/images/DJI_0107.JPG and /dev/null differ diff --git a/tests/test_data/old_gcp_list.txt b/tests/test_data/old_gcp_list.txt deleted file mode 100644 index 1abb0931..00000000 --- a/tests/test_data/old_gcp_list.txt +++ /dev/null @@ -1,20 +0,0 @@ -WGS84 UTM 32N -274914.738,4603349.014,400,2121.02804,-405.91779,DJI_0068.JPG -274914.738,4603349.014,400,2113.45101,-52.37843,DJI_0104.JPG -274914.738,4603349.014,400,2251.05140,-2510.08324,1JI_0076.JPG -274915.887,4603307.715,400,2189.08075,-1266.93925,DJI_0068.JPG -274915.887,4603307.715,400,1249.52906,-136.41574,DJI_0104.JPG -274915.887,4603307.715,400561.05432,-1057.69568,DJI_0083.JPG -274915.887,4603307.715,400,2239.44947,-1593.32652,1JI_0076.JPG -274985.284,4603319.756,400,3619.20999,-978.85879,DJI_0068.JPG -274985.284,4603319.756,400,1506.89252,-1535.16355,DJI_0104.JPG -274985.284,4603319.756,400,783.53534,-1793.26811,1JI_0076.JPG -274920.710,4603258.802,400,2342.84463,-2285.96671,DJI_0068.JPG -274920.710,4603258.802,400,305.37748,-303.36595,DJI_0104.JPG -274920.710,4603258.802,400,1531.52745,-896.39311,DJI_0083.JPG -274920.710,4603258.802,400,3671.08645,-2198.67114,DJI_0063.JPG -274920.710,4603258.802,400.1007.75409,-1286.05432,DJI_0074.JPG -274879.571,4603204.279,400,2693.25350,-1682.97313,DJI_0083.JPG -274879.571,4603204.279,400,2513.14252,-1413.82886,DJI_0063.JPG -274879.571,4603204.279,400,2150.56951,-2093.38493,DJI_0074.JPG - diff --git a/tests/test_odm.py b/tests/test_odm.py deleted file mode 100644 index 851b5565..00000000 --- a/tests/test_odm.py +++ /dev/null @@ -1,108 +0,0 @@ -import unittest -import os -import shutil - -import ecto -from opendm import config -from opendm import context -from scripts.odm_app import ODMApp -from ecto.opts import scheduler_options, run_plasm - -parser = config.parser -scheduler_options(parser) -options = config.config() - - -def appSetup(options): - app = ODMApp(args=options) - plasm = ecto.Plasm() - plasm.insert(app) - return app, plasm - - -def setup_module(): - # Run tests - print '%s' % options - options.project_path = context.tests_data_path - # options.rerun_all = True - app, plasm = appSetup(options) - print 'Run Setup: Initial Run' - run_plasm(options, plasm) - # options.rerun_all = False - - -def teardown_module(): - # Delete generated test directories - dirnames = ['opensfm', 'odm_meshing', - 'odm_texturing', 'odm_georeferencing', 'odm_orthophoto'] - for n in dirnames: - rmpath = os.path.join(context.tests_data_path, n) - if os.path.exists(rmpath): - shutil.rmtree(rmpath) - - -class TestOpenSfM(unittest.TestCase): - """ - Tests the OpenSfM module - """ - def setUp(self): - options.rerun = 'opensfm' - self.app, self.plasm = appSetup(options) - run_plasm(options, self.plasm) - - def test_opensfm(self): - # Test configuration - self.assertTrue(os.path.isfile(self.app.opensfm.inputs.tree.opensfm_reconstruction)) - - -class TestMeshing(unittest.TestCase): - - def setUp(self): - options.rerun = 'odm_meshing' - self.app, self.plasm = appSetup(options) - run_plasm(options, self.plasm) - - def test_meshing(self): - self.assertTrue(os.path.isfile(self.app.meshing.inputs.tree.odm_mesh)) - - -class TestTexturing(unittest.TestCase): - - def setUp(self): - options.rerun = 'odm_texturing' - self.app, self.plasm = appSetup(options) - run_plasm(options, self.plasm) - - def test_texturing(self): - self.assertTrue(os.path.isfile(self.app.texturing.inputs.tree.odm_textured_model_obj)) - - -class TestGeoreferencing(unittest.TestCase): - - def setUp(self): - options.rerun = 'odm_georeferencing' - self.app, self.plasm = appSetup(options) - run_plasm(options, self.plasm) - - def test_georef(self): - self.assertTrue(os.path.isfile(self.app.georeferencing.inputs.tree.odm_georeferencing_coords) & - os.path.isfile(self.app.georeferencing.inputs.tree.odm_georeferencing_model_obj_geo)) - - def test_las_out(self): - self.assertTrue(os.path.isfile(os.path.join(self.app.georeferencing.inputs.tree.odm_georeferencing, - "odm_georeferenced_model.laz"))) - - -class TestOrthophoto(unittest.TestCase): - - def setUp(self): - options.rerun = 'odm_orthophoto' - self.app, self.plasm = appSetup(options) - run_plasm(options, self.plasm) - - def test_orthophoto(self): - self.assertTrue(os.path.isfile(self.app.orthophoto.inputs.tree.odm_orthophoto_file)) - - -if __name__ == '__main__': - unittest.main() \ No newline at end of file diff --git a/tests/testing.md b/tests/testing.md deleted file mode 100644 index d85fb12e..00000000 --- a/tests/testing.md +++ /dev/null @@ -1,66 +0,0 @@ - -## opendm/ -### config.py -* test each parameter (min, max, out of bounds, etc.) - -### context.py -* Each path must be a valid, existing path - -### io.py -* check each function with a known string - -### system.py -* (Get_ccd_widths is depreciated) -* parse_coordinate_system: - * This is also old code - new one is in types - -### types.py -* ODM_Photos - * updated focal equal to known focal length - * updated ccd equal to known ccd -* ODM_Georef - * calculate_epsg needs to be updated, see master - * convert_to_las: assert existence of las file output - * utm_to_latlon: - * - * - -## scripts/ -### dataset.py -* test that supported_extensions works with a variety of file names, even bogus ones -* check outputs are all the photos - -### resize.py -* resulting images are the right size -* metadata has been properly updated - -### OpenSfM.py -* config file is contains info same as params -* when matcher_distance > 0 it is written to the config -* at least one reconstruction file is generated -* check that bundler file is exported (possible to check if valid?) - -### CMVS.py -* validate params -* system.run() command is equal to some known string - -### PMVS.py -* validate params -* system.run() command is equal to some known string - -### odm_meshing.py -* validate params -* system.run() command is equal to some known string - -### odm_texturing.py -* validate params -* system.run() command is equal to some known string - -### odm_georeferencing.py -* validate params -* system.run() command is equal to some known string when using EXIF coords -* system.run() when using GCP - -### odm_orthophoto.py -* validate params -* system.run() command is equal to some known string