Skip to content

市区町村コードの先頭の 0 が欠けてしまう #1

@ej-yossakura

Description

@ej-yossakura

city_code.csv の code 列に先頭が 0 の市区町村コード(北海道~栃木県の市区町村)を記載した場合、[01_農地ピン-GeoJSON を WAGRI API で取得ツール] にて先頭の 0 が欠けてしまう。
WAGRI_AgriLandPin_toolbox.pyt の 368 行目
df['code'].astype(str).str.zfill(5)
にする等で修正できるかと思います。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions