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

How to merge files that been tiled using different lib? #1

Closed
leocd91 opened this issue Nov 26, 2020 · 3 comments
Closed

How to merge files that been tiled using different lib? #1

leocd91 opened this issue Nov 26, 2020 · 3 comments

Comments

@leocd91
Copy link

leocd91 commented Nov 26, 2020

Btw, nice lib!

I already have horizontally tiled files with no overlap that I need to merge and use some of the windows using your lib.
Is there any guide to do this?

@the-lay
Copy link
Owner

the-lay commented Nov 26, 2020

@leocd91 Unfortunately, for now, merging with Merger class is possible only after passing Tiler, implying the data was tiled with it. There is an example in examples directory.

The library is far from ready (version 0.0.1 :)) and with your use case I would advise to just use numpy. For vertical merging you can use np.vstack or np.hstack for horizontal.

@leocd91
Copy link
Author

leocd91 commented Nov 27, 2020

it's okay, I managed to repredict it from your tiler then merge it back lol.

anyway, I think a feature where the overlap pixel automatically calculated is a good idea.
for example, if one wants to have n-tiles with the same shape from an image.

@leocd91 leocd91 closed this as completed Nov 27, 2020
@the-lay
Copy link
Owner

the-lay commented Nov 27, 2020

Glad you've solved it! I agree, such feature would be very useful. Hopefully I will have more time to work on that in December!

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

2 participants