Readit News logoReadit News
stanko · 22 days ago
There is a related project which I used several times:

https://github.com/anvaka/city-roads

Edit: it outputs SVGs and you can try it online. Anvaka (author) has other really cool dataviz projects.

sandos · 21 days ago
Kinda sad that maptoposter uses png. SVG is so much better in this case, if you want to actually print a poster!
PetahNZ · 19 days ago
It does support SVG, --format=svg
Helmut10001 · 23 days ago
San Francisco looks nice, but there seems to be a problem with the projection in some of the sample images. It looks as if it isn't UTM but a global sphere projection, which isn't suitable for local renders. It's suspicious that the word 'projection' isn't mentioned in the Readme.
jasongill · 23 days ago
This is an artistic project to make a fun and artsy poster, so it's not at all "suspicious" that the map projection is not critical to the artwork.

It also appears to be open source, so perhaps you can open a pull request with your improvements based on your cartographical experience.

Helmut10001 · 23 days ago
You are absolutely correct. Suspicious was the wrong word and I did not mean to criticize the author or the work.
jlarocco · 23 days ago
It looks like the final images have some kind of vignetting to make the corners and outter edges fade away. Probably grabbing OSM tiles and doing some image processing.

Looks neat!

mvdwoord · 22 days ago
Great project! It takes a bit of fiddling to get the distance parameter right in some cases, and two possible improvements would be to allow for coordinate input rather than city name so I can point it at a specific spot as the center of the map. Another one would be to output all styles simultaneously so I can visually select from the generated images.

Anyhow, nice work. Thanks!

hyperific · 23 days ago
Also check out prettymapp

https://prettymapp.streamlit.app/

mft_ · 23 days ago
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?

originalankur · 23 days ago
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.
Footprint0521 · 23 days ago
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
originalankur · 22 days ago
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?.
nycerrrrrrrrrr · 23 days ago
Does anyone have recommendations for how to actually print a poster from images like these?
fmajid · 22 days ago
El-co Color in New Jersey is known for its affordable 20x30" poster prints.

https://www.elcocolor.net/index.php/poster-special

jfengel · 23 days ago
For what it's worth, I use Vistaprint. That's not based on an extensive comparison, just that it always works for me and seems comparable in price and quality to other services.
loloquwowndueo · 23 days ago
For something DIY, Rasterbator.net can make you a poster-sized print in multiple sheets. You’ll need some elbow grease to assemble the print.
xnx · 23 days ago
In the US, I've had good results with Staples
1970-01-01 · 22 days ago
I remember one of these had a service that made a 3D relief map (3D print) and then framed it, so you could hang it onto a wall.
dexterdog · 23 days ago
dotphoto.com
hirako2000 · 23 days ago
A good print on demand that delivers ?
stephenlf · 23 days ago
This repo is fantastic. The README should be the gold standard for OSS. Not to mention how stunning the outputs are. Thanks for sharing.

Deleted Comment

nl · 22 days ago
This really needs to be `uvx` runnable.