diff --git a/opendm/types.py b/opendm/types.py index e7f533e4..60c438d1 100644 --- a/opendm/types.py +++ b/opendm/types.py @@ -165,7 +165,7 @@ class ODM_GeoRef(object): pipelineXml += ' ' pipelineXml += '' - with open(self.odm_georeferencing_pdal, 'w') as f: + with open(tree.odm_georeferencing_pdal, 'w') as f: f.write(pipelineXml) # call pdal