From 5f935f2c746c7b3ef70f7e9b6608605389b20d32 Mon Sep 17 00:00:00 2001 From: Taro Matsuzawa Date: Wed, 13 Mar 2024 09:14:55 +0900 Subject: [PATCH] #59 fix api document --- README.md | 2 +- README.rst | 2 +- plateauutils/parser/city_gml_parser.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f061c3..dda5c41 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ MVTのパーサーするには、以下を参照してください。 ```bash python3.9 -m venv venv -./venv/bin/activate +source venv/bin/activate pip install -U pip pip install -r dev-requirements.txt pytest --cov=plateauutils --cov-report=html --cov-fail-under=90 diff --git a/README.rst b/README.rst index ec2cd84..8df8314 100644 --- a/README.rst +++ b/README.rst @@ -62,7 +62,7 @@ How to develop .. code:: bash python3.9 -m venv venv - ./venv/bin/activate + source venv/bin/activate pip install -U pip pip install -r dev-requirements.txt pytest --cov=plateauutils --cov-report=html --cov-fail-under=90 diff --git a/plateauutils/parser/city_gml_parser.py b/plateauutils/parser/city_gml_parser.py index 4bfcb9d..46b82e1 100644 --- a/plateauutils/parser/city_gml_parser.py +++ b/plateauutils/parser/city_gml_parser.py @@ -37,6 +37,7 @@ def parse(self, target_path: str = "") -> list: * min_height: 最小高さ * measured_height: 測定高さ * building_structure_type: 建物構造種別(コード) + * usage: 用途 """ # ファイルが存在しないならエラー if not os.path.exists(target_path): @@ -142,6 +143,7 @@ def download_and_parse(self, url: str = "", target_dir: str = "") -> list: * min_height: 最小高さ * measured_height: 測定高さ * building_structure_type: 建物構造種別(コード) + * usage: 用途 """ saved_path = self._download(url, target_dir) return self.parse(saved_path)