A Python-based interpolation CLI that utilizes real-world point-cloud data and spatial interpolation techniques to create a smooth heightmap of a given area.
| Inverse Distance Weighting | Shape Function |
|---|---|
![]() |
![]() |
- Command-Line Interface: Easily interpolate and save data directly from the command line.
- Multiple Interpolation Methods: Choose from two different methods of interpolation to suit your needs.
- Python Virtual Environment: Utilizes a Python virtual environment to manage dependencies and ensure a consistent runtime environment.
The application currently only supports the Inverse Distance Weighting and Shape Function methods of interpolation.
Before using this application, ensure you have Python installed on your machine. You will also need to set up a virtual environment. After setting up your virtual environment, run
python -m pip install -r requirements.txtto install all necessary dependencies.
python main.py [-h] [-p POWER] [-r RESOLUTION] [-s] {inverse_distance_weighting,shape_function} pointspositional arguments:
{inverse_distance_weighting,shape_function}: The interpolation method used.points: The relative path to the CSV file containing the 3-dimensional point data.
options:
-
-h,--help: Show the help message and exit -
-p POWER,--power POWER: The power parameter,$p$ , used in the Inverse Distance Weighting equation (default: 2).
-r RESOLUTION,--resolution RESOLUTION: The number of subdivisions along each axis (default: 50).-s,--save: Save the data as a CSV file to the same directory where the 3-dimensional point data is stored.

