ENH: Add KML export functionality for 3D trajectories

Đang mở
#1,083 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
1.1k
Fork
280
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
24

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RocketPy-Team/RocketPy

Tất cả issue của RocketPy-Team/RocketPy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.