News for hackers. Stuff that matters.
Re:Map To Poster – Create Art of your favourite city by mft_ on Saturday January 17, 2026 @06:00AM (#46657034)
I believe (from a quick code check on my phone) it should be possible to output the images to SVG with a little tweak, thanks to your use of matplotlib?

Is there a reason you’ve defaulted to PNG that I’m missing?

Re:Map To Poster – Create Art of your favourite city by originalankur on Saturday January 17, 2026 @06:09AM (#46657084)
Valid Point @mft_ plt.savefig(output_file, format='svg', facecolor=THEME['bg']) should do it. I will add a --format parameter and make the change.
Re:Map To Poster – Create Art of your favourite city by Footprint0521 on Saturday January 17, 2026 @12:20PM (#46659805)
Holy heck exporting to PDF/SVG for large cities is laggy, just patched the repo and did it for one over half a million people and it’s insanely slow lol
Re:Map To Poster – Create Art of your favourite city by originalankur on Saturday January 17, 2026 @12:31PM (#46659948)
There is throttling in the code when making api request to respect the map provider as per their terms and conditions. Can make few thing parallel but it's a hobby project how many posters would one person want to generate?.