-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix: bldg:class の扱いが抜けている #119
Conversation
Walkthroughこの変更は、 Changes
Assessment against linked issues
Poem
TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attribute( | ||
name="class", | ||
path="./bldg:class", | ||
datatype="[]string", | ||
predefined_codelist="Building_class", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
属性名class
は、Pythonなどの多くのプログラミング言語で予約語として使用されています。これにより、コードの可読性や保守性に影響を与える可能性があります。もし可能であれば、buildingClass
のような代替の属性名を検討してはいかがでしょうか。これにより、将来的な混乱を避けることができます。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これはCityGMLの仕様上の名前を記述しているだけなのでOKです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ciscorn: 了解しました。CityGMLの仕様に従ってclass
属性名を使用することの重要性を理解しています。この点についてのご説明ありがとうございます。
There was a problem hiding this 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: 1
Configuration used: CodeRabbit UI
Files selected for processing (1)
- plateau_plugin/metadata.txt (1 hunks)
Additional comments: 1
plateau_plugin/metadata.txt (1)
- 3-3: バージョンが0.0.4から0.0.5に更新されました。この変更はセマンティックバージョニングの原則に従っており、後方互換性を保ちながら機能が追加されたことを示しています。
[general] | ||
name=PLATEAU QGIS Plugin | ||
version=0.0.4 | ||
version=0.0.5 | ||
qgisMinimumVersion=3.6 | ||
description=Import the PLATEAU 3D city model data (CityGML) used in Japan — PLATEAU 3D都市モデルのCityGMLファイルをQGISに読み込みます | ||
author=MLIT Japan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 NOTE
This review was outside the diff hunks, and no overlapping diff hunk was found. Original lines [9-9]
プラグインの説明に日本語テキストが追加され、日本語を話すユーザーにとってよりアクセスしやすくなりました。ただし、「ことができます」という表現は冗長な可能性があります。より簡潔にするためには、次のように修正することをお勧めします。
- PLATEAU 3D都市モデルのCityGMLファイルをQGISに読み込むことができます。
+ PLATEAU 3D都市モデルのCityGMLファイルをQGISに読み込めます。
There was a problem hiding this 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
Files selected for processing (1)
- plateau_plugin/plateau/models/landuse.py (1 hunks)
Additional comments: 1
plateau_plugin/plateau/models/landuse.py (1)
- 161-161: この変更は、リストの要素が将来的に追加される場合の差分をより明確にするための良い実践です。問題ありません。
Closes: #118
Summary by CodeRabbit
class
属性を追加しました。これは[]string
データ型で、Building_class
のコードリストが事前に定義されています。