国土基本図図郭を作成するためのパッケージです。
Project description
japan-basic-section
国土基本図図郭に沿ったgeopandas.GeoDataFrameを作成するためのシンプルなPythonパッケージです。 図郭のレベルは50000, 5000, 2500, 1000, 500から選択できます。
インストール
pip install japan-basic-section
使い方
※ 詳細はnotebooks/sample.ipynbを参照してください。
from japan_basic_section.grid import Grid
from japan_basic_section.origin_coords import get_coord_info
system_number = 1
info = get_coord_info(system_number)
g = Grid(system_number, 50000)
grid_50000 = g.make_grid()
crs = info[1]["JGD2011"]
grid_50000.set_crs(crs, inplace=True)
os.makedirs("../data/output", exist_ok=True)
grid_50000.to_file("../data/output/grid_50000.fgb", driver="FlatGeobuf")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file japan_basic_section-0.0.3.tar.gz.
File metadata
- Download URL: japan_basic_section-0.0.3.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b8d17cc292fc7878de9b0e29c54baf62eba94a2775e3f1af40e898b6ad2456d
|
|
| MD5 |
cbb4a516bf5bda63882ec0288fe222c4
|
|
| BLAKE2b-256 |
937e59bc59e279aa61e08fa90fe5777bcbfd51dd90051fc9121f090ae3d99344
|
File details
Details for the file japan_basic_section-0.0.3-py3-none-any.whl.
File metadata
- Download URL: japan_basic_section-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3b0242d318a9fc03c6b88202c5ee70ee4f8de7a8d65c4702d8b3fa3f90e6597
|
|
| MD5 |
ccc9833eb62879a44cd5f9102e3c753b
|
|
| BLAKE2b-256 |
b121bb8bc000ff02e019f530eac2aae196cc53f788d89b8fa5573cc017323654
|