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

Decorate GeoJSON -> GPX conversion with procs #53

Merged
merged 3 commits into from
Jul 27, 2024

Conversation

niborg
Copy link
Collaborator

@niborg niborg commented May 21, 2023

GeoJSON often has ad hoc data stored in a "properties" object within each feature. Some of this data can be useful when transferred to a GPX file. Since there is no universal way to transfer the data, this commit allows a developer to specify an object that responds to "call" (e.g., lambdas or procs) to decorate a GPX feature during the conversion. The following are available:

line_string_feature_to_segment
multi_line_string_feature_to_track
point_feature_to_waypoint
multi_point_feature_to_waypoint

niborg and others added 2 commits May 20, 2023 20:42
GeoJSON often has ad hoc data stored in a "properties" object within each feature. Some of this data can be useful when transferred to a GPX file. Since there is no universal way to transfer the data, this commit allows a developer to specify an object that responds to "call" (e.g., lambdas or procs) to decorate a GPX feature during the conversion. The following are available:

- line_string_feature_to_segment
- multi_line_string_feature_to_track
- point_feature_to_waypoint
- multi_point_feature_to_waypoint
@niborg niborg merged commit 154cea5 into master Jul 27, 2024
@niborg niborg deleted the nk-procs_to_decorate_gpx branch July 27, 2024 03:40
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.

1 participant