Skip to main content

Map Poster Creator

Project description

Map Poster Creator

main window

Valriable Colors

white

white

black

black

coral

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:

  1. Create geojson file with one poly. https://geojson.io/
  2. Download shp archive for region https://download.geofabrik.de/ eq: central-fed-district-latest-free.shp.zip
  3. Unpack *.free.shp.zip archive to some folder PATH_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

map_poster_creator-0.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distributions

map_poster_creator-0.5-py3.8.egg (8.5 kB view details)

Uploaded Source

map_poster_creator-0.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for map_poster_creator-0.5.tar.gz
Algorithm Hash digest
SHA256 51ae2b8057737f159bcf10544c98aedf64847d5d476cbf436744fe61950fb5e3
MD5 8230d93e6d6015a46b6f13b0492dc0c5
BLAKE2b-256 a4b73657e61274c31fafe970279e5ea54d6eca6d8074dce60f4f8ba87f91b168

See more details on using hashes here.

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

Hashes for map_poster_creator-0.5-py3.8.egg
Algorithm Hash digest
SHA256 6da0d5ab3d9970dafe400bc40666c9c132f350088e2bbcdb48ecf0b10f2393aa
MD5 60f4105c295d499cb99741b502087361
BLAKE2b-256 5111eb6d956ea137e2ccfb244361e320e149d8c57ada4db0fc65280f6dd776d9

See more details on using hashes here.

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

Hashes for map_poster_creator-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31bb11f618fc30f65c97a21746dc50ef5ce16bd2f544addbc246a0ad6a041d3c
MD5 58496fa279522e9f937b3d4cbdf8dcc5
BLAKE2b-256 fa97b6c2484303d635cccc5b2bcceba338d9d523630579ffe1bd824d256b30e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page