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.
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.
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.
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?
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
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?.
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.
https://github.com/anvaka/city-roads
Edit: it outputs SVGs and you can try it online. Anvaka (author) has other really cool dataviz projects.
It also appears to be open source, so perhaps you can open a pull request with your improvements based on your cartographical experience.
Looks neat!
Anyhow, nice work. Thanks!
https://prettymapp.streamlit.app/
Is there a reason you’ve defaulted to PNG that I’m missing?
https://www.elcocolor.net/index.php/poster-special
Deleted Comment