Skip to main content

geotify

Project description

geotify

Visualization tools suitable for geographic data.

introduction

geotify is a library that visualizes desired data on top of geographic data.

install

Geotify depends on the following packages:

  • matplotlib
  • pandas
  • geopandas

Examples

from pathlib import Path
from geotify.visualization import BarChartVisualizer, RegionCodeEnum

# Set the path to the datasets directory
ASSETS_PATH = Path(__file__).parent / "datasets"

# Define paths to the GeoJSON and CSV files
map_data_path = ASSETS_PATH.joinpath("base_korea_map.json")
population_density_data = ASSETS_PATH.joinpath("강원도.csv")

# Initialize the visualizer with specific regional settings
density_visualizer = BarChartVisualizer(
    map_data_path, population_density_data, RegionCodeEnum.강원특별자치도, "동별(2)"
)

# List of regions to visualize
region_names = ["평창군"]

# Column name containing the population density values
value_column = "인구밀도 (명/㎢)"

# Execute the visualization
density_visualizer.visualize(region_names, value_column)
image
geotify_map = HeatmapVisualizer(map_data_path, population_density_data)
geotify_map.visualize(color="lightblue")
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

geotify-0.1.0.tar.gz (256.9 kB view details)

Uploaded Source

Built Distribution

geotify-0.1.0-py3-none-any.whl (253.8 kB view details)

Uploaded Python 3

File details

Details for the file geotify-0.1.0.tar.gz.

File metadata

  • Download URL: geotify-0.1.0.tar.gz
  • Upload date:
  • Size: 256.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for geotify-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f531b8d486f6ee69de2a9e276521e2aa562781c7a04bf275931a32ed43c51ec
MD5 59f158f67bd8cf9d53840b4a8073d163
BLAKE2b-256 d0ae34f584521c2f72020883bddd07346aabe746ac007157bfd4313ca5505142

See more details on using hashes here.

File details

Details for the file geotify-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: geotify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 253.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.14

File hashes

Hashes for geotify-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e87eb21d4b5b05803f2fc3537fc77a026dc81947b4d0d0768a93fab253b1e54a
MD5 38b0a1c14195ce138061c46330b7fafd
BLAKE2b-256 8ede5148a6a10919528edb400901499d273c829cd7a4ae57eb4ca8ab58b43009

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