Skip to main content

国土基本図図郭を作成するためのパッケージです。

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

japan_basic_section-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

japan_basic_section-0.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for japan_basic_section-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7b8d17cc292fc7878de9b0e29c54baf62eba94a2775e3f1af40e898b6ad2456d
MD5 cbb4a516bf5bda63882ec0288fe222c4
BLAKE2b-256 937e59bc59e279aa61e08fa90fe5777bcbfd51dd90051fc9121f090ae3d99344

See more details on using hashes here.

File details

Details for the file japan_basic_section-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for japan_basic_section-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b0242d318a9fc03c6b88202c5ee70ee4f8de7a8d65c4702d8b3fa3f90e6597
MD5 ccc9833eb62879a44cd5f9102e3c753b
BLAKE2b-256 b121bb8bc000ff02e019f530eac2aae196cc53f788d89b8fa5573cc017323654

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page