From 668960eff8bd75ec9bce37f2a22a3e1dbb913682 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sat, 22 Jun 2019 09:35:05 -0400 Subject: [PATCH] Allow pixel coordinates as float --- opendm/gcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/gcp.py b/opendm/gcp.py index 841ce956..31408f48 100644 --- a/opendm/gcp.py +++ b/opendm/gcp.py @@ -39,7 +39,7 @@ class GCPFile: parts = entry.split() x, y, z, px, py, filename = parts[:6] extras = " ".join(parts[6:]) - return GCPEntry(float(x), float(y), float(z), int(px), int(py), filename, extras) + return GCPEntry(float(x), float(y), float(z), float(px), float(py), filename, extras) def get_entry(self, n): if n < self.entries_count():