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)
geotify_map = HeatmapVisualizer(map_data_path, population_density_data)
geotify_map.visualize(color="lightblue")
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
geotify-0.1.0-py3-none-any.whl
(253.8 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f531b8d486f6ee69de2a9e276521e2aa562781c7a04bf275931a32ed43c51ec |
|
MD5 | 59f158f67bd8cf9d53840b4a8073d163 |
|
BLAKE2b-256 | d0ae34f584521c2f72020883bddd07346aabe746ac007157bfd4313ca5505142 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87eb21d4b5b05803f2fc3537fc77a026dc81947b4d0d0768a93fab253b1e54a |
|
MD5 | 38b0a1c14195ce138061c46330b7fafd |
|
BLAKE2b-256 | 8ede5148a6a10919528edb400901499d273c829cd7a4ae57eb4ca8ab58b43009 |