kopia lustrzana https://github.com/OpenDroneMap/ODM
Porównaj commity
2 Commity
4d7cf32a8c
...
ad63392e1a
Autor | SHA1 | Data |
---|---|---|
Piero Toffanin | ad63392e1a | |
Piero Toffanin | 77f8ffc8cd |
|
@ -13,6 +13,9 @@ class GeoFile:
|
||||||
with open(self.geo_path, 'r') as f:
|
with open(self.geo_path, 'r') as f:
|
||||||
contents = f.read().strip()
|
contents = f.read().strip()
|
||||||
|
|
||||||
|
# Strip eventual BOM characters
|
||||||
|
contents = contents.replace('\ufeff', '')
|
||||||
|
|
||||||
lines = list(map(str.strip, contents.split('\n')))
|
lines = list(map(str.strip, contents.split('\n')))
|
||||||
if lines:
|
if lines:
|
||||||
self.raw_srs = lines[0] # SRS
|
self.raw_srs = lines[0] # SRS
|
||||||
|
|
Ładowanie…
Reference in New Issue