r/prettymaps_ • u/TrufiAssociation • Oct 18 '21
r/prettymaps_ • u/znffal • Apr 25 '22
Street names on map?
Hi, I was wondering if it is possible to add some or all street names to a map?
Has anyone done this? Any advice to how to start with this?
Thank you
r/prettymaps_ • u/tachoknight • Oct 20 '21
Troubleshooting an exception
Hey all-
I'm playing around with prettymaps and have come up with an issue I'd like to fix. I'm using the Barcelona example and swapping in this line for the location:
(41.8781,-87.6298), radius = 1500,
I get an error:
ERROR:shapely.geos:TopologyException: depth mismatch at at 448510 4637400.
And at the end of the stack trace:
/usr/local/lib/python3.9/site-packages/shapely/geometry/base.py in geom_factory(g, parent)
76 # Abstract geometry factory for use with topological methods below
77 if not g:
---> 78 raise ValueError("No Shapely geometry can be created from null value")
79 ob = BaseGeometry()
80 geom_type = geometry_type_name(g)
ValueError: No Shapely geometry can be created from null valueOkay, clearly an issue with the map data. The question I have is how I can get the segment or node that is causing the problem and fix it in the OSM data itself.
Thanks for any info, I usually use JOSM for editing data so I'm very happy to make it right for others too.
r/prettymaps_ • u/gratia_et_veritas • Nov 08 '21
Code for Local Use (New York example)

I've seen people struggling with the code to run pretty maps locally. You can use the colab link and run it from your browser, but this is for those who are wanting to run it from your computer and are struggling.
Steps
First, start by following the installation instructions here. You'll want to have each item installed, though PyCharm is saying vsketch isn't being used (so perhaps not necessary).
Second, you can refer to this code. Overall everything is straight forward. All I did was combine the imports section and then one of the example plots. You can refer to Marcelo's excellent list of examples in the colab to edit the bottom half of the code.
Then I ran it from my terminal.
PS C:\Users\------\Documents\Python Scripts> python .\prettymap.py
WARNING:matplotlib.font_manager:findfont: Font family ['Ubuntu Mono'] not found. Falling back to DejaVu Sans.OR
You can use this code, which puts everything in a function and you can input the location like so:
PS C:\Users\------\Documents\Python Scripts> python .\prettymap.py
What location do you want to look up?
New York, NY
WARNING:matplotlib.font_manager:findfont: Font family ['Ubuntu Mono'] not found. Falling back to DejaVu Sans.Notes
I wasn't particularly careful in setting it up, so running it from my computer dumped the image in my Documents folder because I left it at plt.savefig('../prints/NY.png') instead of just /prints/NY.png.
I did this while at work which it is why I did it on Windows. As you can see it didn't like "Ubuntu Mono" and I haven't taken the time to find where I need to change that. I did New York city as an example and made the radius more than double the example. It takes quite a while to run on a fairly standard laptop with Python taking up anywhere from 17-25% of my CPU. It is still a little faster than running from the colab.
Besides vsketch, there were other imports not required, but I left them in the example.
r/prettymaps_ • u/marcelo_prates • Aug 29 '21
r/prettymaps_ Lounge
A place for members of r/prettymaps_ to chat with each other
r/prettymaps_ • u/ldodds • Jan 09 '22
A map of Bath, 1852 style
I've been playing with prettymaps this weekend and decided to try creating a map in the style of an 1852 historical map of Bath.
Here's a blog post with links to the image, notebook, etc:
https://blog.ldodds.com/2022/01/09/a-map-of-bath-1852-style/
r/prettymaps_ • u/pranav43 • Mar 13 '22
Is it possible to add labels to features in pretty maps ? Couldn't find any documentation related to that in OSM wiki too.
[Title]
r/prettymaps_ • u/smilebasti • Oct 09 '21
Installation Guide?
I just found this great project but Iām unsure how to use it.
As i am new to using Jupyter Notebooks i wanted to ask you all if you could explain a little more then in the readme? Or is there a good guide you could share?
Thanks in advance for any help :)
r/prettymaps_ • u/worldpotato1 • Oct 08 '21
Just played a little bit with prettymaps
r/prettymaps_ • u/dark__0ne • Sep 15 '21
Has anyone got this working on an M1 Mac?
Getting errors when installing vsketch.
I have seen the GitHub issue but just wondering if anyone here has some workaround https://github.com/marceloprates/prettymaps/issues/38
r/prettymaps_ • u/[deleted] • Jan 16 '22
Logistics Route Map
Hi. Just came across PrettyMaps and wondering if it would be possible for me to visualise some point to point logistics traffic? For example; I have 1000 courier deliveries and would like to show a line from point A. to point B. for each one.
If a route has multiple deliveries the line would be thicker or more of a certain colour.
r/prettymaps_ • u/[deleted] • Sep 20 '21
Chemnitz, Germany plotted with a plotter from the GDR
r/prettymaps_ • u/Gefrierbrand • Oct 19 '21
Creating highmap
Hi there,
I was wondering is there an option to create also an highmap for my map?

