hotosm / osm-fieldwork

Processing field data from ODK to OpenStreetMap format, and other field data collection utils.
GNU Affero General Public License v3.0
16 stars 77 forks source link

Refactor converting ODK XML to OSM XML #259

Closed rsavoye closed 3 months ago

rsavoye commented 4 months ago

The code for converting the raw ODK XML instance files to OSM has not kept up with other improvements in the conversion process. This brings odk2osm.py in sync with the other conversion utilities, while also adding support for select_multiple.

spwoodcock commented 3 months ago

Conflicts must be resolved before merge 👍

rsavoye commented 3 months ago

Major refactoring. The format parsers for CSV, JSON, or XML are now in a single class, so next several files can be deleted. This reduces code duplication, and improves maintenance. Now the odk2osm.py script takes any of the 3 support formats instead of separate scripts.