ENH: Add KML export functionality for 3D trajectories

オープン
#1,083 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
api

調査の方向性

Start by reading the Flight class and checking how flight.post_processed.to_dataframe() exposes latitude, longitude, and altitude. Then identify where Flight methods and their tests are organized. Done means a new export method writes those trajectory coordinates to a standard KML file that can be opened in a GIS application.

索引モデルが issue の本文から書いたものです。

説明

Enhancement Outputs

Currently, RocketPy provides excellent 3D trajectory visualization using Vedo (PyVista/VTK). However, users cannot easily export these trajectories to visualize them in Google Earth or other GIS applications. This limits the ability to overlay flight paths on real-world maps or share trajectories with non-technical stakeholders.

Add a new method to the Flight class, e.g., export_to_kml(filename="trajectory.kml"), which exports the flight trajectory data (latitude, longitude, altitude) to a standard KML (Keyhole Markup Language) file. This would allow users to open the file directly in Google Earth, Google Maps or other GIS software.

Users can currently extract the data via flight.post_processed.to_dataframe() and manually convert it using third-party tools like simplekml or GPSVisualizer. Adding a built-in method would improve usability and streamline the workflow.

This feature was suggested by a community member on Instagram who asked: "can we export the 3d animations to kml to view trajectories on google earth". Implementing this would be a great quality-of-life improvement for the community.

If accepted, I would like to work on this and submit a PR.

主要言語
Python
スター
1.1k
フォーク
280
平均マージ
3日 2時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RocketPy-Team/RocketPy のほかの issue

RocketPy-Team/RocketPy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。