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

ScalePropertyGenerator can genarate ROIs with tile size set to one #240

Open
aaime opened this issue May 21, 2019 · 2 comments
Open

ScalePropertyGenerator can genarate ROIs with tile size set to one #240

aaime opened this issue May 21, 2019 · 2 comments
Assignees

Comments

@aaime
Copy link
Member

aaime commented May 21, 2019

In high oversampling scenarios a image made of a single pixel, with a ROI, can be oversampled thousands of times. The property generator in this case is going to generate a ROI that is very large, but with tiles that are 1x1, killing the tiling subsystem (tile cache, tile oriented computation).

The scaled image itself does not get 1x1 tiles (possibly due to hints set by the caller), the property generator should leverage that information and create a ROI with the same tile layout as the scaled image (in this case it was a image mosaic output from GeoTools, with tiles that were 512x512)

@aaime
Copy link
Member Author

aaime commented May 21, 2019

Btw, probably best to check if there are other similar cases, affine and warp might be a candidates (geometric ops in general).

dromagnoli added a commit that referenced this issue May 23, 2019
ScalePropertyGenerator can genarate ROIs with tile size set to one #240
@simboss
Copy link
Member

simboss commented Jun 4, 2019

@aaime is this still open? I see it was referenced in a PR

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