Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不動産IDの読み込み対応 #120

Merged
merged 4 commits into from
Mar 18, 2024
Merged

不動産IDの読み込み対応 #120

merged 4 commits into from
Mar 18, 2024

Conversation

kntoshiya
Copy link
Contributor

@kntoshiya kntoshiya commented Mar 18, 2024

close #104

Summary by CodeRabbit

  • 新機能
    • PLATEAU QGIS プラグインがバージョン 0.0.5 から 0.0.6 へ更新され、日本で使用される CityGML 形式の3D都市モデルデータのインポート機能が強化されました。
    • 不動産属性に関連する機能に REAL_ESTATE_ID_ATTRIBUTE を追加しました。
    • 新しい属性パス uro:bldgRealEstateIDAttribute を追加し、uro:RealEstateIDAttribute に関する新しい機能処理定義を導入しました。

@kntoshiya kntoshiya requested a review from ciscorn March 18, 2024 05:34
Copy link

coderabbitai bot commented Mar 18, 2024

Walkthrough

この変更では、PLATEAU QGIS Pluginの機能がバージョン0.0.5から0.0.6に更新され、日本で使用されるCityGML形式の3D都市モデルデータのインポートに関する機能が強化または修正されました。特に、不動産属性に関連する機能に影響を与える変更が加えられました。

Changes

ファイル 変更概要
.../metadata.txt バージョン番号を0.0.6に更新。
.../__init__.py REAL_ESTATE_ID_ATTRIBUTEをエクスポートエンティティのリストに追加。
.../models/building.py uro:bldgRealEstateIDAttributeの属性パスを追加し、uro:RealEstateIDAttributeの処理定義を追加。

Assessment against linked issues

Objective Addressed Explanation
不動産IDの属性に対応する (#104)

Poem

🌆🐰📝
"新しいバージョン、風を切って
不動産ID、空に描いて
データの海、航海する
QGISの船、進化を遂げる
ありがとう、開発者の友よ"
🌟🌍🛠


Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 9cd182e and 537e93b.
Files selected for processing (3)
  • plateau_plugin/metadata.txt (1 hunks)
  • plateau_plugin/plateau/models/init.py (2 hunks)
  • plateau_plugin/plateau/models/building.py (3 hunks)
Additional comments: 6
plateau_plugin/metadata.txt (1)
  • 3-3: バージョンが0.0.5から0.0.6に正しく更新されています。新機能や改善の追加に伴うバージョンアップであることがわかります。
plateau_plugin/plateau/models/__init__.py (2)
  • 27-27: REAL_ESTATE_ID_ATTRIBUTEが正しく追加されています。これにより、不動産ID属性に関連するデータの処理とエクスポートが可能になります。
  • 85-85: REAL_ESTATE_ID_ATTRIBUTEがプロセッサレジストリに正しく登録されています。これにより、不動産ID属性のサポートが強化されます。
plateau_plugin/plateau/models/building.py (3)
  • 21-21: 新しい属性パスuro:bldgRealEstateIDAttributeが正しく追加されています。これにより、建物要素内のuro:RealEstateIDAttributeを認識し処理することが可能になります。
  • 154-169: real_estate_id_pathに関連するセクションがコメントアウトされています。この変更の背景や将来の計画について、もう少し詳細を共有していただけますか?
  • 724-767: uro:RealEstateIDAttributeのための新しい特徴処理定義が追加されました。これにより、不動産ID属性の非幾何学的処理が可能になり、プラグイン内での不動産データの取り扱いが強化されます。

Comment on lines 154 to 169
# real_estate_id_attr_container_path="./uro:bldgRealEstateIDAttribute", # 不動産ID
dm_attr_container_path="./uro:bldgDmAttribute",
facility_attr_paths=FacilityAttributePaths(
facility_id="./uro:bldgFacilityIdAttribute",
facility_types="./uro:bldgFacilityTypeAttribute",
facility_attrs="./uro:bldgFacilityAttribute",
large_customer_facility_attrs="./uro:largeCustomerFacilityAttribute",
),
# real_estate_id_path = RealEstateIDAttributePaths( # uro:bldgRealEstateIDAttribute/aaa
# real_estate_id_of_building = "./uro:realEstateIDOfBuilding",
# number_of_building_unit_ownership= "./uro:numberOfBuildingUnitOwnership",
# real_estate_id_of_building_unit_ownership = "./uro:realEstateIDOfBuildingUnitOwnership",
# number_of_real_estate_id_of_Land = "./uro:numberOfRealEstateIDOfLand",
# real_estate_id_of_land = "./uro:realEstateIDOfLand",
# matchingS_score = "./uro:matchingScore",
# ),
Copy link
Member

@ciscorn ciscorn Mar 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。
このあたりのコメントアウトは削除忘れでしょうか?!

その他はLGTMです

Copy link
Contributor Author

@kntoshiya kntoshiya Mar 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

お、消し忘れでした。。コメントアウト削除してマージしちゃいます!

@ciscorn ciscorn self-requested a review March 18, 2024 07:16
Copy link
Member

@ciscorn ciscorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 537e93b and 29fe059.
Files selected for processing (1)
  • plateau_plugin/plateau/models/building.py (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • plateau_plugin/plateau/models/building.py

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 29fe059 and b128273.
Files selected for processing (2)
  • plateau_plugin/plateau/models/init.py (2 hunks)
  • plateau_plugin/plateau/models/building.py (2 hunks)
Files skipped from review as they are similar to previous changes (2)
  • plateau_plugin/plateau/models/init.py
  • plateau_plugin/plateau/models/building.py

@kntoshiya kntoshiya merged commit 47c96d9 into main Mar 18, 2024
4 checks passed
@kntoshiya kntoshiya deleted the feature/realesteate-id branch March 18, 2024 07:57
@kntoshiya kntoshiya restored the feature/realesteate-id branch March 18, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

不動産IDの属性に対応する
2 participants