Skip to content

TileCreator.getTile gives a distorted image for a particular size #55

Answered by bosborn
RanjitaAcharya asked this question in Q&A
Discussion options

You must be logged in to vote

After looking, I'm adding some changes in the next release for improved handling when tile width and/or height are not specified. When only one of tile width or height is provided, a determination of the other using the requested bounds aspect ratio. When neither tile width or height are provided, an approximated pixel length based upon the saved tiles is adjusted to the requested bounds aspect ratio. Currently before this change, the tile width and/or height from the tile matrix table is used when not provided.

Some examples for version 6.1.2+, once released.

No height

TileCreator tileCreator = new TileCreator(tileDao, 256, null,
				ProjectionFactory.getProjection(ProjectionConstants.EP…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bosborn
Comment options

@RanjitaAcharya
Comment options

Answer selected by bosborn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants