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

--tilesize=<PIXELS> option support #20

Open
tyberiuscodes opened this issue Sep 16, 2020 · 0 comments
Open

--tilesize=<PIXELS> option support #20

tyberiuscodes opened this issue Sep 16, 2020 · 0 comments

Comments

@tyberiuscodes
Copy link

First of all, I wanted to thank you for this handy tool. I was using the "vanilla" gdal2tiles, but was having a lot of trouble using it with leaflet. After finding this leaflet version, I was finally able to get my tiles to display properly on the y-axis!

However, I came to realize that gdal2tiles-leaflet unfortunately doesn't have support for the new "--tilesize" option from gdal2tiles 3.1 (see https://gdal.org/programs/gdal2tiles.html#cmdoption-gdal_translate-tilesize). With the original program, I was generating my tiles at 215x215 rather than 256px, since my image is 13760x6880. This means that when I use the leaflet version to generate the tiles, it ends up a little wonky.

And so, I wanted to request the addition of the --tilesize option, if possible. I tried hacking it together myself, but unfortunately I have no experience with python.

Thank you for your time.

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