diff --git a/outputHightMap.py b/outputHightMap.py index 2c47025..a085a0b 100755 --- a/outputHightMap.py +++ b/outputHightMap.py @@ -5,13 +5,14 @@ # --output, -o, name of output file. if there are multiple input files, there will be a number prepended to this. # after all comamnd line arguments, file or files(space seperated) to process. +import os.path import numpy as np import sys, argparse, laspy, logging import seaborn as sns; sns.set_theme() import matplotlib.pyplot as plt from PIL import Image -logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO) +logging.basicConfig(format='%(asctime)s:%(levelname)s:%(message)s', level=logging.INFO) def sort(array): #sort by zDim column, first to last. @@ -43,14 +44,16 @@ def scale(array, xRange, yRange, maxX, maxY): def isInxyRange(xMin, xMax, yMin, yMax, xVal, yVal): return (xMin<=xVal) and (xVal