Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KML Sink:建物ごとにPlacemarkを作成するように変更 (#278)
建物が一つの地物(Placemark)にまとまるように修正しました。 https://github.com/MIERUNE/nusamai/assets/83005951/de25d1f1-0925-4688-83ad-c5de9a9b650a kmlデータ上では、 1gmlファイル...1Folder...nPlacemark...1MultiGeometry...nPolygon の構成になっています。 ``` <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Folder> <Placemark> <MultiGeometry> <Polygon> ... </Polygon> <Polygon> ... </Polygon> </MultiGeometry> </Placemark> <Placemark> ... </Placemark> <Placemark> ... </Placemark> </Folder> </kml> ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **新機能** - `multipolygon_to_kml`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - `indexed_multipolygon_to_kml`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - `multipolygon_to_kml_with_mapping`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - `polygon_to_kml_polygon_with_mapping`という新しい関数を追加し、`KmlPolygon`を返します。 - `polygon_to_kml_with_mapping`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - `polygon_to_kml`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - `indexed_polygon_to_kml`関数の返り値を`Vec<KmlPolygon}`に変更しました。 - **リファクタ** - KMLタイプの命名と構造を再編成しました。 <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information