VIDA-NYU / tile2net

Automated mapping of pedestrian networks from aerial imagery tiles
BSD 3-Clause "New" or "Revised" License
151 stars 24 forks source link

black/zoom.png should be black/tilesize.png #60

Closed dhodcz2 closed 5 months ago

dhodcz2 commented 5 months ago
    @cached_property
    def path(self):
        result: Path = (
                self.owner.project.resources.path /
                'black' /
                f"{self.owner.base_tilesize}.png"
        )
        result.parent.mkdir(parents=True, exist_ok=True)
        if not result.exists():
            imageio.v3.imwrite(result, self.array)
        return result