-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert README and LICENCE to markdown and add task-list
- Loading branch information
Showing
4 changed files
with
58 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
MIT License | ||
=========== | ||
# MIT License | ||
|
||
Copyright (c) 2019 Patrick Faion | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# pybeautymaps | ||
|
||
|
||
[![Travis Build](https://travis-ci.org/pfaion/pybeautymaps.svg?branch=master)](https://travis-ci.org/pfaion/pybeautymaps) | ||
[![Coveralls Coverage](https://coveralls.io/repos/github/pfaion/pybeautymaps/badge.svg?branch=master)](https://coveralls.io/github/pfaion/pybeautymaps?branch=master) | ||
|
||
This is a library for creating beautyful map images with python. | ||
|
||
![Example Image](examples/manhattan.png) | ||
|
||
|
||
## Installation | ||
|
||
```bash | ||
pip install git+https://github.com/pfaion/pybeautymaps | ||
``` | ||
|
||
|
||
## Quick-Start | ||
|
||
Take a look at the [examples](examples) folder for different renderings. | ||
|
||
```python | ||
from pybeautymaps import Beautymap | ||
|
||
m = Beautymap.square_centered( | ||
center_latlon=(40.757667, -73.983715), | ||
width=8.0 | ||
) | ||
|
||
m.render_square_png( | ||
filename='manhattan.png', | ||
size=2000, | ||
padding=50, | ||
line_widths={ | ||
'trunk': 5, | ||
'primary': 4, | ||
'secondary': 3, | ||
'tertiary': 2, | ||
} | ||
) | ||
``` | ||
|
||
## TODO | ||
A brief list of what additional features are planned: | ||
|
||
- [ ] Add option to show rivers | ||
- [ ] Add option to use custom colors | ||
- [ ] Add more rendering shapes (rectangular, circular, ...) | ||
- [ ] Add more output formats (jpg, pdf, svg, ...) | ||
- [ ] Add debugging support via iPython | ||
|
||
- [ ] Return image as iPython image | ||
- [ ] Plot different road types in different colors | ||
- [ ] Cache data for every road type separately |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters