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

Forcing the output size? #11

Open
vektorline opened this issue Jan 30, 2021 · 1 comment
Open

Forcing the output size? #11

vektorline opened this issue Jan 30, 2021 · 1 comment

Comments

@vektorline
Copy link

Hello,

I'v been pulling my hairs on this for quite few days now and I'm struggling to find a simple way to have the output at a specific size with the route centered (i.e: 1080x1920, or 800x800..). Not sure if that's currently possible but would love advice on direction as the level of maths in it is a way beyond my understanding...

Merci

@remisalmon
Copy link
Owner

I see what you are trying to do but there is no option yet to force the output size or aspect ratio.

You can play around by decreasing the values of x_tile_min, y_tile_min and increasing the values of x_tile_max, y_tile_max right before the # download tiles section to add extra "empty" tiles around the heatmap and crop the output in an editing software (you will also need to comment out the auto cropping added in aa922d0

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