Skip to content

Commit 6b36ea3

Browse files
committed
fix; main color
1 parent 411ffa4 commit 6b36ea3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# dev
2+
- [fix] color: fix main
3+
14
# 1.15.8
25
- [fix] las_merge: handle filenames with different prefix
36

pdaltools/color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,5 +301,5 @@ def from_files_func(args):
301301

302302

303303
if __name__ == "__main__":
304-
args = argument_parser.parse_args()
304+
args = argument_parser().parse_args()
305305
args.func(args)

pdaltools/download_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def download_image(proj, layer, minx, miny, maxx, maxy, pixel_per_meter, outfile
142142
download_image_from_geoplateforme_retrying = retry(times=9, delay=5, factor=2)(download_image_from_geoplateforme)
143143

144144
size_x_p, nb_cells_x, cell_size_x = compute_cells_size(minx, maxx, pixel_per_meter, size_max_gpf)
145-
size_y_p, nb_cells_y, cell_size_y = compute_cells_size(minx, maxx, pixel_per_meter, size_max_gpf)
145+
size_y_p, nb_cells_y, cell_size_y = compute_cells_size(miny, maxy, pixel_per_meter, size_max_gpf)
146146

147147
# the image size is under SIZE_MAX_IMAGE_GPF
148148
if (size_x_p <= size_max_gpf) and (size_y_p <= size_max_gpf):

0 commit comments

Comments
 (0)