-
Notifications
You must be signed in to change notification settings - Fork 80
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
Refactor converting ODK XML to OSM XML #259
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
6dace61
fix: Set self.file to None so we don't get duplicate footers
rsavoye 969d7ea
fix: Add leisure fields, ignore cellular
rsavoye 8625197
fix: Add function to parse select_multiple
rsavoye 904445c
fix: Use new convertMultiple() to support select_multiple in XForms
rsavoye edea8ba
fix: Refactor test case for select_multiple, now it actually works
rsavoye 77ac3d9
fix: Minor reformatting and updating of code comment blocks, also add…
rsavoye d8b004c
fix: Update and reformat all code comment blocks
rsavoye 2adbfa9
fix: Move pareseXLS to the Convert class so it can be shared
rsavoye ca88b6b
fix: Move createEntry() to Convert class so it can be shared
rsavoye 864feed
fix: refactor converting a JSON file from Central to OSM XML and add …
rsavoye 9ec1ec6
fix: Move code for writing to output files to it's own class
rsavoye 6eda12a
fix: Correctly parse an instanxe file from ODK Collect, and make a dict
rsavoye 98a3430
fix: Major refactoring, it now works like the other conversion classes
rsavoye 9bf510a
fix: Parse the XLS file so conversion is better
rsavoye 3499231
fix: Convert ODK XML to OSM XML
rsavoye eda2ada
fix: move basename from covert and make a standalone function
rsavoye 1763ce5
fix: Move all file output and other code to a shareable class
rsavoye 18f4601
fix: Move all file output and other code to a shareable class
rsavoye 86cd1ce
fix: Now that more code is shareable, merge all parsers programs into…
rsavoye 7be8ce3
fix: Start moving all parsers to this file
rsavoye 29bde7c
fix: Drop now unused command line utilities
rsavoye 653b43f
fix: Add a comment about the files about to be deleted sincee they've…
rsavoye 97dc7fe
fix: Improve basemap() to split on : as well as -
rsavoye 1bacb97
fix: Add XMLParser, derived from ODKInstance
rsavoye b253a9d
fix: be less verbose
rsavoye 3647f12
fix: Use new XMLParser() instead of ODKInstance
rsavoye 3f7b94d
fix: Use new Parsers() class instead of the old files
rsavoye acef7b5
fix: Cleanup conflicts caused by minor reformatting of the comment bl…
rsavoye 9953555
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cb0fe7a
fix: Fix tests to work with new ODKParsers() class
rsavoye 0e42198
fix: Make sure value also isn't NULL
rsavoye 5e93da4
Merge branch 'multi' of github.com:hotosm/osm-fieldwork into multi
rsavoye File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably nodel --> model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ODKInstance.py is about to be deleted, as now parsers.py is used instead. Also now the tags to ignore are in the xforms.yaml file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, json2osm.py is about to be deleted, now odk2osm.py handles all 3 formats from ODK.