You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python API lets you specify tile size in the tileIterator. The default getTile returns the size that is stored in the file (assuming that it is vaguely sensible) or, if a tile source doesn't report a desired tile size, it defaults to 256.
For the GDAL and OpenJPEG sources, this would be an easy thing to expose and change, at least for powers of 2 (though there should probably still be limits). For other sources, this is more complicated (but still shouldn't be very hard).
Generally, I think this would add two more optional parameters when opening a tile source (tileWidth and tileHeight). Initially, we could implement this for just specific sources with whatever requirements those source deem appropriate (e.g., powers of two). One other possible route to this generalizing feature is if we make a "multi source" (#680), then the specification of that could include tile size in an easy generic way.
As of #764, you can have an extra yaml file that changes how tiles are stored (though this doesn't yet support geospatial sources). This could be done via:
Is there a way to specify the tile size? currently, they are 256x256 but could I use 512x512?
The text was updated successfully, but these errors were encountered: