Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge_tiles(): ERROR: Stderr: The command line is too long. #26

Open
afrogri37 opened this issue May 19, 2023 · 1 comment
Open

merge_tiles(): ERROR: Stderr: The command line is too long. #26

afrogri37 opened this issue May 19, 2023 · 1 comment

Comments

@afrogri37
Copy link
Member

When trying to merge more than 80 .tif files on Windows, this error is thrown:

<system_command_status_error/rlib_error_3_0/rlib_error/error>
Error in processx::run(system.file("bat", "merge_tiles.bat", package = "hydrographr"), …:
! System command 'merge_tiles.bat' failed

Exit status: 1
Stderr:
The command line is too long.

Backtrace:

  1. hydrographr::merge_tiles(tile_dir = idir, tile_names = list.files(idir, full.names =…
  2. processx::run(system.file("bat", "merge_tiles.bat", package = "hydrogra…
  3. processx:::throw(new_process_error(res, call = sys.call(), echo = echo, …
@afrogri37
Copy link
Member Author

Can be skipped by merging the files in batches, and then merge the merged files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant