Skip to content

Commit 14d0163

Browse files
committed
Fix bug with raster resolutions different to 1 meter. Close #17
1 parent 9a1b3d4 commit 14d0163

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: CityShadeMapper
22
Title: Generate High Resolution Shade Maps and Shaded Routes from Remote Sensing Data
3-
Version: 0.0.2
3+
Version: 0.0.3
44
Authors@R: c(
55
person("Francisco", "Rodríguez-Sánchez",
66
email = "f.rodriguez.sanc@gmail.com",

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# CityShadeMapper 0.0.3
2+
3+
* Fixed bug with raster resolutions different to 1 meter (#17). Thanks @Jean-Romain
4+
15
# CityShadeMapper 0.0.2
26

37
* Added new logical argument `low.veg.as.ground` to `rasterize_lidar_cover_class()`

R/make_shademap.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ make_shademap_canopy <- function(height.ras = NULL,
113113
sun.angle = sunpos$azimuth[i],
114114
crs = terra::crs(height.ras),
115115
extent = terra::ext(height.ras),
116+
zscale = zscale,
116117
filename = tempfile(
117118
pattern = "shaderas",
118119
fileext = ".tif"),

0 commit comments

Comments
 (0)