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.2.0.tar.gz (257.2 kB view details)

Uploaded Source

Built Distribution

geotify-0.2.0-py3-none-any.whl (253.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for geotify-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4df0fb847317b385921bb79a273d40f75504a921a18be6b8c005225f8a2e597f
MD5 ada9ea52b5cff0d248c4a27aa53171ea
BLAKE2b-256 0bd0fa724b7f6f2ad7622ad5de88e90a5da52129785142d99d231a49e4c80998

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for geotify-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a8e73542e4104e703bd35a6e9dc7603cbe59f0e44e6359d0e7691319f98ee8c
MD5 6b046098365dccbccb8f99e08f311bdb
BLAKE2b-256 7d222c37faf18ee0b5ee7247722a5b5fea67cedb23b2ca3826188b2823080890

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