Skip to content

Add CSV export for route summary#173

Open
RitikaSen27 wants to merge 3 commits into52North:mainfrom
RitikaSen27:feature/route-summary-csv-export
Open

Add CSV export for route summary#173
RitikaSen27 wants to merge 3 commits into52North:mainfrom
RitikaSen27:feature/route-summary-csv-export

Conversation

@RitikaSen27
Copy link
Copy Markdown

@RitikaSen27 RitikaSen27 commented Mar 13, 2026

Summary

Adds CSV export functionality for route summaries and unit tests for the distance() and time_diffs() utilities.

Changes

  • Implemented write_summary_to_csv() in RouteParams
  • Added --export-csv CLI argument
  • Updated execute_routing() to support optional CSV export
  • Added analytical unit tests for distance() and time_diffs() using a simple meridian route

Motivation

CSV export allows users to easily load optimized route summaries in tools like Excel or pandas without parsing GeoJSON.
The added tests ensure the distance and time calculations remain stable and prevent regressions.

PR Checklist:

In the context of this PR, I:

Please consider that PRs which do not meet the requirements specified in the checklist will not be evaluated. Also, PRs with no activities will be closed after a reasonable amount of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants