Skip to content
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

Two new tools and extending an existing one #187

Merged
merged 4 commits into from
Dec 19, 2023
Merged

Two new tools and extending an existing one #187

merged 4 commits into from
Dec 19, 2023

Conversation

tkchouaki
Copy link
Collaborator

This PR proposes two new tools in the org.eqasim.core.tools package:

  • ExportActivitiesToShapefile: takes as input a plans file and writes a shapefile with point corresponding to persons' activities with the following information: personId, activity index, activity type, link id, facility id, start time and end time.
  • ExportPopulationToCSV: also takes a plans file as input. Generates a CSV file containing the persons and their attributes. The attributes are retrieved dynamically from the population, so the header of the file will depend on it. The only column present by default is person_id.

Moreover, the ExportTransitLinesToShapefile tool has been extended to allow the selection of transit routes to export (by line id, route id or mode) and also to have the line name written in the exported features.

Tarek Chouaki added 4 commits December 17, 2023 20:53
Two features:
- It is now possible to specify which items are exported by one of transit line id, transit route id or mode.
- The line name is now included in the exported shapefile
@tkchouaki tkchouaki requested a review from sebhoerl December 17, 2023 21:30
@sebhoerl
Copy link
Collaborator

LGMT

@tkchouaki tkchouaki merged commit e23f643 into develop Dec 19, 2023
1 check passed
@tkchouaki tkchouaki deleted the tools branch December 19, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants