Live data from Hacker News

Map To Poster – Create Art of your favourite city

github.com

11–20 of 74 posts

Re: Map To Poster – Create Art of your favourite city

#11

It says there are examples but I can't see them?

Please check on desktop, the table is hiding images in responsive mode - You can see the images on X here https://x.com/getpy/status/2009255303775174684

Thanks, I didn't notice there was another column that I could sidescroll to!

Re: Map To Poster – Create Art of your favourite city

#12
post #10

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?

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

#15

The map of Venice seems to be the only one whose image is "squeezed" horizontally. Wondering why.

need to take into consideration the length and width of the city and choose distance appropriately. I haven't followed my own suggestion here - https://github.com/originalankur/maptoposter?tab=readme-ov-f... will fix.

Re: Map To Poster – Create Art of your favourite city

#17
post #16

I tried it in a python3 venv, but the download data step is stuck at 0% unfortunately.

It will work, give it time. Also default distance is 29000. Give distance of 10000 to see faster results. It certainly is working as many users have generated maps.

Re: Map To Poster – Create Art of your favourite city

#18
post #16

I tried it in a python3 venv, but the download data step is stuck at 0% unfortunately.

It will work, give it time. Also default distance is 29000. Give distance of 10000 to see faster results. It certainly is working as many users have generated maps.

Also note that as per their terms and conditions I need to give a user agent, so multiple users will be sharing same user agent right now.

Re: Map To Poster – Create Art of your favourite city

#19
post #13

That's splendid. I've long wanted to make a jigsaw puzzle out of Sydney's road map, so I can familiarise myself with the layout of roads while having fun. That way I can reduce my reliance on nav app and become one of those old-school drivers.

There's a reason Where 2 -> Google Maps happened in Sydney. The sheer number of one-way roads combined with the imposition of the harbour and the messy tunnel system make internalising Sydney navigation a life-long endeavour
Post reply on HN