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

fix: Add fixtures, block invalid GPX inputs #80

Merged
merged 1 commit into from
Apr 24, 2022
Merged

fix: Add fixtures, block invalid GPX inputs #80

merged 1 commit into from
Apr 24, 2022

Conversation

tmcw
Copy link
Collaborator

@tmcw tmcw commented Apr 24, 2022

Part of the intent of toGeoJSON is to handle a wide range of inputs, including invalid inputs. It shouldn't crash and shouldn't produce bad GeoJSON.

This PR adds fixtures with example bad inputs to make sure that the conversion doesn't translate them into bad outputs.

@tmcw tmcw mentioned this pull request Apr 24, 2022
@tmcw tmcw merged commit d57cd80 into main Apr 24, 2022
@tmcw tmcw deleted the add-bad-fixtures branch April 24, 2022 14:39
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.

None yet

1 participant