Add .1in to recognised index units
@@ -762,6 +762,8 @@ class LASFile(object):
return self.index
elif self._index_unit_contains("F"):
return self.index * 0.3048
+ elif self._index_unit_contains(".1IN"):
+ return (self.index / 12) * 0.3048
else:
raise exceptions.LASUnknownUnitError("Unit of depth index not known")
@@ -772,6 +774,8 @@ class LASFile(object):
return self.index / 0.3048
elif self._index_unit_contains("F"):
return self.index
+ elif self._index_unit_contains(".1IN"):
+ return self.index / 12
else:
raise exceptions.LASUnknownUnitError("Unit of depth index not known")
