Map Poster Creator
Project description
Map Poster Creator
Valriable Colors
white
black
coral
Install:
pip install map-poster-creator
Deps
Linux
apt-get install libgeos-dev
Windows [BIG TROUBLE, 14GB Dependencies]
- Use Docker =)
MacOS
brew install geos
Usage:
- Create geojson file with one poly. https://geojson.io/
- Download shp archive for region https://download.geofabrik.de/ eq:
central-fed-district-latest-free.shp.zip
- Unpack
*.free.shp.zip
archive to some folderPATH_TO_SHP_DIR
$ mapoc poster create --shp_path PATH_TO_SHP_DIR --geojson PATH_TO_GEOJSON --colors white black coral
$ mapoc poster create -h
usage: Map Poster Creator poster create [-h] --shp_path SHP_PATH --geojson GEOJSON [--colors COLORS [COLORS ...]] [--output_prefix OUTPUT_PREFIX]
Make Poster
optional arguments:
-h, --help show this help message and exit
--shp_path SHP_PATH Path to shp folder.type "mapoc misc shp" to download
--geojson GEOJSON Path to geojson file with boundary polygon.type "mapoc misc geojson" to create and download
--colors COLORS [COLORS ...]
Provide colors. eq "--colors white black coral". Default: "white". Available colors: black, white, red, coral
--output_prefix OUTPUT_PREFIX
Output file prefix. eq. "{OUTPUT_PREFIX}_{COLOR}.png". Default: "map"
$ mapoc misc -h
usage: Map Poster Creator misc [-h] {shp,geojson} ...
Misc services
optional arguments:
-h, --help show this help message and exit
misc management commands:
misc
{shp,geojson} Additional help for available commands
TODO
- Add configurable settings for poster size and quality.
- Add the ability to custom color schemes.
- Add Docker image
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file map_poster_creator-0.5.tar.gz
.
File metadata
- Download URL: map_poster_creator-0.5.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ae2b8057737f159bcf10544c98aedf64847d5d476cbf436744fe61950fb5e3 |
|
MD5 | 8230d93e6d6015a46b6f13b0492dc0c5 |
|
BLAKE2b-256 | a4b73657e61274c31fafe970279e5ea54d6eca6d8074dce60f4f8ba87f91b168 |
File details
Details for the file map_poster_creator-0.5-py3.8.egg
.
File metadata
- Download URL: map_poster_creator-0.5-py3.8.egg
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da0d5ab3d9970dafe400bc40666c9c132f350088e2bbcdb48ecf0b10f2393aa |
|
MD5 | 60f4105c295d499cb99741b502087361 |
|
BLAKE2b-256 | 5111eb6d956ea137e2ccfb244361e320e149d8c57ada4db0fc65280f6dd776d9 |
File details
Details for the file map_poster_creator-0.5-py3-none-any.whl
.
File metadata
- Download URL: map_poster_creator-0.5-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31bb11f618fc30f65c97a21746dc50ef5ce16bd2f544addbc246a0ad6a041d3c |
|
MD5 | 58496fa279522e9f937b3d4cbdf8dcc5 |
|
BLAKE2b-256 | fa97b6c2484303d635cccc5b2bcceba338d9d523630579ffe1bd824d256b30e5 |