gpx icon indicating copy to clipboard operation
gpx copied to clipboard

Decorate GeoJSON -> GPX conversion with procs

Open niborg opened this issue 1 year ago • 0 comments

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 avatar May 21 '23 03:05 niborg