Skip to content

Commit

Permalink
RFC: rename geometry.py to algorithm.py (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Feb 18, 2022
1 parent e531bb3 commit c587fa2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ path_to_stl = convert_tiff_to_stl(
## Algorithm Deep Dive

In case you are curios about the algorithm which turns a GeoTIFF into a STL file, I'd recommend reading the header of
[`geometry.py`](https://github.com/fgebhart/mapa/blob/main/mapa/geometry.py).
[`algorithm.py`](https://github.com/fgebhart/mapa/blob/main/mapa/algorithm.py).


## Changelog
Expand Down
2 changes: 1 addition & 1 deletion mapa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import rasterio as rio

from mapa import conf
from mapa.algorithm import compute_all_triangles, reduce_resolution
from mapa.caching import get_hash_of_geojson, tiff_for_bbox_is_cached
from mapa.geometry import compute_all_triangles, reduce_resolution
from mapa.raster import (
clip_tiff_to_bbox,
cut_array_to_format,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
import pytest

from mapa.geometry import _compute_triangles_of_3d_surface, _create_raster
from mapa.algorithm import _compute_triangles_of_3d_surface, _create_raster


def test_create_raster() -> None:
Expand Down

0 comments on commit c587fa2

Please sign in to comment.