prettymaps icon indicating copy to clipboard operation
prettymaps copied to clipboard

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.

Results 68 prettymaps issues
Sort by recently updated
recently updated
newest added

This PR adds aeroway road-type layer so that it is possible to fetch and customize aeroways

I want to reuse a previously called osm backup `dict` ```python fig, ax = plt.subplots(figsize = (12, 12), constrained_layout = True) backup01 = plot( 'Praça Ferreira do Amaral, Macau', radius...

Currently it is not easily possible to create a rectangular shape from coordinates. This PR simply extends the `get_boundary` function to also accept a tuple for the radius (to define...

When I try to use Google Colab, plotter mode doesn't work for me. I run the stated code: ``` plot = prettymaps.plot( (41.39491,2.17557), mode = 'plotter', layers = dict(perimeter =...

Hello, As a PTA member, I would like to make a map of the school address. I just installed prettymaps, resolved the problem with usrlib, and try the example, but...

``` retain_all : bool if True, return the entire graph even if it is not connected. otherwise, retain only the largest weakly connected component. ``` If the streets aren't all...

This package hasn't seen updates in a while, and is lagging in terms of `shapely` 2 support. Are there plans to update this?

Dear marceloprates, Thank you for open-sourcing this amazing work! I'm wondering if it is possible to export the stylized map as a SVG file? Thank you in advance. Xiaodan Du