metaodi / osmapi

Python wrapper for the OpenStreetMap API
http://osmapi.metaodi.ch/
GNU General Public License v3.0
211 stars 41 forks source link

Enables adding multiple elements for ChangesetUpload #155

Closed susrisha closed 5 months ago

susrisha commented 9 months ago

Current implementation of ChangesetUpload does not allow inclusion of multiple elements (nodes/ways/relations). This fix enables the usage of ChangesetUpload to have multiple element uploads at the same time.

Note: The method signature will change along with this where the data in changesetdata will be an array instead of a single object. The classes are modified and tested appropriately.

metaodi commented 5 months ago

This looks like a good start, I'll merge this and will make sure that the API methods can actually benefit from this change.