pull/1660/head
Piero Toffanin 2023-05-24 13:09:35 -04:00
rodzic 59019dac66
commit 567cc3c872
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -131,7 +131,7 @@ class ODMGeoreferencingStage(types.ODM_Stage):
f'--writers.las.a_srs="{reconstruction.georef.proj4()}"' # HOBU this should maybe be WKT
]
if reconstruction.has_gcp() and io.file_exists(gcp_gml_export_file):
if reconstruction.has_gcp() and io.file_exists(gcp_geojson_export_file):
log.ODM_INFO("Embedding GCP info in point cloud")
params += [
'--writers.las.vlrs="{\\\"filename\\\": \\\"%s\\\", \\\"user_id\\\": \\\"ODM\\\", \\\"record_id\\\": 1, \\\"description\\\": \\\"Ground Control Points (GeoJSON)\\\"}"' % gcp_geojson_export_file.replace(os.sep, "/")