diff --git a/README.md b/README.md index f356b59..df2d23d 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ a feeling of how the output STL will look like: ``` dem2stl --demo ``` -If you have your tiff file ready, you may run something like +If you have your tiff file at hand, you may run something like ``` dem2stl --input your_file.tiff --output output.stl --model-size 200 --z-offset 3.0 --z-scale 1.5 ``` diff --git a/tests/test_mapa.py b/tests/test_mapa.py index 7f88959..64a55dd 100644 --- a/tests/test_mapa.py +++ b/tests/test_mapa.py @@ -195,9 +195,10 @@ def test_mapa__index_error(output_file) -> None: @pytest.mark.parametrize("compress", (False, True)) def test_mapa__split_area_into_tiles__success(hawaii_bbox, tmp_path, compress) -> None: size = 100 + output_path = Path(tmp_path, "foo") output = convert_bbox_to_stl( bbox_geometry=hawaii_bbox, - output_file="foo", + output_file=output_path, split_area_in_tiles="2x2", model_size=size, cut_to_format_ratio=1.0,