Skip to main content

Geospatial Features Using Kakao API

Project description

geokakao

The geokakao package provides a convenient way to utilize the Kakao API for converting addresses into GeoPackages. This package allows you to extract coordinates (longitude and latitude) from provided addresses and integrate them into a DataFrame. You can then convert the enriched DataFrame back into the GeoPackage format, facilitating seamless integration of address data with geographic coordinates.

Features

  • Convert addresses to coordinates (longitude and latitude) using the Kakao API.
  • Integrate coordinate information into a DataFrame containing address data.
  • Convert the enriched DataFrame back into the GeoPackage format.

Installation

To install the geokakao package, you can use the following pip command:

pip install geokakao

Usage

Here's a simple example of how to use the geokakao package:

import geokakao as gk
import pandas as pd
# Load your DataFrame with address information
data = {'Name': ['국립공원공단 본사',
                 '국립공원연구원 본원',
                 '치악산국립공원사무소'],
        'Address': ['강원특별자치도 원주시 혁신로 22',
                    '강원특별자치도 원주시 단구로 171',
                    '강원특별자치도 원주시 소초면 무쇠점2길 26']}
df = pd.DataFrame(data)
# Convert addresses to coordinates and integrate into the DataFrame
gk.add_coordinates_to_dataframe(df, 'Address')
df.to_csv('korea_np.csv', index=False, encoding='utf-8')
# Save the enriched DataFrame to a GeoPackage file
input_csv = "korea_np.csv"
output_gpkg = "korea_np.gpkg"

gk.csv_to_gpkg(input_csv, output_gpkg)

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

geokakao-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

geokakao-0.1.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file geokakao-0.1.1.tar.gz.

File metadata

  • Download URL: geokakao-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for geokakao-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41f0acec6b2672d668a17e5697e542dd67527ac34d91e083d2ea0df4c7371ce2
MD5 61887e770dc1c44e1e86e916a1f9207e
BLAKE2b-256 c886f9c4502d69b632c62b540175d06244ad0e018e55e5bc7a693f0c0baaf72e

See more details on using hashes here.

File details

Details for the file geokakao-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: geokakao-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for geokakao-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e4c7a2be7e6325c464f2d9914b620b44dd5286b8a63bab69fc2819a050d010
MD5 20e5521f66cf6f29cb3867e7776d7e92
BLAKE2b-256 69921ffeca317bf59cdb0575b9d8df4a5981700ee9c22ee49d90664816d1a23c

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